/* Essentials only: logo, rounding, status icons, Avenir */

:root {
  --sc-radius: 12px;
  --sc-radius-sm: 8px;
}

body {
  font-family: Avenir, "Avenir Next", "Avenir Next LT Pro", "Avenir LT Std",
    Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* 1. Logo: smaller, centred */
#header {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

#header h1 {
  margin: 0 !important;
  text-align: center !important;
}

#header .MainTitle img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

/* 2. Rounded corners on main shells (header stays square) */
#content-header {
  border-radius: 0 !important;
  margin-bottom: 4rem !important;
}

.Box {
  border-radius: var(--sc-radius) !important;
  overflow: hidden;
}

.table-responsive {
  border-radius: var(--sc-radius-sm) !important;
  overflow: hidden !important;
}

#MainData {
  border-radius: var(--sc-radius-sm) !important;
  overflow: hidden !important;
}

.panel {
  border-radius: var(--sc-radius) !important;
  overflow: hidden !important;
}

.panel-heading {
  border-radius: var(--sc-radius) var(--sc-radius) 0 0 !important;
}

.PassBox {
  border-radius: var(--sc-radius-sm) !important;
}

/* Box section headings (Password, Announcements, Uptime History, etc.) */
.Title h1 {
  background-color: #006873 !important;
  color: #ffffff !important;
}

.Title h1 .fa {
  color: #ffffff !important;
}

/* 3. Status arrows: simple circular badges (Font Awesome icons kept) */
.statusicon.fa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.75rem !important;
  height: 1.75rem !important;
  border-radius: 50% !important;
  font-size: 2.5rem !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  margin: 1rem !important;
}

.statusicon.up {
  background: rgba(74, 203, 133, 0.2) !important;
  color: #34c770 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.statusicon.down {
  background: rgba(232, 120, 112, 0.2) !important;
  color: #e87068 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
