/* ==========================================================================
   NebulaHost dashboard theme — flat, high-contrast dark
   No glows. No gradient fills. No floating pills. Solid surfaces, hairline
   borders, crisp type, one accent used sparingly.
   ========================================================================== */
:root {
  --nh-accent: #a855f7;
  --nh-accent-hover: #9333ea;
  --nh-bg: #0b0b10;
  --nh-panel: #0d0d13;
  --nh-surface: #141419;
  --nh-surface-2: #1a1a21;
  --nh-line: #26262f;
  --nh-line-soft: #1d1d24;
  --nh-ink: #ececf1;
  --nh-muted: #8b8b98;
  --nh-green: #4ade80;
  --nh-amber: #fbbf24;
  --nh-red: #f87171;
  color-scheme: dark;
}

/* ---- base ---------------------------------------------------------- */
html, body {
  background: var(--nh-bg) !important;
  color: var(--nh-ink) !important;
  font-family: "IBM Plex Sans", "Poppins", system-ui, -apple-system, sans-serif !important;
}
.main-panel { background: var(--nh-bg) !important; }
.content-wrapper { background: var(--nh-bg) !important; }
.container-scroller, .page-body-wrapper,
.full-page-wrapper, .container-fluid.page-body-wrapper {
  background: var(--nh-bg) !important;
}

/* ---- typography ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "IBM Plex Sans", "Poppins", system-ui, sans-serif !important;
  color: var(--nh-ink) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
}
.content-wrapper h2 {
  font-size: clamp(26px, 2.4vw, 34px) !important;
  letter-spacing: -0.03em;
}
.card-title { font-weight: 700 !important; }
.card-title, .card-subtitle { color: var(--nh-ink) !important; }
.text-gray, .text-muted { color: var(--nh-muted) !important; }
.card-description, .card-text { color: var(--nh-muted) !important; }

/* ---- sidebar ------------------------------------------------------- */
.sidebar {
  background: var(--nh-panel) !important;
  border-right: 1px solid var(--nh-line-soft) !important;
}
.sidebar .sidebar-brand-wrapper {
  background: var(--nh-panel) !important;
  border-bottom: 1px solid var(--nh-line-soft) !important;
}
.sidebar .sidebar-brand-wrapper .sidebar-brand,
.sidebar-brand {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.sidebar .nav .nav-item .nav-link {
  color: var(--nh-muted) !important;
  border-radius: 8px;
  margin: 1px 10px;
  transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}
.sidebar .nav .nav-item .nav-link .menu-title { color: inherit !important; }
.sidebar .nav .nav-item .nav-link:hover {
  color: var(--nh-ink) !important;
  background: var(--nh-surface-2) !important;
}
.sidebar .nav .nav-item.active > .nav-link {
  color: #ffffff !important;
  background: var(--nh-surface-2) !important;
  box-shadow: inset 2px 0 0 0 var(--nh-accent) !important;
}
.sidebar .nav .nav-item.active > .nav-link .menu-title { font-weight: 600; }
.sidebar .nav .nav-item.nav-category .nav-link,
.sidebar .nav .nav-item.nav-category .nav-link h4 {
  color: #62626f !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- topnav -------------------------------------------------------- */
.navbar {
  background: var(--nh-panel) !important;
  border-bottom: 1px solid var(--nh-line-soft) !important;
}
.navbar .navbar-brand-wrapper { background: transparent !important; }
.navbar .navbar-menu-wrapper { box-shadow: none !important; -webkit-box-shadow: none !important; }
.navbar .navbar-brand, .navbar .navbar-brand.brand-logo-mini { color: #ffffff !important; font-weight: 700; }
.navbar .navbar-toggler, .navbar .navbar-toggler .mdi { color: var(--nh-ink) !important; }
.navbar .navbar-nav .nav-link { color: var(--nh-muted) !important; }
.navbar-profile-name { color: var(--nh-ink) !important; font-weight: 600; }
.navbar .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown {
  background: var(--nh-surface) !important;
  border: 1px solid var(--nh-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}
.dropdown-menu {
  background: var(--nh-surface) !important;
  border: 1px solid var(--nh-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
}
.dropdown-item { color: var(--nh-ink) !important; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--nh-surface-2) !important; color: #ffffff !important; }
.dropdown-divider { border-color: var(--nh-line) !important; }
.preview-subject { color: var(--nh-ink) !important; }
.preview-content, .preview-subject small { color: var(--nh-muted) !important; }

/* ---- cards --------------------------------------------------------- */
.card {
  background: var(--nh-surface) !important;
  border: 1px solid var(--nh-line-soft) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.card-header, .card-footer {
  background: transparent !important;
  border-color: var(--nh-line-soft) !important;
  color: var(--nh-ink) !important;
}

/* ---- resource / stat cards ---------------------------------------- */
.hm-res {
  background: var(--nh-surface) !important;
  border: 1px solid var(--nh-line-soft) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.hm-res-label { color: var(--nh-muted) !important; }
.hm-res-val { color: var(--nh-ink) !important; font-size: 24px !important; letter-spacing: -0.02em; }
.hm-res-val small { color: var(--nh-muted) !important; }
.hm-bar { background: var(--nh-line) !important; }
.hm-bar > span { background: var(--nh-accent) !important; }

.hm-stat2 {
  background: var(--nh-surface) !important;
  border: 1px solid var(--nh-line-soft) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.hm-stat2-val { color: var(--nh-ink) !important; }
.hm-stat2-label { color: var(--nh-muted) !important; }

/* ---- buttons ------------------------------------------------------- */
.btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.btn-primary {
  background: var(--nh-accent) !important;
  border-color: var(--nh-accent) !important;
  color: #ffffff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: var(--nh-accent-hover) !important;
  border-color: var(--nh-accent-hover) !important;
  color: #ffffff !important;
}
.btn:not(.btn-primary):not(.btn-success):not(.btn-danger):not(.btn-warning):not(.btn-info):not(.btn-dark):not(.btn-secondary):not(.btn-link) {
  color: var(--nh-ink) !important;
  border-color: var(--nh-line) !important;
}
.btn-outline-primary {
  color: var(--nh-ink) !important;
  border: 1px solid var(--nh-line) !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  background: var(--nh-surface-2) !important;
  border-color: var(--nh-line) !important;
  color: #ffffff !important;
}
.btn-outline-danger {
  color: var(--nh-red) !important;
  border-color: rgba(248, 113, 113, 0.4) !important;
  background: transparent !important;
}
.btn-outline-danger:hover { background: rgba(248, 113, 113, 0.12) !important; color: var(--nh-red) !important; }

/* ---- forms --------------------------------------------------------- */
.form-control, .asColorPicker-input, select, textarea,
input[type=text], input[type=password], input[type=email], input[type=number] {
  background-color: var(--nh-bg) !important;
  border: 1px solid var(--nh-line) !important;
  border-radius: 8px !important;
  color: var(--nh-ink) !important;
  box-shadow: none !important;
}
.form-control::placeholder, input::placeholder, textarea::placeholder { color: var(--nh-muted) !important; }
.form-control:focus, select:focus, textarea:focus, input:focus {
  border-color: var(--nh-accent) !important;
  box-shadow: none !important;
  background-color: var(--nh-bg) !important;
  color: var(--nh-ink) !important;
}
.form-group label, label { color: var(--nh-muted) !important; }
.input-group-text {
  background-color: var(--nh-surface-2) !important;
  border-color: var(--nh-line) !important;
  color: var(--nh-ink) !important;
  border-radius: 8px !important;
}

/* ---- tables -------------------------------------------------------- */
.table { color: var(--nh-ink) !important; }
.table th, .table td { border-color: var(--nh-line-soft) !important; color: var(--nh-ink) !important; }
.table thead th { color: var(--nh-muted) !important; border-color: var(--nh-line-soft) !important; }
.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(255, 255, 255, 0.02) !important; }
.table-hover tbody tr:hover { background-color: var(--nh-surface-2) !important; color: var(--nh-ink) !important; }

/* ---- nav tabs ------------------------------------------------------ */
.nav-tabs { border-bottom-color: var(--nh-line) !important; }
.nav-tabs .nav-link { color: var(--nh-muted) !important; }
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: #ffffff !important;
  background: transparent !important;
  border-color: transparent transparent var(--nh-accent) !important;
  font-weight: 600;
}

/* ---- list groups, modals, alerts ---------------------------------- */
.list-group-item {
  background: var(--nh-surface) !important;
  border-color: var(--nh-line-soft) !important;
  color: var(--nh-ink) !important;
}
.modal-content {
  background: var(--nh-surface) !important;
  border: 1px solid var(--nh-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6) !important;
  color: var(--nh-ink) !important;
}
.swal2-modal, .swal2-popup { background: var(--nh-surface) !important; color: var(--nh-ink) !important; border-radius: 12px !important; }
.swal2-title, .swal2-content { color: var(--nh-ink) !important; }
.close, .btn-close { color: var(--nh-ink) !important; }

/* ---- progress + badges --------------------------------------------- */
.progress { background: var(--nh-line) !important; }
.progress-bar { background: var(--nh-accent) !important; }
.badge-primary { background: var(--nh-accent) !important; }

/* ---- footer + links ------------------------------------------------ */
.footer {
  background: transparent !important;
  border-top: 1px solid var(--nh-line-soft) !important;
  color: var(--nh-muted) !important;
}
a { color: var(--nh-accent); }
a:hover { color: var(--nh-accent-hover); }
code { color: var(--nh-ink) !important; background: var(--nh-surface-2) !important; }

/* ==========================================================================
   Dashboard hero banner
   ========================================================================== */
.nh-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  padding: 28px 32px;
  margin-bottom: 20px;
  border: 1px solid var(--nh-line-soft);
  border-radius: 14px;
}
.nh-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/assets/img/dash-banner.jpg") center 32% / cover no-repeat;
  filter: brightness(0.55);
}
.nh-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(11, 11, 16, 0.55);
}
.nh-hero-inner { position: relative; z-index: 2; max-width: 720px; }
.nh-hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--nh-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nh-hero-title {
  margin: 0 0 8px;
  color: #ffffff !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.nh-hero-sub { margin: 0; color: #b9b9c6; font-size: 15.5px; line-height: 1.5; }

/* deploy CTA card — flat */
.card:has(.nh-cta) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.card:has(.nh-cta) .card-body { padding: 0 !important; }
.nh-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid var(--nh-line-soft);
  border-radius: 12px;
  background: var(--nh-surface);
}
.nh-cta-title { margin: 0 0 6px; font-size: 20px !important; color: var(--nh-ink) !important; }
.nh-cta-sub { margin: 0; color: var(--nh-muted); font-size: 14.5px; max-width: 520px; }
.nh-cta-btn { flex: 0 0 auto; }

@media (max-width: 991px) {
  .nh-hero { min-height: 170px; padding: 22px 20px; }
}
@media (max-width: 640px) {
  .nh-cta { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   hostmint UI kit (hm-*) — flat dark
   ========================================================================== */
.hm-stat, .hm-rows, .hm-res, .hm-stat2, .hm-action, .hm-post,
.hm-ticket-item, .hm-icon-btn, .hm-msg-bubble, .hm-seg button {
  background: var(--nh-surface) !important;
  border-color: var(--nh-line-soft) !important;
}
.hm-stat, .hm-rows, .hm-post, .hm-ticket-item, .hm-msg-bubble { box-shadow: none !important; }
.hm-stat-val, .hm-stat2-val, .hm-row-name, .hm-post-title, .hm-res-val,
.hm-action-title, .hm-ticket-subject, .hm-msg-author, .hm-info-val,
.hm-banner-title, .hm-post strong {
  color: var(--nh-ink) !important;
}
.hm-stat-label, .hm-stat2-label, .hm-row-detail, .hm-row-ms, .hm-status-foot,
.hm-post-meta, .hm-hint, .hm-res-label, .hm-res-sub, .hm-res-val small,
.hm-info-key, .hm-ticket-preview, .hm-msg-body, .hm-check, .hm-action-sub,
.hm-rows-head, .hm-section-title, .hm-empty, .hm-icon-btn, .hm-post-body {
  color: var(--nh-muted) !important;
}
.hm-row, .hm-info-row { border-color: var(--nh-line-soft) !important; }
.hm-bar { background: var(--nh-line) !important; }
.hm-bar > span { background: var(--nh-accent) !important; }
.hm-avatar { border-color: var(--nh-surface) !important; box-shadow: 0 0 0 1px var(--nh-line-soft) !important; }

/* chips */
.hm-chip { background: var(--nh-surface-2) !important; color: var(--nh-ink) !important; }
.hm-chip.green { background: rgba(74, 222, 128, 0.14) !important; color: var(--nh-green) !important; }
.hm-chip.amber { background: rgba(251, 191, 36, 0.14) !important; color: var(--nh-amber) !important; }
.hm-chip.violet { background: var(--nh-surface-2) !important; color: var(--nh-ink) !important; }
.hm-chip.red { background: rgba(248, 113, 113, 0.14) !important; color: var(--nh-red) !important; }
.hm-chip.slate { background: var(--nh-surface-2) !important; color: var(--nh-muted) !important; }
.hm-post-icon, .hm-action-icon, .hm-stat2-icon { background: var(--nh-surface-2) !important; color: var(--nh-muted) !important; }
.hm-post.update, .hm-post { border-left-color: var(--nh-accent) !important; }
.hm-post.news { border-left-color: var(--nh-green) !important; }
.hm-post.maintenance { border-left-color: var(--nh-amber) !important; }
.hm-post.important { border-left-color: var(--nh-red) !important; }

/* segmented control */
.hm-seg button { background: transparent !important; color: var(--nh-muted) !important; border-color: var(--nh-line) !important; }
.hm-seg button:hover { background: var(--nh-surface-2) !important; }
.hm-seg button.active { background: var(--nh-surface-2) !important; border-color: var(--nh-line) !important; color: #ffffff !important; }

/* icon buttons */
.hm-icon-btn:hover { background: var(--nh-surface-2) !important; color: var(--nh-ink) !important; border-color: var(--nh-line) !important; }
.hm-icon-btn.pinned { background: var(--nh-surface-2) !important; color: var(--nh-ink) !important; border-color: var(--nh-line) !important; }

/* pills */
.hm-pill.open { background: var(--nh-surface-2) !important; color: var(--nh-ink) !important; }
.hm-pill.closed, .hm-pill.normal { background: var(--nh-surface-2) !important; color: var(--nh-muted) !important; }
.hm-pill.high { background: rgba(248, 113, 113, 0.14) !important; color: var(--nh-red) !important; }
.hm-pill.low { background: rgba(74, 222, 128, 0.14) !important; color: var(--nh-green) !important; }
.hm-pill.admin { background: var(--nh-accent) !important; color: #ffffff !important; }

/* alerts / flashes / banners — flat, border only */
.hm-alert, .hm-flash { box-shadow: none !important; }
.hm-alert.info { background: rgba(168, 85, 247, 0.10) !important; border-color: rgba(168, 85, 247, 0.35) !important; color: var(--nh-ink) !important; }
.hm-alert.ok, .hm-flash.ok { background: rgba(74, 222, 128, 0.10) !important; border-color: rgba(74, 222, 128, 0.35) !important; color: var(--nh-ink) !important; }
.hm-alert.err, .hm-flash.err { background: rgba(248, 113, 113, 0.10) !important; border-color: rgba(248, 113, 113, 0.35) !important; color: var(--nh-ink) !important; }
.hm-alert.warn { background: rgba(251, 191, 36, 0.10) !important; border-color: rgba(251, 191, 36, 0.35) !important; color: var(--nh-ink) !important; }
.hm-banner.operational { background: rgba(74, 222, 128, 0.10) !important; border-color: rgba(74, 222, 128, 0.35) !important; color: var(--nh-ink) !important; }
.hm-banner.degraded { background: rgba(251, 191, 36, 0.10) !important; border-color: rgba(251, 191, 36, 0.35) !important; color: var(--nh-ink) !important; }
.hm-banner.outage { background: rgba(248, 113, 113, 0.10) !important; border-color: rgba(248, 113, 113, 0.35) !important; color: var(--nh-ink) !important; }
.hm-banner.loading { background: var(--nh-surface) !important; border-color: var(--nh-line) !important; color: var(--nh-muted) !important; }

/* announcement tags / admin msg */
.hm-post-pin { color: var(--nh-accent-soft, #d8b4fe) !important; }
.hm-post.update .hm-post-tag { background: var(--nh-surface-2) !important; color: var(--nh-ink) !important; }
.hm-post.news .hm-post-tag { background: rgba(74, 222, 128, 0.14) !important; color: var(--nh-green) !important; }
.hm-post.maintenance .hm-post-tag { background: rgba(251, 191, 36, 0.14) !important; color: var(--nh-amber) !important; }
.hm-post.important .hm-post-tag { background: rgba(248, 113, 113, 0.14) !important; color: var(--nh-red) !important; }
.hm-msg.admin .hm-msg-bubble { background: var(--nh-surface-2) !important; border-color: var(--nh-line) !important; }
.hm-post-body, .hm-msg-body { color: var(--nh-muted) !important; }
.hm-filter.active { background: var(--nh-surface-2) !important; color: #ffffff !important; border-color: var(--nh-line) !important; }

/* ==========================================================================
   Dashboard content blocks — quick actions + server list (flat)
   ========================================================================== */
.nh-section { margin-top: 26px; }
.nh-section-title {
  margin: 0 0 12px;
  color: var(--nh-ink) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}
.nh-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.nh-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--nh-surface);
  border: 1px solid var(--nh-line-soft);
  border-radius: 12px;
  text-decoration: none;
  color: var(--nh-ink) !important;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.nh-action:hover { background: var(--nh-surface-2); border-color: var(--nh-line); text-decoration: none; }
.nh-action > i { font-size: 22px; color: var(--nh-muted); flex: 0 0 auto; }
.nh-action:hover > i { color: var(--nh-accent); }
.nh-action > div { display: flex; flex-direction: column; min-width: 0; }
.nh-action-title { font-weight: 600; font-size: 14.5px; color: var(--nh-ink); }
.nh-action-sub { font-size: 12.5px; color: var(--nh-muted); }

.nh-list {
  background: var(--nh-surface);
  border: 1px solid var(--nh-line-soft);
  border-radius: 12px;
  overflow: hidden;
}
.nh-list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  text-decoration: none;
  color: var(--nh-ink) !important;
  border-top: 1px solid var(--nh-line-soft);
}
.nh-list-row:first-child { border-top: 0; }
.nh-list-row:hover { background: var(--nh-surface-2); text-decoration: none; }
.nh-list-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--nh-surface-2);
  color: var(--nh-muted);
}
.nh-list-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nh-list-name { font-weight: 600; font-size: 14.5px; color: var(--nh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-list-meta { font-size: 12.5px; color: var(--nh-muted); }
.nh-list-arrow { color: var(--nh-muted); }
.nh-empty {
  padding: 22px;
  background: var(--nh-surface);
  border: 1px solid var(--nh-line-soft);
  border-radius: 12px;
  color: var(--nh-muted);
  font-size: 14px;
}

@media (max-width: 767px) {
  .nh-actions { grid-template-columns: 1fr; }
}

/* server-name headings should follow the ink colour, not link colour */
.hm-title-row h4 { color: var(--nh-ink) !important; }

/* ==========================================================================
   Notification bell
   ========================================================================== */
.nh-bell-wrap { position: relative; }
.nh-bell { position: relative; display: inline-flex; align-items: center; }
.nh-bell .mdi { font-size: 20px; }
.nh-bell-badge {
  position: absolute;
  top: 6px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--nh-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.nh-bell-menu {
  width: 340px;
  max-width: 90vw;
  padding: 0 !important;
  overflow: hidden;
}
.nh-bell-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--nh-line-soft);
  color: var(--nh-ink);
  font-weight: 700;
  font-size: 14px;
}
.nh-bell-list { max-height: 360px; overflow-y: auto; }
.nh-bell-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--nh-line-soft);
  text-decoration: none;
  color: var(--nh-ink) !important;
}
.nh-bell-item:last-child { border-bottom: 0; }
.nh-bell-item:hover { background: var(--nh-surface-2); text-decoration: none; }
.nh-bell-item.nh-unread { background: rgba(168, 85, 247, 0.08); }
.nh-bell-item.nh-unread .nh-bell-title::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--nh-accent);
  vertical-align: middle;
}
.nh-bell-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--nh-surface-2);
  color: var(--nh-muted);
  font-size: 18px;
}
.nh-bell-ico.ann { color: var(--nh-accent); }
.nh-bell-ico.support { color: var(--nh-green); }
.nh-bell-body { display: flex; flex-direction: column; min-width: 0; }
.nh-bell-title { font-size: 13.5px; font-weight: 600; color: var(--nh-ink); }
.nh-bell-meta { font-size: 12px; color: var(--nh-muted); }
.nh-bell-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 30px 16px;
  color: var(--nh-muted);
  font-size: 13.5px;
  text-align: center;
}
.nh-bell-empty .mdi { font-size: 26px; }

/* ==========================================================================
   Get-started checklist
   ========================================================================== */
.nh-checklist {
  margin-top: 22px;
  padding: 22px 24px;
  background: var(--nh-surface);
  border: 1px solid var(--nh-line-soft);
  border-radius: 14px;
}
.nh-checklist-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.nh-checklist-sub { margin: 4px 0 0; color: var(--nh-muted); font-size: 13.5px; }
.nh-checklist-dismiss {
  flex: 0 0 auto;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--nh-line);
  border-radius: 8px;
  color: var(--nh-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.nh-checklist-dismiss:hover { color: var(--nh-ink); border-color: var(--nh-muted); }
.nh-progress { height: 4px; margin: 16px 0 18px; border-radius: 999px; background: var(--nh-line); overflow: hidden; }
.nh-progress > span { display: block; height: 100%; width: 0; background: var(--nh-accent); transition: width 0.3s ease; }
.nh-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nh-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--nh-line-soft);
  border-radius: 12px;
  text-decoration: none;
  color: var(--nh-ink) !important;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.nh-step:hover { background: var(--nh-surface-2); text-decoration: none; }
.nh-step-check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--nh-surface-2);
  color: var(--nh-muted);
  font-size: 18px;
}
.nh-step-text { display: flex; flex-direction: column; min-width: 0; }
.nh-step-text strong { font-size: 14px; font-weight: 600; color: var(--nh-ink); }
.nh-step-text small { font-size: 12.5px; color: var(--nh-muted); }
.nh-step.done { border-color: rgba(74, 222, 128, 0.35); }
.nh-step.done .nh-step-check { background: rgba(74, 222, 128, 0.14); color: var(--nh-green); }
.nh-step.done .nh-step-text strong { text-decoration: line-through; color: var(--nh-muted); }

/* ==========================================================================
   Servers toolbar
   ========================================================================== */
.nh-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 18px;
}
.nh-search {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 42px;
  background: var(--nh-surface);
  border: 1px solid var(--nh-line);
  border-radius: 10px;
  color: var(--nh-muted);
}
.nh-search input {
  flex: 1;
  height: 100%;
  background: transparent !important;
  border: 0 !important;
  outline: none;
  color: var(--nh-ink) !important;
  font-size: 14px;
}
.nh-search input::placeholder { color: var(--nh-muted); }
.nh-select {
  height: 42px;
  min-width: 150px;
  padding: 0 12px;
  background: var(--nh-surface) !important;
  border: 1px solid var(--nh-line) !important;
  border-radius: 10px !important;
  color: var(--nh-ink) !important;
  font-size: 13.5px;
}

/* ==========================================================================
   Create-page presets
   ========================================================================== */
.nh-presets { margin: 4px 0 22px; }
.nh-presets-label {
  display: block;
  margin-bottom: 10px;
  color: var(--nh-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nh-presets-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nh-preset {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-align: left;
  background: var(--nh-surface);
  border: 1px solid var(--nh-line-soft);
  border-radius: 11px;
  color: var(--nh-ink);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.nh-preset:hover { background: var(--nh-surface-2); border-color: var(--nh-line); }
.nh-preset.active { border-color: var(--nh-accent); background: rgba(168, 85, 247, 0.10); }
.nh-preset > .mdi { font-size: 20px; color: var(--nh-muted); flex: 0 0 auto; }
.nh-preset.active > .mdi { color: var(--nh-accent); }
.nh-preset > span { display: flex; flex-direction: column; min-width: 0; }
.nh-preset strong { font-size: 13.5px; font-weight: 600; color: var(--nh-ink); }
.nh-preset small { font-size: 12px; color: var(--nh-muted); }

/* ==========================================================================
   Status uptime bars
   ========================================================================== */
.nh-uptime { display: flex; gap: 2px; margin-top: 8px; }
.nh-ubar {
  display: block;
  width: 5px;
  height: 16px;
  border-radius: 2px;
  background: var(--nh-line);
}
.nh-ubar.operational { background: var(--nh-green); }
.nh-ubar.degraded { background: var(--nh-amber); }
.nh-ubar.outage { background: var(--nh-red); }
.nh-ubar.maintenance { background: var(--nh-accent); }

/* ==========================================================================
   Account activity
   ========================================================================== */
.nh-activity {
  background: var(--nh-surface);
  border: 1px solid var(--nh-line-soft);
  border-radius: 12px;
  overflow: hidden;
}
.nh-activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-top: 1px solid var(--nh-line-soft);
}
.nh-activity-row:first-child { border-top: 0; }
.nh-activity-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--nh-surface-2);
  color: var(--nh-muted);
  font-size: 18px;
}
.nh-activity-body { display: flex; flex-direction: column; min-width: 0; }
.nh-activity-text { font-size: 13.5px; color: var(--nh-ink); }
.nh-activity-date { font-size: 12px; color: var(--nh-muted); }

/* ==========================================================================
   Nova 1 chat
   ========================================================================== */
.nh-nova-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 34px;
  margin-bottom: 22px;
  border: 1px solid var(--nh-line-soft);
  border-radius: 16px;
  background: url("/assets/img/dash-banner.jpg") center 30% / cover no-repeat;
}
.nh-nova-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 11, 16, 0.94) 0%, rgba(11, 11, 16, 0.58) 55%, rgba(11, 11, 16, 0.82) 100%);
}
.nh-nova-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.nh-nova-card {
  background: var(--nh-surface);
  border: 1px solid var(--nh-line-soft);
  border-radius: 16px;
  overflow: hidden;
}
.nh-nova-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--nh-line-soft);
  color: var(--nh-muted);
  font-size: 13px;
}
.nh-nova-status .nh-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--nh-muted);
}
.nh-nova-status.online .nh-dot { background: var(--nh-green); }
.nh-nova-status.offline .nh-dot { background: var(--nh-amber); }

.nh-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px;
  max-height: 460px;
  overflow-y: auto;
}
.nh-chat-msg { display: flex; gap: 12px; }
.nh-chat-msg.user { justify-content: flex-end; }
.nh-chat-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(168, 85, 247, 0.16);
  color: var(--nh-accent);
  font-size: 18px;
}
.nh-chat-bubble {
  max-width: 74%;
  padding: 11px 15px;
  border-radius: 12px;
  background: var(--nh-surface-2);
  color: var(--nh-ink);
  font-size: 14px;
  line-height: 1.5;
}
.nh-chat-msg.user .nh-chat-bubble { background: var(--nh-accent); color: #fff; }
.nh-chat-bubble p { margin: 0; }
.nh-chat-err { color: var(--nh-amber); }
.nh-chat-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 16px;
}
.nh-chip-btn {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--nh-line);
  border-radius: 999px;
  color: var(--nh-muted);
  font-size: 13px;
  cursor: pointer;
}
.nh-chip-btn:hover { color: var(--nh-ink); border-color: var(--nh-muted); }
.nh-chat-input {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--nh-line-soft);
}
.nh-chat-input textarea {
  flex: 1;
  resize: none;
  max-height: 160px;
  padding: 11px 14px;
  background: var(--nh-bg) !important;
  border: 1px solid var(--nh-line) !important;
  border-radius: 12px !important;
  color: var(--nh-ink) !important;
  font-size: 14px;
  line-height: 1.4;
}
.nh-chat-input .btn { flex: 0 0 auto; width: 44px; height: 44px; padding: 0; }
.nh-typing { display: inline-flex; gap: 4px; }
.nh-typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--nh-muted);
  animation: nh-typing 1.2s infinite ease-in-out;
}
.nh-typing i:nth-child(2) { animation-delay: 0.15s; }
.nh-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes nh-typing { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

@media (max-width: 767px) {
  .nh-steps, .nh-presets-row { grid-template-columns: 1fr; }
  .nh-chat-bubble { max-width: 86%; }
}

/* ==========================================================================
   Coins pill (top nav)
   ========================================================================== */
.nh-coins { display: inline-flex; align-items: center; gap: 7px; }
.nh-coins .mdi { font-size: 18px; color: var(--nh-amber); }
.nh-coins-val {
  min-width: 18px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--nh-surface-2);
  color: var(--nh-ink);
  font-size: 12.5px;
  font-weight: 700;
}

/* ==========================================================================
   AFK call-to-action (dashboard)
   ========================================================================== */
.nh-afk-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--nh-surface);
  border: 1px solid var(--nh-line-soft);
  border-radius: 14px;
  text-decoration: none;
  color: var(--nh-ink) !important;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.nh-afk-cta:hover { border-color: var(--nh-line); background: var(--nh-surface-2); text-decoration: none; }
.nh-afk-cta-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.14);
  color: var(--nh-amber);
  font-size: 22px;
}
.nh-afk-cta-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.nh-afk-cta-body strong { font-size: 15px; font-weight: 700; color: var(--nh-ink); }
.nh-afk-cta-body small { font-size: 13px; color: var(--nh-muted); }
.nh-afk-cta-bal {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 20px;
  font-weight: 700;
  color: var(--nh-ink);
}
.nh-afk-cta-bal small { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nh-muted); }

/* ==========================================================================
   AFK rewards page
   ========================================================================== */
.nh-hero-compact { min-height: 190px; }
.nh-afk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.nh-afk-side { display: flex; flex-direction: column; gap: 18px; }
.nh-afk-card {
  padding: 22px 24px;
  background: var(--nh-surface);
  border: 1px solid var(--nh-line-soft);
  border-radius: 16px;
}
.nh-afk-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--nh-surface-2);
  color: var(--nh-muted);
  font-size: 13px;
  font-weight: 600;
}
.nh-afk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nh-muted); }
.nh-afk-status.online { color: var(--nh-green); }
.nh-afk-status.online .nh-afk-dot { background: var(--nh-green); }
.nh-afk-status.paused { color: var(--nh-amber); }
.nh-afk-status.paused .nh-afk-dot { background: var(--nh-amber); }

.nh-afk-timer-wrap { margin: 26px 0 18px; text-align: center; }
.nh-afk-timer {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--nh-ink);
  font-variant-numeric: tabular-nums;
}
.nh-afk-timer-label {
  margin-top: 8px;
  color: var(--nh-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nh-afk-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--nh-line);
  overflow: hidden;
}
.nh-afk-progress > span { display: block; height: 100%; width: 0; background: var(--nh-amber); transition: width 0.4s ease; }
.nh-afk-next { margin-top: 10px; color: var(--nh-muted); font-size: 13px; text-align: center; }

.nh-afk-balance {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--nh-line-soft);
  border-radius: 12px;
}
.nh-afk-balance-ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(251, 191, 36, 0.14);
  color: var(--nh-amber);
  font-size: 22px;
}
.nh-afk-balance-body { display: flex; flex-direction: column; }
.nh-afk-balance-val { font-size: 26px; font-weight: 700; color: var(--nh-ink); line-height: 1; }
.nh-afk-balance-label { margin-top: 4px; font-size: 12px; color: var(--nh-muted); }

.nh-afk-flash {
  margin-top: 16px;
  padding: 11px 14px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.10);
  color: var(--nh-ink);
  font-size: 13.5px;
  font-weight: 600;
}

.nh-afk-heading { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--nh-ink); }
.nh-afk-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nh-afk-steps li { display: flex; gap: 12px; color: var(--nh-muted); font-size: 13.5px; line-height: 1.5; }
.nh-afk-steps li .mdi { flex: 0 0 auto; margin-top: 2px; font-size: 18px; color: var(--nh-accent); }
.nh-afk-steps strong { color: var(--nh-ink); font-weight: 600; }

/* Reserved ad space */
.nh-ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 150px;
  padding: 20px;
  border: 1px dashed var(--nh-line);
  border-radius: 16px;
  background: var(--nh-panel);
  text-align: center;
}
.nh-ad-slot-label {
  color: var(--nh-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nh-ad-slot-note { color: #5f5f6b; font-size: 12.5px; }

@media (max-width: 991px) {
  .nh-afk-grid { grid-template-columns: 1fr; }
  .nh-afk-timer { font-size: 48px; }
}
@media (max-width: 575px) {
  .nh-afk-cta { flex-wrap: wrap; }
  .nh-afk-cta-bal { align-items: flex-start; }
}
