
/* FatHead Hosting Control Center 2.7.0 UI Refresh Foundation
   Shell-only polish. This intentionally avoids changing business logic. */
:root {
  --fh27-glass: rgba(15, 23, 42, 0.66);
  --fh27-glass-strong: rgba(15, 23, 42, 0.86);
  --fh27-line: rgba(148, 163, 184, 0.20);
  --fh27-line-hot: rgba(249, 115, 22, 0.44);
  --fh27-orange: #f97316;
  --fh27-orange-soft: rgba(249, 115, 22, 0.16);
  --fh27-blue-soft: rgba(56, 189, 248, 0.13);
  --fh27-green-soft: rgba(34, 197, 94, 0.14);
}

.settings-main.admin-control-center,
.settings-main.client-test-area-shell {
  background:
    radial-gradient(circle at 10% 0%, rgba(249, 115, 22, 0.16), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(135deg, #050816 0%, #0b1120 46%, #0f172a 100%);
}

.settings-shell {
  grid-template-columns: 310px minmax(0, 1fr);
}

.settings-sidebar {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.92)),
    radial-gradient(circle at top, rgba(249, 115, 22, 0.14), transparent 32%);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.22);
}

.settings-back {
  border: 1px solid var(--fh27-line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,0.045);
  margin-bottom: 16px;
}

.settings-back span {
  letter-spacing: -0.02em;
}

.settings-home,
.settings-search,
.settings-nav-title,
.settings-nav-item {
  border-radius: 15px;
}

.settings-search {
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.settings-search input {
  border: none;
  background: transparent;
  color: #e5e7eb;
  outline: none;
}

.settings-nav-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(148,163,184,0.08);
}

.settings-nav-title.is-open {
  background: rgba(249,115,22,0.10);
  border-color: rgba(249,115,22,0.22);
}

.settings-nav-group {
  margin: 5px 0 8px;
}

.settings-nav-item {
  border-left-width: 0;
  border: 1px solid transparent;
  margin: 3px 0;
  padding: 11px 10px;
}

.settings-nav-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.055);
}

.settings-nav-copy strong,
.settings-nav-copy small {
  display: block;
}

.settings-nav-copy small {
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.2;
  margin-top: 2px;
}

.settings-nav-item:hover,
.settings-nav-item.active,
.settings-nav-item.selected {
  background: linear-gradient(135deg, rgba(249,115,22,0.16), rgba(255,255,255,0.055));
  border-color: rgba(249,115,22,0.28);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.settings-content {
  max-width: 1280px;
}

.fh27-command-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid var(--fh27-line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  box-shadow: 0 18px 50px rgba(0,0,0,0.20);
  margin-bottom: 18px;
}

.fh27-command-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fh27-command-title strong,
.fh27-command-title small {
  display: block;
}

.fh27-command-title strong {
  color: #f8fafc;
  line-height: 1.1;
}

.fh27-command-title small {
  color: #94a3b8;
  font-weight: 750;
}

.fh27-orb {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 25%, #ffd2a6, #f97316 45%, #7c2d12 100%);
  box-shadow: 0 0 0 6px rgba(249,115,22,0.10), 0 12px 30px rgba(249,115,22,0.22);
  flex: 0 0 auto;
}

.fh27-status-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.fh27-status-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  min-width: 96px;
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid var(--fh27-line);
  background: rgba(2,6,23,0.32);
}

.fh27-status-badge small {
  color: #94a3b8;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.fh27-status-badge strong {
  color: #f8fafc;
  font-size: 0.86rem;
  line-height: 1.15;
}

.fh27-status-badge.good {
  border-color: rgba(34,197,94,0.28);
  background: var(--fh27-green-soft);
}

.fh27-status-badge.muted {
  background: rgba(148,163,184,0.10);
}

.settings-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148,163,184,0.14);
  background: rgba(2,6,23,0.26);
  padding: 8px 11px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: #cbd5e1;
  font-weight: 800;
}

.settings-breadcrumb a,
.settings-breadcrumb button {
  color: #f8fafc;
}

.settings-breadcrumb button {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.settings-page-title {
  padding: 26px;
  border: 1px solid rgba(148,163,184,0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.028)),
    radial-gradient(circle at top right, rgba(249,115,22,0.12), transparent 32%);
  box-shadow: 0 24px 70px rgba(0,0,0,0.20);
}

.settings-page-title h1 {
  letter-spacing: -0.055em;
}

.settings-hero-panel,
.settings-card,
.settings-list,
.settings-action-list {
  border-radius: 24px;
  border-color: rgba(148,163,184,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.062), rgba(255,255,255,0.028));
  box-shadow: 0 18px 50px rgba(0,0,0,0.16);
}

.settings-display-card {
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.026));
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.settings-display-card.linked:hover,
a.settings-display-card:hover {
  transform: translateY(-2px);
  border-color: var(--fh27-line-hot);
  background: linear-gradient(180deg, rgba(249,115,22,0.13), rgba(255,255,255,0.038));
}

.settings-row,
.settings-action-row {
  border-bottom-color: rgba(148,163,184,0.12);
}

.settings-pill {
  border-radius: 999px;
}

.btn {
  box-shadow: 0 12px 26px rgba(0,0,0,0.13);
}

.btn-secondary {
  background: rgba(255,255,255,0.065);
  border-color: rgba(148,163,184,0.22);
}

@media (max-width: 1180px) {
  .fh27-command-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .fh27-status-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .settings-shell {
    grid-template-columns: 1fr;
  }
  .settings-sidebar {
    position: relative;
    height: auto;
  }
  .settings-page-title {
    padding: 20px;
  }
  .fh27-status-badge {
    min-width: calc(50% - 6px);
  }
}

@media (max-width: 600px) {
  .settings-content {
    padding: 20px 14px 44px;
  }
  .fh27-status-badge {
    min-width: 100%;
  }
}


/* FatHead Hosting 2.7.1 - Admin Dashboard UI Refresh / Command Center Cards */
.fh271-cockpit-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
  margin: 0 0 22px;
}

.fh271-cockpit-copy,
.fh271-pulse-card,
.fh271-command-card,
.fh271-quick-dock a {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.082), rgba(255,255,255,0.03));
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
}

.fh271-cockpit-copy {
  padding: 28px;
}

.fh271-kicker {
  display: inline-flex;
  color: #fb923c;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 950;
  margin-bottom: 9px;
}

.fh271-cockpit-copy h2 {
  color: #f8fafc;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin: 0 0 14px;
}

.fh271-cockpit-copy p {
  color: #cbd5e1;
  max-width: 780px;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}

.fh271-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.fh271-pulse-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.fh271-pulse-card::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  right: -42px;
  top: -42px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.18);
  box-shadow: 0 0 72px rgba(249, 115, 22, 0.18);
}

.fh271-pulse-card.good::before { background: rgba(34, 197, 94, 0.16); }
.fh271-pulse-card.watch::before { background: rgba(245, 158, 11, 0.18); }
.fh271-pulse-card.danger::before { background: rgba(239, 68, 68, 0.18); }

.fh271-pulse-card span,
.fh271-command-card span {
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.72rem;
  font-weight: 950;
}

.fh271-pulse-card strong {
  color: #f8fafc;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 8px 0 10px;
  position: relative;
}

.fh271-pulse-card small,
.fh271-command-card small,
.fh271-quick-dock span {
  color: #cbd5e1;
  font-weight: 780;
}

.fh271-command-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 26px;
}

.fh271-command-card {
  min-height: 154px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.fh271-command-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249,115,22,0.44);
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.19), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035));
}

.fh271-command-card.primary {
  border-color: rgba(249,115,22,0.34);
}

.fh271-command-card strong {
  display: block;
  color: #f8fafc;
  font-size: clamp(1.7rem, 2.8vw, 3.1rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
  margin: 18px 0 8px;
}

.fh271-compact-grid .settings-display-card {
  min-height: 92px;
}

.fh271-watch-list .settings-action-row {
  align-items: center;
  background: rgba(2,6,23,0.10);
}

.fh271-watch-list .settings-action-row:hover {
  background: rgba(249,115,22,0.055);
}

.fh271-quick-dock {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.fh271-quick-dock a {
  display: block;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  border-radius: 22px;
  transition: transform .16s ease, border-color .16s ease;
}

.fh271-quick-dock a:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,0.32);
}

.fh271-quick-dock strong {
  display: block;
  color: #f8fafc;
  font-size: 1.04rem;
  margin-bottom: 4px;
}

@media (max-width: 1260px) {
  .fh271-command-grid,
  .fh271-quick-dock {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .fh271-cockpit-hero {
    grid-template-columns: 1fr;
  }
  .fh271-command-grid,
  .fh271-quick-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .fh271-command-grid,
  .fh271-quick-dock {
    grid-template-columns: 1fr;
  }
  .fh271-cockpit-copy,
  .fh271-pulse-card {
    border-radius: 22px;
    padding: 20px;
  }
}

/* 2.7.3 Update Center / version identity helpers */
.fh-flow-list {
  margin: 12px 0 0;
  padding-left: 22px;
  color: #c7d4e6;
  line-height: 1.7;
}
.fh-table-wrap { overflow-x: auto; }
.fh-table {
  width: 100%;
  border-collapse: collapse;
  color: #eaf2ff;
}
.fh-table th,
.fh-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(127,160,195,.18);
  text-align: left;
  vertical-align: top;
}
.fh-table th {
  color: #9fb6d1;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
}
.fh-table small { color: #9fb1c6; }

/* 2.7.4 Canon Package Reader */
.fh-upload-form{display:grid;gap:12px;max-width:760px;margin-top:12px}.fh-field-label{font-weight:800;color:#fff}.fh-file-input{width:100%;padding:14px 16px;border-radius:16px;border:1px solid rgba(255,255,255,.16);background:rgba(4,12,28,.55);color:#eef4ff}.fh-status-badge.success{background:rgba(41,180,111,.18);border-color:rgba(41,180,111,.38);color:#bffbd7}.fh-status-badge.warning{background:rgba(255,168,47,.18);border-color:rgba(255,168,47,.38);color:#ffd28a}.fh-status-badge.danger{background:rgba(255,88,88,.18);border-color:rgba(255,88,88,.42);color:#ffb6b6}.fh-table small{color:#9fb0c6}.fh-table code{white-space:normal;word-break:break-all}
