/* Black & gold theme for the landing page and the Identity pages (sign in, register, manage account).
   Built on Bootstrap 5.3's dark color mode. */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap");

[data-bs-theme=dark] {
  --bs-body-bg: #000000;
  --bs-body-bg-rgb: 0, 0, 0;
  --bs-body-color: #f2f2f2;
  --bs-body-color-rgb: 242, 242, 242;
  --bs-body-font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-emphasis-color: #ffffff;
  --bs-secondary-color: #a8a8a8;
  --bs-secondary-bg: #171717;
  --bs-tertiary-bg: #0d0d0d;
  --bs-border-color: #2a2a2a;
  --bs-primary: #daaa00;
  --bs-primary-rgb: 218, 170, 0;
  --bs-link-color: #cfb991;
  --bs-link-color-rgb: 207, 185, 145;
  --bs-link-hover-color: #ebd99f;
  --bs-link-hover-color-rgb: 235, 217, 159;
  --bs-focus-ring-color: rgba(218, 170, 0, .35);
  --bs-danger-text-emphasis: #ff8f8f;
}

body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { letter-spacing: -.015em; text-wrap: balance; }
.text-gold { color: #cfb991 !important; }

/* ---------- navigation ---------- */
.site-nav { background: #000; border-bottom: 1px solid rgba(207, 185, 145, .22); }
.site-nav .navbar-brand { color: #f2f2f2; font-weight: 600; font-size: 1rem; }
.site-nav .nav-link { color: #cfb991; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: #ebd99f; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; display: inline-grid; place-items: center; color: #000; background: linear-gradient(145deg, #daaa00, #b88f00); }
.site-main { min-height: calc(100vh - 140px); }
.site-footer { color: #6e6e6e; font-size: .8rem; padding-bottom: 28px; }

/* ---------- buttons ---------- */
.btn-primary {
  --bs-btn-color: #000; --bs-btn-bg: #daaa00; --bs-btn-border-color: #daaa00;
  --bs-btn-hover-color: #000; --bs-btn-hover-bg: #ebc02a; --bs-btn-hover-border-color: #ebc02a;
  --bs-btn-active-color: #000; --bs-btn-active-bg: #c49a00; --bs-btn-active-border-color: #c49a00;
  --bs-btn-disabled-color: #000; --bs-btn-disabled-bg: #daaa00; --bs-btn-disabled-border-color: #daaa00;
  --bs-btn-focus-shadow-rgb: 218, 170, 0;
  font-weight: 600;
}
.btn-outline-light, .btn-outline-secondary {
  --bs-btn-color: #cfb991; --bs-btn-border-color: rgba(207, 185, 145, .5);
  --bs-btn-hover-color: #ebd99f; --bs-btn-hover-bg: rgba(207, 185, 145, .12); --bs-btn-hover-border-color: #cfb991;
  --bs-btn-active-color: #ebd99f; --bs-btn-active-bg: rgba(207, 185, 145, .2); --bs-btn-active-border-color: #cfb991;
}
.btn-link { --bs-btn-color: #cfb991; --bs-btn-hover-color: #ebd99f; --bs-btn-active-color: #ebd99f; }
.btn-danger { --bs-btn-bg: #b3261e; --bs-btn-border-color: #b3261e; }

/* ---------- forms (used by the Identity pages) ---------- */
.form-control, .form-select { background-color: #0d0d0d; border-color: #383838; color: #f2f2f2; }
.form-control:focus, .form-select:focus { background-color: #0d0d0d; color: #fff; border-color: #daaa00; box-shadow: 0 0 0 .25rem rgba(218, 170, 0, .25); }
.form-control:disabled { background-color: #171717; }
.form-floating > label { color: #9a9a9a; }
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label { color: #cfb991; }
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after { background-color: #0d0d0d; }
.form-check-input { background-color: #0d0d0d; border-color: #4a4a4a; }
.form-check-input:checked { background-color: #daaa00; border-color: #daaa00; }
.form-check-input:focus { border-color: #daaa00; box-shadow: 0 0 0 .25rem rgba(218, 170, 0, .25); }
.text-danger { color: #ff8f8f !important; }
.alert-success { --bs-alert-bg: rgba(111, 207, 143, .12); --bs-alert-color: #a7e8bc; --bs-alert-border-color: rgba(111, 207, 143, .3); }
.alert-danger { --bs-alert-bg: rgba(255, 107, 107, .12); --bs-alert-color: #ffb1b1; --bs-alert-border-color: rgba(255, 107, 107, .3); }
hr { border-color: #2a2a2a; opacity: 1; }

/* Identity pages: centered card-like column */
.identity-page { max-width: 980px; }
.identity-page h1 { font-weight: 600; margin-bottom: 1rem; }
.identity-page h2, .identity-page h3 { font-size: 1.05rem; font-weight: 600; color: #cfb991; }
.identity-page section, .identity-page form { background: transparent; }
.nav-pills { --bs-nav-pills-link-active-bg: #daaa00; --bs-nav-pills-link-active-color: #000; --bs-nav-link-color: #cfb991; --bs-nav-link-hover-color: #ebd99f; }

/* ---------- landing page ---------- */
.eyebrow { color: #cfb991; font-size: .85rem; font-weight: 500; letter-spacing: .03em; }
.hero h1 { line-height: 1.12; }
.feature { height: 100%; background: #0d0d0d; border: 1px solid #252525; border-radius: 12px; padding: 18px; }
.feature .ic { color: #daaa00; }
.feature h3 { font-size: 1rem; font-weight: 600; color: #f2f2f2; margin: 10px 0 4px; }
.feature p { color: #a8a8a8; margin: 0; font-size: .9rem; }
.course-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.course-chips span { border: 1px solid rgba(207, 185, 145, .35); color: #ebd99f; border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
