/* Inval Holdings — mockup theme (public + dashboard) */
:root {
  --ih-bg: #0b1526;
  --ih-bg-deep: #060d18;
  --ih-panel: #0f1e35;
  --ih-panel-border: #1a3050;
  --ih-gold: #f0b429;
  --ih-gold-dark: #c9921a;
  --ih-cyan: #6ecfe6;
  --ih-cyan-bright: #8ee4f7;
  --ih-purple: #5c4d8a;
  --ih-purple-btn: #6a5acd;
  --ih-text: #e8eef5;
  --ih-muted: #9eb3c9;
  --ih-nav-bar: #f0b429;
  --ih-font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  overflow-x: hidden;
}

body.inval-theme {
  background: var(--ih-bg);
  color: var(--ih-text);
  font-family: var(--ih-font);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

body.inval-theme .loader-wrapper {
  background: var(--ih-bg-deep);
  z-index: 9999;
}

/* Top bar */
.ih-topbar {
  background: #050a12;
  border-bottom: 1px solid #1a2a40;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 0;
  color: var(--ih-muted);
}

.ih-topbar a {
  color: var(--ih-cyan);
  text-decoration: none;
  text-transform: none;
}

.ih-topbar-inner {
  /* text-transform: lowercase; */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.ih-topbar-datetime {
  color: var(--ih-cyan-bright);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-left: auto;
  padding: 0 8px;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

.ih-topbar-tools {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 1 auto;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.ih-lang-label {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ih-muted);
  white-space: nowrap;
  flex: 0 0 auto;
}

.ih-lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 200px;
  width: 100%;
  padding: 7px 32px 7px 10px;
  font-family: var(--ih-font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ih-cyan-bright);
  background-color: var(--ih-panel);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238ee4f7' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border: 1px solid var(--ih-panel-border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ih-lang-select:hover,
.ih-lang-select:focus {
  border-color: var(--ih-gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(240, 180, 41, 0.25);
}

.ih-lang-select option {
  color: #111;
  background: #fff;
}

/* Hidden host — Google script only; UI is .ih-lang-select */
.ih-google-translate-host {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ih-google-translate-host .goog-te-gadget,
.ih-google-translate-host .goog-te-gadget-simple {
  display: none !important;
}

body.inval-theme .goog-te-banner-frame,
body.inval-theme .skiptranslate iframe.goog-te-banner-frame {
  display: none !important;
}

body.inval-theme .goog-te-menu-frame {
  max-width: min(100vw, 320px) !important;
  box-sizing: border-box !important;
}

body.inval-theme #goog-gt-tt,
body.inval-theme .goog-te-balloon-frame {
  display: none !important;
}

/* Smartsupp widget — keep above theme loader/overlays */
#smartsupp-widget-container,
#chat-application-iframe,
iframe[id$="-application-iframe"][title="Smartsupp"] {
  z-index: 10000000 !important;
}

body.inval-theme {
  top: 0 !important;
}

/* Header */
.ih-header {
  background: linear-gradient(180deg, #0a1424 0%, #0b1526 100%);
  border-bottom: 1px solid #152640;
  padding: 14px 0 10px;
}

.ih-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ih-logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.ih-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  flex: 1;
}

.ih-nav a {
  color: var(--ih-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 4px;
  transition: color 0.2s;
}

.ih-nav a:hover,
.ih-nav a.active {
  color: var(--ih-cyan);
}

.ih-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ih-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}

.ih-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: inherit;
}

.ih-btn-login {
  background: var(--ih-purple-btn);
  color: #fff;
}

.ih-btn-signup,
.ih-btn-logout {
  background: var(--ih-gold);
  color: #1a1200;
}

.ih-btn-account {
  background: #5eb3f0;
  color: #0a1628;
}

.ih-btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.ih-btn-gold-solid {
  background: var(--ih-gold);
  color: #1a1200;
  border: 2px solid var(--ih-gold);
}

.ih-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ih-panel-border);
  color: var(--ih-text);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 18px;
}

@media (max-width: 991px) {
  .ih-mobile-toggle {
    display: block;
  }

  .ih-nav-wrap {
    display: none;
    width: 100%;
    order: 3;
  }

  .ih-nav-wrap.is-open {
    display: block;
  }

  .ih-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .ih-header-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Hero */
.ih-hero {
  background: radial-gradient(ellipse at 30% 20%, #122a4a 0%, var(--ih-bg) 55%);
  padding: 56px 16px 64px;
}

.ih-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.ih-hero-copy {
  min-width: 0;
}

@media (max-width: 991px) {
  .ih-hero-inner {
    grid-template-columns: 1fr;
  }

  .ih-hero.ih-home-rich .ih-hero-copy {
    text-align: left;
  }

  .ih-hero.ih-home-rich .ih-hero-copy p,
  .ih-hero.ih-home-rich .ih-lead {
    max-width: 100%;
  }
}

.ih-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 22px;
  color: #fff;
}

.ih-hero h1 .ih-accent {
  color: var(--ih-cyan-bright);
}

.ih-hero:not(.ih-home-rich) p {
  color: var(--ih-muted);
  margin-bottom: 14px;
  max-width: 540px;
}

.ih-hero.ih-home-rich .ih-hero-copy p {
  color: var(--ih-muted);
  margin-bottom: 14px;
  max-width: 62ch;
}

.ih-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.ih-hero-visual img {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.ih-hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ih-hero-art img {
  width: 100%;
  max-width: min(520px, 92vw);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .ih-hero .ih-hero-art {
    /* order: -1; */
  }

  .ih-hero-art img {
    max-width: min(440px, 88vw);
  }
}

body.inval-theme.ih-force-desktop-layout .ih-mobile-toggle {
  display: none !important;
}

body.inval-theme.ih-force-desktop-layout .ih-nav-wrap {
  display: block !important;
  width: auto !important;
  order: unset !important;
}

body.inval-theme.ih-force-desktop-layout .ih-nav {
  flex-direction: row !important;
  align-items: center !important;
}

body.inval-theme.ih-force-desktop-layout .ih-header-actions {
  width: auto !important;
  justify-content: flex-end !important;
}

body.inval-theme.ih-force-desktop-layout .ih-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

body.inval-theme.ih-force-desktop-layout .ih-about-split-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

body.inval-theme.ih-force-desktop-layout .ih-dashboard-overview {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
}

body.inval-theme.ih-force-desktop-layout .ih-dashboard-nav ul {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  overflow-x: auto;
}

.ih-login-note {
  font-size: 14px;
  color: var(--ih-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.ih-login-note a {
  color: var(--ih-cyan);
  text-decoration: underline;
}

.ih-admin-redirect {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ih-bg);
}

.ih-admin-redirect-box {
  text-align: center;
  padding: 32px;
}

.ih-admin-redirect-box p {
  color: var(--ih-muted);
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .ih-topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ih-topbar-datetime {
    margin-left: 0;
    text-align: left;
    white-space: normal;
    font-size: 10px;
    line-height: 1.35;
    padding: 0;
  }

  .ih-topbar-tools {
    width: 100%;
    justify-content: stretch;
    flex-wrap: nowrap;
  }

  .ih-lang-select {
    max-width: none;
    flex: 1 1 auto;
  }

  .ih-hero-art img {
    max-width: 100%;
  }
}

/* About block */
.ih-about-split {
  padding: 56px 16px;
  background: var(--ih-bg);
}

.ih-about-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.ih-about-split-inner > div {
  min-width: 0;
}

@media (max-width: 991px) {
  .ih-about-split-inner {
    grid-template-columns: 1fr;
  }
}

.ih-about-split h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ih-cyan);
  margin-bottom: 20px;
}

.ih-about-split p {
  color: var(--ih-muted);
  margin-bottom: 16px;
}

.ih-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 20px;
}

.ih-about-actions .ih-btn {
  border-radius: 8px;
  padding: 14px 28px;
}

.ih-address-line {
  font-size: 13px;
  color: var(--ih-gold);
  margin-top: 16px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.ih-section-dots {
  text-align: center;
  padding: 24px;
  color: var(--ih-gold);
  letter-spacing: 12px;
  font-size: 18px;
}

.ih-section-heading {
  text-align: center;
  padding: 0 16px 48px;
}

.ih-section-heading h2 {
  color: var(--ih-cyan);
  font-size: 28px;
  font-weight: 700;
}

/* Dashboard — Stock Pips / mockup1 reference (member overview) */
.ih-dashboard-wrap {
  background: #060d18;
  min-height: 50vh;
  padding-bottom: 40px;
}

.ih-dashboard-title {
  text-align: center;
  color: #8ee4f7;
  font-family: var(--ih-font);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 50px 16px 50px;
  margin: 0;
  line-height: 1.15;
}

.ih-dashboard-nav {
  background: #f0b429;
  margin: 0 0 16px;
  border: none;
}

.ih-dashboard-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 11px 8px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ih-dashboard-nav li {
  flex: 0 0 auto;
}

.ih-dashboard-nav a {
  color: #000000 !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  padding: 5px 11px;
  border-radius: 0;
  white-space: nowrap;
}

.ih-dashboard-nav a:hover,
.ih-dashboard-nav a.active {
  background: rgba(255, 255, 255, 0.28);
}

.ih-dashboard-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 10px 8px;
}

.ih-dashboard-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 12px;
  align-items: stretch;
}

.ih-dash-panel,
.ih-stat-card {
  background: #0a1528;
  border: 1px solid #1a3050;
  border-radius: 0;
  overflow: hidden;
  min-width: 0;
}

.ih-user-block {
  margin: 0;
  padding: 14px 12px 16px;
}

.ih-user-name {
  color: #f0b429;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
  text-align: center;
}

.ih-user-meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.ih-dash-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(26, 48, 80, 0.65);
}

.ih-dash-meta-row:last-child {
  border-bottom: none;
}

.ih-dash-label {
  color: #f0b429;
  font-weight: 700;
  flex: 0 0 auto;
  max-width: 42%;
}

.ih-dash-val {
  color: #8ee4f7;
  font-weight: 500;
  text-align: right;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ih-dash-val--wrap {
  font-size: 11px;
  line-height: 1.35;
}

.ih-stat-card-head {
  padding: 14px 12px 12px;
  border-bottom: none;
  text-align: center;
}

.ih-stat-card-head .label {
  color: #8ee4f7;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.ih-stat-card-head .value {
  color: #f0b429;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.05;
}

.ih-stat-card-sub {
  padding: 0 0 10px;
}

.ih-dashboard-page .ih-stat-card-sub h4,
.ih-stat-card-sub h4 {
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 !important;
  text-transform: uppercase;
  text-align: center;
  background: #4a9ece;
  padding: 9px 10px;
  border-radius: 0;
}

.ih-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  padding: 6px 14px;
}

.ih-stat-row span:first-child {
  color: #9eb3c9;
  flex: 1 1 auto;
  font-weight: 500;
}

.ih-stat-row span:last-child {
  color: #f0b429;
  font-weight: 700;
  flex: 0 0 auto;
  text-align: right;
}

.ih-affiliate-box {
  display: block;
  background: #0a1528;
  border: 1px solid #2a6a9e;
  border-bottom-width: 2px;
  padding: 14px 16px 16px;
  border-radius: 0;
  margin-top: 4px;
}

.ih-affiliate-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ih-affiliate-icon {
  width: 110px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
}

.ih-affiliate-box h3 {
  color: #f0b429;
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
  flex: 1 1 auto;
}

.ih-affiliate-link-block label {
  color: var(--ih-cyan-bright);
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.ih-affiliate-link-block input {
  width: 100%;
  box-sizing: border-box;
  background: #050a12;
  border: 1px solid #1a3050;
  color: #8ee4f7;
  padding: 10px 12px;
  border-radius: 0;
  font-size: 13px;
}

.ih-dashboard-page .ih-dashboard-body > h3 {
  color: var(--ih-cyan-bright);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
}

.ih-dashboard-page .ih-dashboard-body > table,
.ih-dashboard-page .ih-dashboard-body .table {
  margin-bottom: 20px;
}

/* Prestige member pages embedded in Citadel dashboard shell */
.ih-member-panel-content {
  padding: 8px 4px 28px;
  min-height: 120px;
  color: var(--ih-text);
}

.ih-member-layout .ih-dashboard-body {
  max-width: 1180px;
}

.ih-guest-auth-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 10px 40px;
  color: var(--ih-text);
}

.ih-page-section--auth {
  padding: 24px 16px 48px;
}

.ih-page-section--auth .log-in-area,
.ih-page-section--auth .contact-form-action {
  max-width: 520px;
  margin: 0 auto;
}

.ih-guest-layout .ih-dashboard-nav a.active {
  background: transparent;
}

/* —— Member panel: force Citadel dark theme over legacy Tailwind UI —— */
body.ih-member-layout .ih-member-panel-content,
body.ih-guest-layout .ih-guest-auth-body {
  --ih-card: #0a1528;
  --ih-card-alt: #0f1e35;
}

body.ih-member-layout .ih-member-panel-content .bg-white,
body.ih-guest-layout .ih-guest-auth-body .bg-white,
body.ih-member-layout .ih-member-panel-content [class*="bg-white/"],
body.ih-guest-layout .ih-guest-auth-body [class*="bg-white/"] {
  background-color: var(--ih-card) !important;
}

body.ih-member-layout .ih-member-panel-content .bg-light-50,
body.ih-member-layout .ih-member-panel-content .bg-light-100,
body.ih-member-layout .ih-member-panel-content .bg-light-200,
body.ih-guest-layout .ih-guest-auth-body .bg-light-50,
body.ih-guest-layout .ih-guest-auth-body .bg-light-100 {
  background-color: var(--ih-card-alt) !important;
}

body.ih-member-layout .ih-member-panel-content .dark\:bg-dark-50,
body.ih-member-layout .ih-member-panel-content .dark\:bg-dark-100,
body.ih-member-layout .ih-member-panel-content .dark\:bg-dark-100\/50,
body.ih-guest-layout .ih-guest-auth-body .dark\:bg-dark-50,
body.ih-guest-layout .ih-guest-auth-body .dark\:bg-dark-100 {
  background-color: var(--ih-card) !important;
}

body.ih-member-layout .ih-member-panel-content [class*="from-white"],
body.ih-member-layout .ih-member-panel-content [class*="to-white"],
body.ih-member-layout .ih-member-panel-content .backdrop-blur-md,
body.ih-member-layout .ih-member-panel-content .backdrop-blur-sm {
  background: linear-gradient(135deg, var(--ih-card) 0%, var(--ih-card-alt) 100%) !important;
  background-image: linear-gradient(135deg, var(--ih-card) 0%, var(--ih-card-alt) 100%) !important;
  backdrop-filter: none !important;
}

body.ih-member-layout .ih-member-panel-content .border-light-200,
body.ih-member-layout .ih-member-panel-content .border-light-300,
body.ih-member-layout .ih-member-panel-content .border-white\/20,
body.ih-member-layout .ih-member-panel-content .dark\:border-dark-200,
body.ih-member-layout .ih-member-panel-content .dark\:border-dark-200\/30,
body.ih-member-layout .ih-member-panel-content .dark\:border-dark-200\/50,
body.ih-guest-layout .ih-guest-auth-body .border-light-200,
body.ih-guest-layout .ih-guest-auth-body .border-light-300 {
  border-color: var(--ih-panel-border) !important;
}

body.ih-member-layout .ih-member-panel-content h1,
body.ih-member-layout .ih-member-panel-content h2,
body.ih-member-layout .ih-member-panel-content h3,
body.ih-member-layout .ih-member-panel-content h4,
body.ih-member-layout .ih-member-panel-content .text-dark,
body.ih-member-layout .ih-member-panel-content .dark\:text-white,
body.ih-guest-layout .ih-guest-auth-body h1,
body.ih-guest-layout .ih-guest-auth-body h2,
body.ih-guest-layout .ih-guest-auth-body .dark\:text-white {
  color: var(--ih-text) !important;
}

body.ih-member-layout .ih-member-panel-content .text-gray-600,
body.ih-member-layout .ih-member-panel-content .text-gray-700,
body.ih-member-layout .ih-member-panel-content .text-dark-300,
body.ih-member-layout .ih-member-panel-content .dark\:text-gray-300,
body.ih-member-layout .ih-member-panel-content .dark\:text-gray-400,
body.ih-member-layout .ih-member-panel-content .dark\:text-light-300,
body.ih-member-layout .ih-member-panel-content .text-xs.uppercase,
body.ih-guest-layout .ih-guest-auth-body .text-gray-600,
body.ih-guest-layout .ih-guest-auth-body .dark\:text-gray-400 {
  color: var(--ih-muted) !important;
}

body.ih-member-layout .ih-member-panel-content .text-xl.font-bold,
body.ih-member-layout .ih-member-panel-content .text-2xl.font-bold,
body.ih-member-layout .ih-member-panel-content .text-3xl.font-bold,
body.ih-member-layout .ih-member-panel-content .font-bold.text-dark {
  color: var(--ih-gold) !important;
}

body.ih-member-layout .ih-member-panel-content .text-primary,
body.ih-member-layout .ih-member-panel-content .dark\:text-primary,
body.ih-member-layout .ih-member-panel-content a.text-primary {
  color: var(--ih-cyan-bright) !important;
}

body.ih-member-layout .ih-member-panel-content h1 svg,
body.ih-member-layout .ih-member-panel-content h2 svg {
  color: var(--ih-gold);
}

body.ih-member-layout .ih-member-panel-content [data-lucide],
body.ih-member-layout .ih-member-panel-content i[data-lucide] {
  color: var(--ih-cyan-bright);
}

body.ih-member-layout .ih-member-panel-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body.ih-member-layout .ih-member-panel-content select,
body.ih-member-layout .ih-member-panel-content textarea,
body.ih-guest-layout .ih-guest-auth-body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.ih-guest-layout .ih-guest-auth-body select,
body.ih-guest-layout .ih-guest-auth-body textarea {
  background-color: #050a12 !important;
  border-color: var(--ih-panel-border) !important;
  color: var(--ih-cyan-bright) !important;
}

body.ih-member-layout .ih-member-panel-content input::placeholder,
body.ih-member-layout .ih-member-panel-content textarea::placeholder {
  color: #5a7390 !important;
}

body.ih-member-layout .ih-member-panel-content .bg-primary,
body.ih-member-layout .ih-member-panel-content button.bg-primary,
body.ih-guest-layout .ih-guest-auth-body .bg-primary {
  background-color: var(--ih-purple-btn) !important;
  color: #fff !important;
}

body.ih-member-layout .ih-member-panel-content .bg-primary:hover,
body.ih-member-layout .ih-member-panel-content button.bg-primary:hover {
  background-color: #5a4fd6 !important;
}

body.ih-member-layout .ih-member-panel-content .bg-light-100.dark\:bg-dark-100,
body.ih-member-layout .ih-member-panel-content button.bg-light-100 {
  background-color: var(--ih-card-alt) !important;
  color: var(--ih-text) !important;
  border: 1px solid var(--ih-panel-border) !important;
}

body.ih-member-layout .ih-member-panel-content table,
body.ih-member-layout .ih-member-panel-content .table {
  color: var(--ih-text);
  background-color: var(--ih-card);
}

body.ih-member-layout .ih-member-panel-content thead th,
body.ih-member-layout .ih-member-panel-content thead tr,
body.ih-member-layout .ih-member-panel-content .bg-accent,
body.ih-member-layout .ih-member-panel-content tr.bg-yellow-400,
body.ih-member-layout .ih-member-panel-content [class*="bg-accent"] {
  background-color: var(--ih-gold) !important;
  color: #000 !important;
}

body.ih-member-layout .ih-member-panel-content tbody tr,
body.ih-member-layout .ih-member-panel-content tbody td {
  background-color: var(--ih-card-alt) !important;
  border-color: var(--ih-panel-border) !important;
  color: var(--ih-text) !important;
}

body.ih-member-layout .ih-member-panel-content .shadow-lg,
body.ih-member-layout .ih-member-panel-content .shadow-md,
body.ih-member-layout .ih-member-panel-content .shadow-sm {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

body.ih-member-layout .ih-member-panel-content .rounded-xl,
body.ih-member-layout .ih-member-panel-content .rounded-3xl,
body.ih-member-layout .ih-member-panel-content .rounded-lg {
  border-radius: 0 !important;
}

body.ih-member-layout .page-title,
body.ih-member-layout .page-title h5,
body.ih-member-layout .page-title .text-white {
  color: var(--ih-text) !important;
}

body.ih-member-layout .card,
body.ih-member-layout .card-header,
body.ih-member-layout .card-body,
body.ih-member-layout .card-footer {
  background-color: var(--ih-card) !important;
  border-color: var(--ih-panel-border) !important;
  color: var(--ih-text) !important;
}

body.ih-member-layout .ih-member-panel-content .text-white {
  color: var(--ih-text) !important;
}

body.ih-member-layout .ih-member-panel-content .bg-red-600,
body.ih-member-layout .ih-member-panel-content .bg-danger,
body.ih-member-layout .ih-member-panel-content button[class*="bg-red"] {
  background-color: #c0392b !important;
  color: #fff !important;
}

body.ih-member-layout .dataTables_wrapper,
body.ih-member-layout .dataTables_wrapper .dataTables_info,
body.ih-member-layout .dataTables_wrapper .dataTables_paginate,
body.ih-member-layout .dataTables_wrapper .dataTables_filter input {
  color: var(--ih-muted) !important;
}

body.ih-member-layout .dataTables_wrapper table.dataTable {
  background: var(--ih-card) !important;
}

body.ih-member-layout .select2-container--default .select2-selection--single {
  background-color: #050a12 !important;
  border-color: var(--ih-panel-border) !important;
}

body.ih-member-layout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--ih-cyan-bright) !important;
}

body.ih-member-layout .ih-member-panel-content .bg-primary\/10,
body.ih-member-layout .ih-member-panel-content [class*="bg-primary/"] {
  background-color: rgba(74, 158, 206, 0.15) !important;
}

body.ih-member-layout .ih-member-panel-content .text-secondary-600,
body.ih-member-layout .ih-member-panel-content .text-tertiary-600,
body.ih-member-layout .ih-member-panel-content .text-primary-600 {
  color: var(--ih-cyan-bright) !important;
}

body.ih-member-layout .ih-member-panel-content .w-10.h-10.rounded-lg,
body.ih-member-layout .ih-member-panel-content .w-12.h-12.rounded-xl {
  background-color: rgba(74, 158, 206, 0.12) !important;
}

body.ih-member-layout .ih-member-panel-content .divide-light-200 > :not([hidden]) ~ :not([hidden]),
body.ih-member-layout .ih-member-panel-content .divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--ih-panel-border) !important;
}

body.ih-member-layout .ih-member-panel-content .ring-1,
body.ih-member-layout .ih-member-panel-content .ring-gray-200 {
  --tw-ring-color: var(--ih-panel-border) !important;
}

body.ih-member-layout .ih-member-panel-content label,
body.ih-guest-layout .ih-guest-auth-body label {
  color: var(--ih-muted) !important;
}

body.ih-member-layout .ih-member-panel-content .bg-green-100,
body.ih-member-layout .ih-member-panel-content .text-green-800 {
  background-color: rgba(46, 125, 50, 0.2) !important;
  color: #7dcea0 !important;
}

/* Security / Jetstream profile */
body.ih-member-layout .ih-security-sections {
  max-width: 960px;
}

body.ih-member-layout .ih-security-card {
  text-align: left !important;
  border-radius: 0 !important;
}

body.ih-member-layout .ih-security-card--danger {
  border-color: rgba(192, 57, 43, 0.45) !important;
}

body.ih-member-layout .ih-security-divider {
  height: 1px;
  margin: 8px 0;
  background: var(--ih-panel-border);
  border: 0;
}

body.ih-member-layout .ih-jet-btn {
  border: none;
  cursor: pointer;
  border-radius: 0;
  letter-spacing: 0.06em;
}

body.ih-member-layout .ih-jet-btn--primary {
  background: var(--ih-purple-btn) !important;
  color: #fff !important;
}

body.ih-member-layout .ih-jet-btn--primary:hover {
  background: #5a4fd6 !important;
}

body.ih-member-layout .ih-jet-btn--secondary {
  background: var(--ih-card-alt) !important;
  color: var(--ih-text) !important;
  border: 1px solid var(--ih-panel-border) !important;
}

body.ih-member-layout .ih-jet-btn--secondary:hover {
  border-color: var(--ih-gold) !important;
  color: var(--ih-gold) !important;
}

body.ih-member-layout .ih-jet-btn--danger {
  background: #c0392b !important;
  color: #fff !important;
}

body.ih-member-layout .ih-jet-btn--danger:hover {
  background: #a93226 !important;
}

body.ih-member-layout .jetstream-modal .bg-white,
body.ih-member-layout .jetstream-modal .modal-content {
  background: var(--ih-card) !important;
  color: var(--ih-text) !important;
  border: 1px solid var(--ih-panel-border) !important;
  border-radius: 0 !important;
}

body.ih-member-layout .jetstream-modal .modal-header,
body.ih-member-layout .jetstream-modal .modal-footer {
  border-color: var(--ih-panel-border) !important;
}

body.ih-member-layout .jetstream-modal .modal-title,
body.ih-member-layout .jetstream-modal h3,
body.ih-member-layout .jetstream-modal h5 {
  color: var(--ih-text) !important;
}

body.ih-member-layout .jetstream-modal .bg-gray-500 {
  background: rgba(0, 0, 0, 0.72) !important;
}

/* Inner pages */
.ih-page-section {
  padding: 48px 16px 64px;
  background: var(--ih-bg);
}

.ih-page-section .container {
  max-width: 960px;
}

.ih-page-section h2,
.ih-page-section .section-title h2 {
  color: var(--ih-cyan);
  font-weight: 700;
}

.ih-page-section p,
.ih-page-section li {
  color: var(--ih-muted);
}

.ih-page-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.ih-page-heading h2 {
  color: var(--ih-cyan);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.ih-page-heading p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.ih-page-footnote {
  text-align: center;
  margin-top: 32px;
  font-size: 16px;
  color: var(--ih-muted);
}

.ih-page-section .ih-page-footnote a,
.ih-page-section .accordion-content a,
.ih-page-section .ih-page-heading a {
  color: var(--ih-cyan);
  text-decoration: underline;
}

.ih-page-section .ih-page-footnote a:hover,
.ih-page-section .accordion-content a:hover {
  color: var(--ih-cyan-bright);
}

/* FAQ accordion */
.ih-faq-accordion .accordion {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ih-faq-accordion .accordion-item {
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-radius: 8px;
  overflow: hidden;
}

.ih-faq-accordion .accordion-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 18px 20px;
  margin: 0;
  color: var(--ih-text) !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  line-height: 1.45;
}

.ih-faq-accordion .accordion-title i {
  color: var(--ih-gold);
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ih-faq-accordion .accordion-title.active i {
  transform: rotate(180deg);
}

.ih-faq-accordion .accordion-title.active {
  color: var(--ih-cyan-bright) !important;
  background: rgba(110, 207, 230, 0.06);
}

.ih-faq-accordion .accordion-content {
  display: none;
  padding: 0 20px 20px 54px;
}

.ih-faq-accordion .accordion-content.show {
  display: block;
}

.ih-faq-accordion .accordion-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ih-muted);
}

.ih-faq-accordion .accordion-content strong {
  color: var(--ih-text);
}

@media (max-width: 575px) {
  .ih-faq-accordion .accordion-content {
    padding: 0 16px 16px 16px;
  }

  .ih-faq-accordion .accordion-title {
    padding: 16px;
    font-size: 15px;
  }
}

/* Contact page */
.ih-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.ih-contact-card {
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-radius: 8px;
  padding: 24px 22px;
  min-width: 0;
}

.ih-contact-card i {
  font-size: 32px;
  color: var(--ih-gold);
  margin-bottom: 12px;
  display: block;
}

.ih-contact-card h3 {
  color: var(--ih-cyan);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.ih-contact-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ih-muted);
}

.ih-contact-card a {
  color: var(--ih-cyan) !important;
  word-break: break-word;
}

.ih-contact-form {
  margin-top: 8px;
}

.ih-contact-form .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.ih-contact-form .section-title h2 {
  color: var(--ih-cyan);
  font-size: 22px;
  margin-bottom: 8px;
}

.ih-contact-form .section-title p {
  margin: 0;
  font-size: 15px;
}

.ih-contact-form .form-control,
.ih-contact-form textarea.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
}

.ih-contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.ih-form-static {
  margin: 0;
  padding: 12px 14px;
  background: #0a1628;
  border: 1px solid var(--ih-panel-border);
  border-radius: 4px;
  color: var(--ih-text);
}

.ih-alert-success {
  color: #9ae6b4;
  background: rgba(56, 178, 120, 0.12);
  border: 1px solid rgba(72, 187, 120, 0.4);
  padding: 16px 18px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
}

.ih-alert-error {
  list-style: none;
  margin: 0 0 20px;
  padding: 12px 16px;
}

/* About page */
.ih-about-page .container {
  max-width: 1100px;
}

.ih-about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.ih-about-intro-copy {
  min-width: 0;
}

.ih-about-intro-copy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ih-muted);
  margin-bottom: 16px;
}

.ih-check-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ih-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ih-text);
}

.ih-check-list li i {
  color: var(--ih-gold);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ih-about-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 16px;
}

.ih-about-intro-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.ih-about-intro-visual img {
  width: 100%;
  max-width: min(480px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.4));
}

.ih-about-benefits {
  padding-top: 0;
}

.ih-about-benefits .ih-page-heading {
  margin-bottom: 32px;
}

.ih-about-mission h3 {
  color: var(--ih-cyan);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
}

.ih-about-mission p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ih-muted);
  margin-bottom: 14px;
}

.ih-about-mission p:last-child {
  margin-bottom: 0;
}

.ih-about-page .ih-about-mission a {
  color: var(--ih-cyan);
  text-decoration: underline;
}

.ih-about-page .ih-about-mission a:hover {
  color: var(--ih-cyan-bright);
}

@media (max-width: 991px) {
  .ih-about-intro {
    grid-template-columns: 1fr;
  }

  .ih-about-intro-visual {
    order: -1;
  }
}

@media (max-width: 575px) {
  .ih-about-intro-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ih-about-intro-actions .ih-btn {
    width: 100%;
    justify-content: center;
  }
}

body.inval-theme .form-control,
body.inval-theme input[type="text"],
body.inval-theme input[type="password"],
body.inval-theme input[type="email"],
body.inval-theme select,
body.inval-theme textarea {
  background: #0a1628;
  border: 1px solid var(--ih-panel-border);
  color: var(--ih-text);
  border-radius: 4px;
}

body.inval-theme table {
  color: var(--ih-text);
  width: 100%;
}

body.inval-theme th,
body.inval-theme .inheader {
  background: var(--ih-gold) !important;
  color: #1a1200 !important;
  border-color: var(--ih-gold-dark) !important;
}

body.inval-theme td,
body.inval-theme .item {
  background: var(--ih-panel) !important;
  border-color: var(--ih-panel-border) !important;
  color: var(--ih-text) !important;
}

body.inval-theme a {
  color: #ffffff;
}

body.inval-theme .default-btn,
body.inval-theme .sbmt,
body.inval-theme input[type="submit"] {
  background: var(--ih-gold) !important;
  color: #1a1200 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

/* Footer */
.ih-footer {
  background: #080f1a;
  border-top: 1px solid #152640;
  padding: 48px 16px 24px;
}

.ih-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 767px) {
  .ih-footer-inner {
    grid-template-columns: 1fr;
  }
}

.ih-footer h4 {
  color: var(--ih-cyan);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ih-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.ih-footer a {
  color: var(--ih-muted);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ih-footer a:hover {
  color: var(--ih-cyan);
}

.ih-footer-contact {
  font-size: 14px;
  color: var(--ih-muted);
  line-height: 1.7;
}

.ih-footer-contact .email {
  color: var(--ih-gold);
  font-weight: 600;
}

.ih-footer-bottom {
  text-align: center;
  padding: 20px 16px;
  border-top: 1px solid #152640;
  color: var(--ih-muted);
  font-size: 13px;
}

/* Hide legacy chrome */
body.inval-theme .navbar-area,
body.inval-theme .page-title-area,
body.inval-theme .left-sidebar-area .widget-sidebar,
body.inval-theme .others-option-for-responsive,
body.inval-theme .go-top {
  display: none !important;
}

body.inval-theme .left-sidebar-area {
  padding: 0 !important;
  background: transparent !important;
}

body.inval-theme .left-sidebar-area > .container > .row > .col-lg-9 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

body.inval-theme .left-sidebar-area > .container > .row > .col-lg-3 {
  display: none !important;
}

body.inval-theme .faq-accordion .accordion-title,
body.inval-theme .single-contact-info h3,
body.inval-theme .contact-form-action,
body.inval-theme .log-in-area,
body.inval-theme .registration-area {
  color: var(--ih-text);
}

body.inval-theme .accordion-item {
  background: var(--ih-panel);
  border-color: var(--ih-panel-border) !important;
}

body.inval-theme .accordion-title {
  color: var(--ih-cyan) !important;
}

body.inval-theme .contact-wrap,
body.inval-theme .education-area-two,
body.inval-theme .terms-conditions-wrap {
  background: transparent;
}

/* Main content shell */
.ih-main {
  background: var(--ih-bg);
  max-width: 100%;
  overflow-x: clip;
}

body.inval-theme:has(.ih-home-rich) {
  overflow-x: clip;
}

.ih-main:not(:has(.ih-page-section)):not(:has(.ih-dashboard-wrap)):not(:has(.ih-hero)) {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 16px 56px;
}

.ih-panel-box {
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-radius: 6px;
  padding: 28px 24px;
}

.ih-dashboard-body h3,
.ih-main > h3 {
  /* color: var(--ih-cyan-bright); */
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 16px;
}

.ih-dashboard-body .ih-stat-card-sub h4 {
  margin: 0 !important;
}

.ih-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.ih-btn-cancel {
  padding: 10px 22px;
  font-size: 12px;
}

.ih-btn-muted {
  background: #3a4a60 !important;
  color: #fff !important;
}

.ih-alert-error {
  color: #ff8a8a;
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 120, 120, 0.35);
  padding: 10px 14px;
  border-radius: 4px;
}

.ih-form-footer-link {
  margin-top: 20px;
}

body.inval-theme .section-title .top-title,
body.inval-theme .terms-conditions-wrap .title span {
  color: var(--ih-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

body.inval-theme .contact-info-area,
body.inval-theme .main-contact-area,
body.inval-theme .contact-form,
body.inval-theme .single-contact-info {
  background: transparent !important;
}

body.inval-theme .single-contact-info a,
body.inval-theme .single-contact-info h3 {
  color: var(--ih-text) !important;
}

body.inval-theme .single-contact-info i {
  color: var(--ih-gold);
}

body.inval-theme .log-in-area,
body.inval-theme .registration-area,
body.inval-theme .contact-form-action {
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-radius: 6px;
  padding: 32px 28px;
}

body.inval-theme .form-group label {
  color: var(--ih-muted);
  font-size: 13px;
  margin-bottom: 6px;
}

body.inval-theme .inpts {
  background: #0a1628;
  border: 1px solid var(--ih-panel-border);
  color: var(--ih-text);
  padding: 8px 12px;
  border-radius: 4px;
  width: 100%;
  max-width: 420px;
}

body.inval-theme center {
  color: var(--ih-muted);
}

body.inval-theme .ih-captcha-row img {
  display: block;
  margin-bottom: 8px;
  border-radius: 4px;
}

body.inval-theme .ptb-100,
body.inval-theme .pt-100,
body.inval-theme .pb-100,
body.inval-theme .ptb-70 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Homepage — richer content & larger type */
.ih-home-rich .ih-lead {
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.75;
  color: #c5d6e8;
  margin-bottom: 20px;
  max-width: min(62ch, 100%);
}

.ih-home-rich p {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.75;
  margin-bottom: 18px;
  overflow-wrap: break-word;
}

.ih-hero.ih-home-rich h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  margin-bottom: 24px;
}

.ih-hero-actions--center {
  justify-content: center;
}

.ih-hero-actions--spaced {
  margin-top: 32px;
}

.ih-hero-kicker {
  color: var(--ih-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ih-eyebrow {
  display: block;
  color: var(--ih-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ih-home-section {
  padding: clamp(40px, 6vw, 64px) clamp(12px, 4vw, 24px);
  background: var(--ih-bg);
}

.ih-home-section.ih-home-section--alt {
  background: linear-gradient(180deg, #0a1524 0%, var(--ih-bg) 100%);
}

.ih-home-section-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.ih-section-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 40px;
}

.ih-section-intro h2 {
  color: var(--ih-cyan);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 18px;
}

.ih-section-intro p {
  color: var(--ih-muted);
  font-size: clamp(17px, 2vw, 21px);
}

.ih-home-stats {
  background: var(--ih-gold);
  padding: clamp(20px, 4vw, 28px) clamp(12px, 4vw, 24px);
  display: none;
}

.ih-home-stats-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: clamp(12px, 3vw, 20px);
  text-align: center;
}

.ih-home-stat {
  min-width: 0;
  padding: 4px 6px;
}

.ih-home-stat-value {
  display: block;
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  color: #1a1200;
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ih-home-stat-label {
  display: block;
  font-size: clamp(13px, 2.8vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3d2e00;
  margin-top: 6px;
  line-height: 1.35;
}

.ih-home-rich .ih-btn {
  font-size: 13px;
  padding: 12px 26px;
}

.ih-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.ih-feature-card {
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 3vw, 24px);
  min-width: 0;
}

.ih-feature-card i {
  font-size: 36px;
  color: var(--ih-gold);
  margin-bottom: 14px;
  display: block;
}

.ih-feature-card h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ih-feature-card p {
  font-size: 18px;
  margin: 0;
  color: var(--ih-muted);
}

.ih-feature-card a {
  color: var(--ih-cyan);
}

.ih-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 3vw, 24px);
  counter-reset: ih-step;
}

.ih-steps-list li {
  counter-increment: ih-step;
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 24px) clamp(16px, 3vw, 24px) clamp(18px, 3vw, 24px) clamp(56px, 12vw, 72px);
  position: relative;
  min-width: 0;
}

.ih-steps-list li::before {
  content: counter(ih-step);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ih-gold);
  color: #1a1200;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ih-steps-list strong {
  display: block;
  color: var(--ih-cyan-bright);
  font-size: 20px;
  margin-bottom: 10px;
}

.ih-steps-list span {
  color: var(--ih-muted);
  font-size: 18px;
  line-height: 1.65;
}

.ih-home-plans-wrap .ih-plans-table-wrap {
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-radius: 8px;
  padding: clamp(12px, 3vw, 20px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.ih-plans-table-wrap table {
  width: 100%;
  min-width: min(100%, 520px);
  margin-bottom: 12px;
}

.ih-plans-table-wrap table:last-child {
  margin-bottom: 0;
}

.ih-plans-table-wrap th,
.ih-plans-table-wrap .ih-plans-plan-name {
  background: var(--ih-gold);
  color: #000;
  font-weight: 700;
  text-align: center;
}

.ih-plans-table-wrap .ih-plans-cell,
.ih-plans-table-wrap td {
  background: var(--ih-card-alt);
  color: var(--ih-text);
  border-color: var(--ih-panel-border);
}

/* Dashboard overview: hidden by default. To show plans, add class ih-dash-invest-plans--visible on the <section> in dashboard-investment-plans.blade.php */
.ih-dash-invest-plans {
  display: none;
  margin-top: 14px;
  padding: 0;
  background: transparent;
  border: none;
}

.ih-dash-invest-plans.ih-dash-invest-plans--visible {
  display: block;
}

.ih-dash-invest-head {
  margin-bottom: 14px;
  padding: 0 4px;
}

.ih-dash-invest-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #f0b429;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}

.ih-dash-invest-lead {
  margin: 0;
  color: #8ee4f7;
  font-size: 14px;
  line-height: 1.45;
  max-width: 52rem;
}

.ih-dash-invest-lead strong {
  color: #fff;
  font-weight: 600;
}

.ih-dash-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 12px;
  align-items: stretch;
}

.ih-dash-plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #0a1528;
  border: 1px solid #1a3050;
  overflow: hidden;
}

.ih-dash-plan-card__banner {
  background: linear-gradient(180deg, #f0b429 0%, #d99a1a 100%);
  padding: 12px 14px;
  text-align: center;
}

.ih-dash-plan-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a1528;
}

.ih-dash-plan-card__rows {
  margin: 0;
  padding: 12px 14px 8px;
  flex: 1 1 auto;
}

.ih-dash-plan-card__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 48, 80, 0.85);
}

.ih-dash-plan-card__row:last-child {
  border-bottom: none;
}

.ih-dash-plan-card__row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #f0b429;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex: 0 0 42%;
}

.ih-dash-plan-card__row dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #8ee4f7;
  text-align: right;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ih-dash-plan-card__row--bonus dd {
  color: #7dffb2;
}

.ih-dash-plan-card__cta {
  display: block;
  margin: 0;
  padding: 12px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #0a1528;
  background: #4a9ece;
  border-top: 1px solid #1a3050;
  transition: filter 0.15s ease, background 0.15s ease;
}

.ih-dash-plan-card__cta:hover {
  filter: brightness(1.06);
  color: #0a1528;
  background: #5eb3e0;
}

.ih-dash-plan-card__cta--solo {
  max-width: 280px;
  border: 1px solid #1a3050;
}

.ih-dash-invest-plans--empty .ih-dash-invest-lead {
  color: #aab8c8;
}

.ih-home-plans-note {
  text-align: center;
  margin-top: 20px;
  font-size: 17px;
  color: var(--ih-muted);
}

.ih-home-plans-note a {
  color: var(--ih-cyan);
}

.ih-two-col-text {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(0px, 2vw, 12px);
  min-width: 0;
}

.ih-two-col-text p {
  font-size: clamp(17px, 2vw, 21px);
}

.ih-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.ih-testimonial {
  margin: 0;
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-left: 4px solid var(--ih-gold);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 24px);
  min-width: 0;
}

.ih-testimonial p {
  font-size: clamp(17px, 1.9vw, 20px);
  font-style: italic;
  color: var(--ih-text);
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.ih-testimonial cite {
  font-size: 16px;
  color: var(--ih-gold);
  font-style: normal;
}

.ih-home-activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 4vw, 28px);
}

.ih-activity-col {
  min-width: 0;
}

.ih-activity-col h3 {
  color: var(--ih-cyan);
  font-size: clamp(20px, 2.8vw, 26px);
  margin-bottom: 16px;
}

.ih-activity-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
}

.ih-activity-table table {
  width: 100%;
  min-width: 280px;
  border-radius: 6px;
}

.ih-activity-table td,
.ih-activity-table th,
.ih-activity-table .menutxt {
  white-space: normal;
  word-break: break-word;
}

.ih-home-cta {
  padding: clamp(48px, 8vw, 72px) clamp(12px, 4vw, 24px);
  background: radial-gradient(ellipse at center, #1a3558 0%, var(--ih-bg-deep) 70%);
  text-align: center;
}

.ih-home-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ih-home-cta h2 {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 46px);
  margin-bottom: 18px;
}

.ih-home-cta p {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ih-muted);
  margin-bottom: 8px;
}

.ih-about-split h2 {
  font-size: clamp(28px, 3.5vw, 40px);
}

.ih-about-split p,
.ih-address-line {
  font-size: clamp(17px, 1.9vw, 21px);
}

.ih-about-actions {
  width: 100%;
}

@media (max-width: 575px) {
  .ih-hero {
    padding: 40px 12px 48px;
  }

  .ih-hero.ih-home-rich .ih-hero-copy p,
  .ih-hero.ih-home-rich .ih-lead {
    max-width: 100%;
  }

  .ih-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .ih-hero-actions .ih-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ih-about-actions {
    flex-direction: column;
  }

  .ih-about-actions .ih-btn {
    width: 100%;
    justify-content: center;
  }

  .ih-section-intro {
    margin-bottom: 28px;
  }

  .ih-activity-table table {
    font-size: 12px;
  }

  .ih-activity-table td,
  .ih-activity-table th {
    padding: 6px 4px !important;
  }

  .ih-steps-list li::before {
    left: 12px;
    top: 18px;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
}

@media (min-width: 1200px) {
  .ih-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ih-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Rate Us page */
.ih-rate-page .ih-section-intro h2 {
  text-align: left;
}

.ih-rate-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .ih-rate-trust {
    grid-template-columns: 1fr;
  }
}

.ih-rate-trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-radius: 8px;
  padding: 20px;
}

.ih-rate-trust-item i {
  font-size: 28px;
  color: var(--ih-gold);
  flex-shrink: 0;
}

.ih-rate-trust-item strong {
  display: block;
  color: var(--ih-cyan);
  margin-bottom: 4px;
}

.ih-rate-trust-item span {
  font-size: 15px;
  color: var(--ih-muted);
}

.ih-rate-subtitle {
  color: var(--ih-cyan);
  font-size: 24px;
  margin: 32px 0 8px;
}

.ih-rate-subdesc {
  font-size: 17px;
  margin-bottom: 24px;
}

.ih-monitor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.ih-monitor-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--ih-panel);
  border: 1px solid var(--ih-panel-border);
  border-radius: 8px;
  padding: 22px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.ih-monitor-card:hover {
  border-color: var(--ih-gold);
  transform: translateY(-2px);
  color: inherit;
}

.ih-monitor-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ih-monitor-desc {
  font-size: 15px;
  color: var(--ih-muted);
  flex: 1;
}

.ih-monitor-action {
  font-size: 14px;
  font-weight: 700;
  color: var(--ih-gold);
  margin-top: 8px;
}

.ih-rate-admin-note {
  margin-top: 40px;
  padding: 24px;
  border-radius: 8px;
  border: 1px dashed var(--ih-panel-border);
  background: rgba(15, 30, 53, 0.6);
}

.ih-rate-admin-note h3 {
  color: var(--ih-gold);
  font-size: 18px;
  margin-bottom: 10px;
}

.ih-rate-admin-note p {
  margin: 0;
  font-size: 16px;
}

/* —— Member: invest / buy-plan (simple 3-step flow) —— */
.ih-invest-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 4px 32px;
}

.ih-invest-page__head {
  margin-bottom: 20px;
}

.ih-invest-page__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #f0b429;
}

.ih-invest-page__lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #8ee4f7;
}

.ih-invest-page__balance {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 12px 14px;
  background: #0a1528;
  border: 1px solid #1a3050;
}

.ih-invest-page__balance-label {
  font-size: 13px;
  color: #aab8c8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ih-invest-page__balance-value {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ih-invest-page__fund-link {
  font-size: 14px;
  font-weight: 600;
  color: #4a9ece;
}

.ih-invest-block {
  margin-bottom: 18px;
  padding: 16px 16px 18px;
  background: #0a1528;
  border: 1px solid #1a3050;
}

.ih-invest-block--muted {
  opacity: 0.72;
}

.ih-invest-block--confirm {
  border-color: #f0b429;
  box-shadow: 0 0 0 1px rgba(240, 180, 41, 0.15);
}

.ih-invest-block__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ih-invest-step-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #0a1528;
  background: #f0b429;
  border-radius: 50%;
}

.ih-invest-block__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.ih-invest-plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ih-invest-plan-pick {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  background: #060d18;
  border: 2px solid #1a3050;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ih-invest-plan-pick:hover {
  border-color: #4a9ece;
}

.ih-invest-plan-pick.is-selected {
  border-color: #f0b429;
  background: rgba(240, 180, 41, 0.08);
}

.ih-invest-plan-pick__radio {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid #4a9ece;
  border-radius: 50%;
  position: relative;
}

.ih-invest-plan-pick.is-selected .ih-invest-plan-pick__radio {
  border-color: #f0b429;
}

.ih-invest-plan-pick.is-selected .ih-invest-plan-pick__radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #f0b429;
  border-radius: 50%;
}

.ih-invest-plan-pick__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ih-invest-plan-pick__name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.ih-invest-plan-pick__detail {
  font-size: 14px;
  color: #8ee4f7;
}

.ih-invest-plan-pick__range {
  font-size: 13px;
  color: #f0b429;
  font-weight: 600;
}

.ih-invest-amount-hint {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #aab8c8;
}

.ih-invest-amount-hint strong {
  color: #fff;
}

.ih-invest-quick {
  margin-bottom: 14px;
}

.ih-invest-quick__label {
  display: block;
  font-size: 12px;
  color: #aab8c8;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ih-invest-quick__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ih-invest-quick__chip {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1px solid #4a9ece;
  cursor: pointer;
}

.ih-invest-quick__chip:hover {
  background: rgba(74, 158, 206, 0.15);
}

.ih-invest-amount-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #f0b429;
  margin-bottom: 8px;
}

.ih-invest-amount-field {
  display: flex;
  align-items: stretch;
  border: 2px solid #1a3050;
  background: #060d18;
}

.ih-invest-amount-field__sign {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #f0b429;
  border-right: 1px solid #1a3050;
}

.ih-invest-amount-field__input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
}

.ih-invest-amount-field__input::placeholder {
  color: #5a6a7a;
}

.ih-invest-placeholder {
  margin: 0;
  color: #aab8c8;
  font-size: 14px;
}

.ih-invest-error {
  margin: 10px 0 0;
  font-size: 14px;
  color: #ff8a8a;
}

.ih-invest-warn {
  margin: 10px 0 0;
  font-size: 14px;
  color: #f0b429;
}

.ih-invest-warn a {
  color: #4a9ece;
  font-weight: 600;
}

.ih-invest-summary {
  margin: 0 0 16px;
  padding: 0;
}

.ih-invest-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 48, 80, 0.85);
}

.ih-invest-summary__row:last-child {
  border-bottom: none;
}

.ih-invest-summary__row dt {
  margin: 0;
  font-size: 13px;
  color: #aab8c8;
}

.ih-invest-summary__row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #8ee4f7;
  text-align: right;
  max-width: 60%;
}

.ih-invest-submit {
  display: block;
  width: 100%;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 700;
  color: #0a1528;
  background: #f0b429;
  border: none;
  cursor: pointer;
}

.ih-invest-submit:hover:not(:disabled) {
  filter: brightness(1.06);
}

.ih-invest-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ih-invest-loading {
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px;
  color: #4a9ece;
}

.ih-invest-empty {
  padding: 32px 20px;
  text-align: center;
  background: #0a1528;
  border: 1px solid #1a3050;
}

.ih-invest-empty h3 {
  margin: 0 0 8px;
  color: #f0b429;
}

.ih-invest-empty p {
  margin: 0;
  color: #aab8c8;
}

/* Admin login: light input fields on dark shell */
.ih-admin-login-input {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

.ih-admin-login-input::placeholder {
  color: #64748b !important;
}

.ih-admin-login-input:focus {
  background-color: #ffffff !important;
  border-color: #4a9ece !important;
}

.ih-invest-pay-methods {
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

.ih-invest-pay-methods__legend {
  font-size: 13px;
  font-weight: 600;
  color: #f0b429;
  margin-bottom: 10px;
  padding: 0;
}

.ih-invest-pay-option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  background: #060d18;
  border: 2px solid #1a3050;
}

.ih-invest-pay-option:has(input:checked) {
  border-color: #f0b429;
  background: rgba(240, 180, 41, 0.08);
}

.ih-invest-pay-option input {
  width: 18px;
  height: 18px;
  accent-color: #f0b429;
}

.ih-invest-pay-option__label {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.ih-invest-pay-option__note {
  flex: 1 1 100%;
  font-size: 13px;
  color: #8ee4f7;
  padding-left: 30px;
}

.ih-invest-checkout-form {
  margin-top: 8px;
}
