@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ihc-primary: #3d6bff;
  --ihc-primary-dark: #2b54d6;
  --ihc-primary-soft: #eef2ff;
  --ihc-accent: #f5a623;
  --ihc-ink: #1b2430;
  --ihc-muted: #8b95a5;
  --ihc-line: #e8ecf2;
  --ihc-bg: #f3f5f9;
  --ihc-card: #ffffff;
  --ihc-success: #16a34a;
  --ihc-success-soft: #e8f8ee;
  --ihc-warning: #d97706;
  --ihc-warning-soft: #fff6e5;
  --ihc-danger: #dc2626;
  --ihc-danger-soft: #feecec;
  --ihc-purple: #7c3aed;
  --ihc-purple-soft: #f1e9ff;
  --ihc-orange: #ea7a2f;
  --ihc-orange-soft: #fff1e6;
  --ihc-teal: #0f8f8a;
  --ihc-teal-soft: #e6f7f6;
  --ihc-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.05);
  --ihc-radius: 16px;
  --ihc-sidebar: 268px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ihc-ink);
  background: var(--ihc-bg);
  min-height: 100vh;
}

a {
  color: var(--ihc-primary);
}

a:hover {
  color: var(--ihc-primary-dark);
}

/* ----- App shell ----- */

.ihc-app {
  min-height: 100vh;
}

.ihc-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--ihc-sidebar);
  background: var(--ihc-card);
  border-right: 1px solid var(--ihc-line);
  display: flex;
  flex-direction: column;
  z-index: 1040;
  overflow-y: auto;
}

.ihc-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem 1rem;
  text-decoration: none;
  color: inherit;
}

.ihc-brand:hover {
  color: inherit;
}

.ihc-brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.ihc-brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ihc-brand-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--ihc-muted);
  font-weight: 500;
}

.ihc-nav {
  padding: 0.25rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.ihc-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ihc-muted);
  padding: 0.85rem 0.75rem 0.35rem;
  text-transform: uppercase;
}

.ihc-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: #4b5565;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.ihc-nav-link i {
  font-size: 1.05rem;
  width: 1.2rem;
  text-align: center;
  color: #7b8494;
}

.ihc-nav-link:hover {
  background: #f6f8fc;
  color: var(--ihc-ink);
}

.ihc-nav-link.active {
  background: var(--ihc-primary-soft);
  color: var(--ihc-primary);
  border-left-color: var(--ihc-primary);
  font-weight: 600;
}

.ihc-nav-link.active i {
  color: var(--ihc-primary);
}

.ihc-quick {
  margin: 0.5rem 0.85rem 1.1rem;
  background: var(--ihc-card);
  border: 1px solid var(--ihc-line);
  border-radius: 14px;
  box-shadow: var(--ihc-shadow);
  padding: 0.35rem 0.2rem;
}

.ihc-quick-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  color: var(--ihc-ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: 8px;
}

.ihc-quick-item:hover {
  background: #f6f8fc;
  color: var(--ihc-ink);
}

.ihc-quick-item i:first-child {
  color: var(--ihc-primary);
}

.ihc-quick-item .bi-chevron-right {
  margin-left: auto;
  color: var(--ihc-muted);
  font-size: 0.8rem;
}

.ihc-shell {
  margin-left: var(--ihc-sidebar);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ihc-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.5rem;
  background: var(--ihc-card);
  border-bottom: 1px solid var(--ihc-line);
}

.ihc-menu-btn {
  display: none;
  border: 1px solid var(--ihc-line);
  background: var(--ihc-card);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--ihc-ink);
}

.ihc-top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.ihc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ihc-card);
  border: 1px solid var(--ihc-line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4b5565;
  box-shadow: var(--ihc-shadow);
}

.ihc-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ihc-line);
  background: var(--ihc-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5565;
  text-decoration: none;
  box-shadow: var(--ihc-shadow);
}

.ihc-icon-btn:hover {
  color: var(--ihc-primary);
}

.ihc-profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  padding: 0.2rem 0.35rem 0.2rem 0.2rem;
  border-radius: 999px;
}

.ihc-profile:hover {
  color: inherit;
}

.ihc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b8cff, #3d6bff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.ihc-profile-name {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.15;
}

.ihc-profile-role {
  display: block;
  font-size: 0.72rem;
  color: var(--ihc-muted);
}

.ihc-logout {
  border: 0;
  background: transparent;
  color: var(--ihc-muted);
  font-size: 0.8rem;
  padding: 0.25rem 0.4rem;
}

.ihc-logout:hover {
  color: var(--ihc-danger);
}

.ihc-main {
  flex: 1;
  padding: 0.25rem 1.5rem 1.5rem;
}

.ihc-footer {
  padding: 0.9rem 1.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ihc-muted);
  font-size: 0.8rem;
}

.ihc-footer a {
  color: var(--ihc-muted);
  text-decoration: none;
  margin-left: 1rem;
}

.ihc-footer a:hover {
  color: var(--ihc-primary);
}

/* ----- Page chrome ----- */

.ihc-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ihc-page-head h1,
.ihc-main > h1,
.ihc-main > .h3,
.ihc-main > .d-flex h1,
.ihc-main > .d-flex .h3 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.ihc-kicker {
  color: var(--ihc-muted);
  font-size: 0.92rem;
  margin: 0.25rem 0 0;
}

.ihc-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--ihc-card);
  border: 1px solid var(--ihc-line);
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #4b5565;
  box-shadow: var(--ihc-shadow);
  white-space: nowrap;
}

.ihc-alert {
  border: 0;
  border-radius: 12px;
}

/* ----- Cards / tables / forms inherit the look ----- */

.card,
.stat-card,
.ihc-card {
  background: var(--ihc-card);
  border: 1px solid var(--ihc-line);
  border-radius: var(--ihc-radius);
  box-shadow: var(--ihc-shadow);
}

.ihc-card-pad {
  padding: 1.15rem 1.25rem;
}

.ihc-location-map {
  height: 280px;
  width: 100%;
  border: 1px solid var(--ihc-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ihc-bg);
}

.ihc-location-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ihc-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.ihc-main > form.row {
  background: var(--ihc-card);
  border: 1px solid var(--ihc-line);
  border-radius: var(--ihc-radius);
  box-shadow: var(--ihc-shadow);
  padding: 0.9rem 1rem 0.75rem;
  margin-bottom: 1rem !important;
}

.ihc-main > .table-responsive,
.ihc-main .table-responsive {
  background: var(--ihc-card);
  border: 1px solid var(--ihc-line);
  border-radius: var(--ihc-radius);
  box-shadow: var(--ihc-shadow);
  overflow-x: auto;
  overflow-y: hidden;
}

.card .table-responsive,
.ihc-card .table-responsive,
.ihc-main .table-responsive.border-0 {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ihc-muted);
  font-weight: 600;
  background: #f8fafc;
  border-bottom: 1px solid var(--ihc-line);
  padding: 0.85rem 1rem;
}

.table td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  border-color: #f0f3f7;
}

.table .ihc-table-actions {
  position: sticky;
  right: 0;
  z-index: 1;
  white-space: nowrap;
  background: var(--ihc-card);
  box-shadow: -8px 0 12px -8px rgba(16, 24, 40, 0.18);
}

.table thead .ihc-table-actions {
  background: #f8fafc;
}

.table-hover > tbody > tr:hover > .ihc-table-actions {
  background: var(--bs-table-hover-bg, #f8fafc);
}

.form-control,
.form-select {
  border-radius: 10px;
  border-color: #d9e0ea;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ihc-primary);
  box-shadow: 0 0 0 3px rgba(61, 107, 255, 0.15);
}

.form-label {
  font-weight: 600;
  font-size: 0.86rem;
}

.ihc-password-field {
  position: relative;
}

.ihc-password-field .form-control {
  padding-right: 2.6rem;
}

.ihc-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--ihc-muted);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.ihc-password-toggle:hover,
.ihc-password-toggle:focus-visible {
  color: var(--ihc-ink);
  background: var(--ihc-primary-soft);
}

.ihc-password-toggle:focus-visible {
  outline: 2px solid var(--ihc-primary);
  outline-offset: 1px;
}

.btn {
  border-radius: 10px;
  font-weight: 600;
}

.btn-ihc-primary,
.bg-ihc-primary {
  background-color: var(--ihc-primary) !important;
  border-color: var(--ihc-primary);
  color: #fff;
}

.btn-ihc-primary:hover {
  background-color: var(--ihc-primary-dark);
  border-color: var(--ihc-primary-dark);
  color: #fff;
}

.btn-outline-secondary {
  border-color: #d5dbe6;
  color: #4b5565;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #eef1f6;
}

.progress-bar {
  background-color: var(--ihc-primary);
}

.badge {
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35em 0.65em;
}

.status-badge-healthy { background-color: var(--ihc-success); }
.status-badge-warning { background-color: #f5c14a; color: #212529; }
.status-badge-congested { background-color: var(--ihc-orange); }
.status-badge-critical { background-color: var(--ihc-danger); }

/* ----- KPI tiles ----- */

.ihc-kpi {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.05rem 1.1rem;
  height: 100%;
}

.ihc-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ihc-kpi-icon.blue { background: var(--ihc-primary-soft); color: var(--ihc-primary); }
.ihc-kpi-icon.green { background: var(--ihc-success-soft); color: var(--ihc-success); }
.ihc-kpi-icon.purple { background: var(--ihc-purple-soft); color: var(--ihc-purple); }
.ihc-kpi-icon.orange { background: var(--ihc-orange-soft); color: var(--ihc-orange); }
.ihc-kpi-icon.teal { background: var(--ihc-teal-soft); color: var(--ihc-teal); }

.ihc-kpi-label {
  font-size: 0.78rem;
  color: var(--ihc-muted);
  font-weight: 500;
}

.ihc-kpi-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.ihc-kpi-sub {
  font-size: 0.75rem;
  color: var(--ihc-success);
  font-weight: 600;
}

.ihc-kpi-sub.muted {
  color: var(--ihc-muted);
  font-weight: 500;
}

/* ----- Network topology ----- */

.ihc-topo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0 0.25rem;
}

.ihc-topo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.ihc-node {
  min-width: 132px;
  background: #f8fafd;
  border: 1px solid var(--ihc-line);
  border-radius: 14px;
  padding: 0.7rem 0.75rem;
  text-align: center;
}

.ihc-node-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.4rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ihc-primary);
  background: var(--ihc-primary-soft);
}

.ihc-node-name {
  font-size: 0.78rem;
  font-weight: 700;
}

.ihc-node-meta {
  font-size: 0.7rem;
  color: var(--ihc-muted);
}

.ihc-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ihc-success);
  margin-right: 0.25rem;
}

.ihc-connector {
  width: 2px;
  height: 18px;
  background: repeating-linear-gradient(
    to bottom,
    #c5cdd8 0,
    #c5cdd8 4px,
    transparent 4px,
    transparent 7px
  );
}

.ihc-connector-h {
  height: 2px;
  flex: 1;
  min-width: 16px;
  background: repeating-linear-gradient(
    to right,
    #c5cdd8 0,
    #c5cdd8 4px,
    transparent 4px,
    transparent 7px
  );
}

.ihc-badge-ok {
  background: var(--ihc-success-soft);
  color: var(--ihc-success);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

.ihc-badge-warn {
  background: var(--ihc-warning-soft);
  color: var(--ihc-warning);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

/* ----- Activity / lists ----- */

.ihc-activity {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ihc-activity li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f0f3f7;
}

.ihc-activity li:last-child {
  border-bottom: 0;
}

.ihc-activity-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.ihc-activity-title {
  font-size: 0.86rem;
  font-weight: 600;
}

.ihc-activity-meta {
  font-size: 0.75rem;
  color: var(--ihc-muted);
}

.ihc-bar-row {
  margin-bottom: 0.85rem;
}

.ihc-bar-row:last-child {
  margin-bottom: 0;
}

.ihc-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
}

/* ----- Health gauge ----- */

.ihc-gauge {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ihc-gauge-inner {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ihc-health-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f3f7;
}

.ihc-health-row:last-child {
  border-bottom: 0;
}

/* ----- Auth / marketing ----- */

.ihc-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(circle at 12% 12%, #dfe8ff 0, transparent 42%),
    radial-gradient(circle at 88% 8%, #e6f8ee 0, transparent 36%),
    var(--ihc-bg);
}

.ihc-auth-card {
  width: min(440px, 100%);
  background: var(--ihc-card);
  border: 1px solid var(--ihc-line);
  border-radius: 20px;
  box-shadow: var(--ihc-shadow);
  padding: 1.75rem 1.75rem 1.5rem;
}

.ihc-hero {
  background: var(--ihc-card);
  border: 1px solid var(--ihc-line);
  border-radius: 20px;
  box-shadow: var(--ihc-shadow);
  padding: 2rem 2.1rem;
}

.ihc-link-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.ihc-link-card:hover {
  color: inherit;
}

.ihc-link-card .card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
}

.ihc-link-card:hover .card {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}

.ihc-sidebar-backdrop {
  display: none;
}

@media (max-width: 991.98px) {
  .ihc-sidebar {
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }

  .ihc-app.sidebar-open .ihc-sidebar {
    transform: none;
  }

  .ihc-shell {
    margin-left: 0;
  }

  .ihc-menu-btn {
    display: inline-flex;
  }

  .ihc-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 1035;
    opacity: 0;
    pointer-events: none;
  }

  .ihc-app.sidebar-open .ihc-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .ihc-profile-text {
    display: none;
  }
}

/* ----- Top services (customer dashboard) ----- */

.ihc-svc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ihc-svc-head h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
}

.ihc-svc-head p {
  margin: 0;
  color: var(--ihc-muted);
  font-size: 0.9rem;
}

.ihc-svc-all {
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.ihc-svc-card {
  height: 100%;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--ihc-shadow);
}

.ihc-svc-card .ihc-card-pad {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.3rem 1.2rem;
}

.ihc-svc-card.data { background: #eef2ff; }
.ihc-svc-card.airtime { background: #fdecee; }
.ihc-svc-card.voucher { background: #e8f8ee; }

.ihc-svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.85rem;
}

.ihc-svc-card.data .ihc-svc-icon { background: #3d6bff; }
.ihc-svc-card.airtime .ihc-svc-icon { background: #e11d48; }
.ihc-svc-card.voucher .ihc-svc-icon { background: #16a34a; }

.ihc-svc-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.ihc-svc-card p {
  color: #5b6573;
  font-size: 0.88rem;
  margin: 0 0 0.9rem;
}

.ihc-svc-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.ihc-svc-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 0.45rem;
  border-radius: 8px;
  background: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #334155;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.ihc-svc-brand.mtn { color: #1a1a1a; background: #ffcc00; }
.ihc-svc-brand.airtel { color: #fff; background: #ed1c24; }
.ihc-svc-brand.glo { color: #fff; background: #50b848; }
.ihc-svc-brand.nmobile { color: #fff; background: #006f3c; }
.ihc-svc-brand.more { color: #64748b; }

.ihc-svc-btn {
  margin-top: auto;
  width: 100%;
  border: 0;
  color: #fff !important;
  font-weight: 700;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.ihc-svc-card.data .ihc-svc-btn { background: #3d6bff; }
.ihc-svc-card.airtime .ihc-svc-btn { background: #e11d48; }
.ihc-svc-card.voucher .ihc-svc-btn { background: #16a34a; }

.ihc-svc-btn:hover {
  color: #fff !important;
  filter: brightness(0.95);
}

.ihc-vtu-card,
.ihc-vtu-summary {
  border: 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.ihc-vtu-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: 14px;
}

.ihc-vtu-tab {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-weight: 700;
}

.ihc-vtu-tab.active {
  background: #fff;
  color: #3d6bff;
  box-shadow: 0 4px 12px rgba(61, 107, 255, 0.12);
}

.ihc-vtu-step {
  margin-bottom: 1.5rem;
}

.ihc-vtu-step h2 {
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.ihc-vtu-step h2 span {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #3d6bff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.ihc-vtu-networks,
.ihc-pay-grid,
.ihc-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .ihc-vtu-networks,
  .ihc-pay-grid,
  .ihc-plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ihc-net,
.ihc-pay,
.ihc-plan {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem 0.7rem;
  text-align: left;
}

.ihc-net.active,
.ihc-pay.active,
.ihc-plan.active {
  border-color: #3d6bff;
  box-shadow: 0 0 0 3px rgba(61, 107, 255, 0.15);
}

.ihc-net.mtn { background: #fff8d6; }
.ihc-net.airtel { background: #ffe4e6; }
.ihc-net.glo { background: #ecfdf3; }
.ihc-net.nine { background: #ecfdf5; }

.ihc-phone {
  display: flex;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.ihc-phone-cc {
  padding: 0.7rem 0.9rem;
  background: #f8fafc;
  font-weight: 700;
}

.ihc-phone .form-control {
  border: 0;
}

.ihc-plan-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.ihc-plan-filters button {
  border: 0;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
}

.ihc-plan-filters button.active {
  background: #3d6bff;
  color: #fff;
}

.ihc-plan {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ihc-plan strong { font-size: 1.05rem; }
.ihc-plan span { color: #3d6bff; font-weight: 800; }
.ihc-plan small { color: #64748b; }

.ihc-pay {
  display: flex;
  flex-direction: column;
}

.ihc-pay span { color: #64748b; font-size: 0.82rem; }

.ihc-vtu-submit {
  width: 100%;
  border: 0;
  background: #3d6bff;
  color: #fff;
  font-weight: 800;
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.ihc-vtu-summary h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.ihc-vtu-summary dl {
  margin: 0;
}

.ihc-vtu-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #eef2f7;
}

.ihc-vtu-summary dt {
  color: #64748b;
  font-weight: 600;
}

.ihc-vtu-summary dd {
  margin: 0;
  font-weight: 700;
}

.ihc-vtu-total {
  margin-top: 1rem;
  background: #eef4ff;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ihc-vtu-total strong {
  color: #3d6bff;
  font-size: 1.25rem;
}

.ihc-vtu-secure,
.ihc-vtu-trust {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0.85rem 0 0;
}

.ihc-vtu-help {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}

.ihc-vtu-help h3 {
  font-size: 0.95rem;
  font-weight: 800;
}

.ihc-form-section {
  padding: 1.15rem 0 0.35rem;
  border-top: 1px solid var(--ihc-line);
}

.ihc-form-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.ihc-form-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.ihc-form-section-help {
  color: var(--ihc-muted);
  font-size: 0.82rem;
  margin: 0 0 0.85rem;
}

.ihc-test-status {
  font-size: 0.86rem;
  color: var(--ihc-muted);
}

.ihc-probe-result {
  background: var(--ihc-success-soft);
  border: 1px solid #cceed8;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

