/* =====================================================================
   GOLDEN HOUR — inner page layer
   Loaded after theme.css. Re-skins the shared page chrome (canvas,
   breadcrumb band, auth shell, forms, tables, cards, pagination…) from
   the old light storefront to the warm dark Golden Hour system.

   Palette tokens (--gh-*, --golden-hour-*) are declared in
   resources/views/frontend/layouts/header.blade.php.
   Page-specific @push('styles') blocks still render after this file and
   win, which is intentional — this is the base, not the last word.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. CANVAS
   --------------------------------------------------------------------- */
html,
body {
    background: #050303 !important;
    color: rgba(255, 255, 255, 0.62) !important;
}

body {
    background: transparent !important;
}

body::before {
    background:
        linear-gradient(180deg, #0c0809 0%, #080506 42%, #050303 100%) !important;
    opacity: 1 !important;
}

body::after {
    background:
        radial-gradient(circle at 14% 12%, rgba(232, 93, 4, 0.10), transparent 30%),
        radial-gradient(circle at 86% 44%, rgba(255, 186, 8, 0.055), transparent 26%),
        repeating-linear-gradient(90deg, rgba(255, 186, 8, 0.016) 0 1px, transparent 1px 78px),
        repeating-linear-gradient(0deg, rgba(255, 186, 8, 0.016) 0 1px, transparent 1px 78px) !important;
}

body::-webkit-scrollbar-track { background: #050303 !important; }
body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ffba08, #dc2f02) !important; }

/* ---------------------------------------------------------------------
   2. TYPOGRAPHY
   --------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
    font-family: 'Chakra Petch', 'Orbitron', sans-serif !important;
}

p, li, span, td, dd, dt, label { color: inherit; }

a { color: var(--gh-1, #ffba08); }
a:hover { color: var(--gh-3, #f48c06); }

.text-muted { color: rgba(255, 255, 255, 0.42) !important; }
.text-dark  { color: #ffffff !important; }
.text-white { color: #ffffff !important; }
.bg-white   { background: rgba(255, 255, 255, 0.035) !important; }
.bg-light   { background: rgba(255, 255, 255, 0.03) !important; }

/* keep the flame gradient handy for page CSS */
.gh-ink-flame {
    background: linear-gradient(90deg, #ffba08, #f48c06 55%, #dc2f02);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------------------------------------------------------------------
   3. BREADCRUMB HERO BAND  (.about-title-band — used by 16 pages)
   --------------------------------------------------------------------- */
.about-title-band {
    position: relative;
    overflow: hidden;
    padding: 150px 0 82px !important;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(5, 3, 3, 0.78) 0%, rgba(5, 3, 3, 0.62) 48%, rgba(5, 3, 3, 0.95) 100%),
        url("../images/breadcrumb.webp") center / cover no-repeat !important;
    border-bottom: 1px solid rgba(255, 186, 8, 0.22) !important;
}
.about-title-band::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, #ffba08 22%, #f48c06 50%, #dc2f02 78%, transparent);
    box-shadow: 0 0 26px rgba(244, 140, 6, 0.6);
}

.about-hud-grid {
    opacity: 1 !important;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(232, 93, 4, 0.20) 0%, transparent 42%),
        repeating-linear-gradient(90deg, rgba(255, 186, 8, 0.05) 0 1px, transparent 1px 54px),
        repeating-linear-gradient(0deg, rgba(255, 186, 8, 0.05) 0 1px, transparent 1px 54px) !important;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 76%);
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 76%);
}

.about-hud-glow {
    background: radial-gradient(circle at 50% 58%, rgba(232, 93, 4, 0.22) 0%, transparent 62%) !important;
}

.about-hud-decor.border-t {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent) !important;
}
.about-hud-decor.border-b { background: transparent !important; }

.about-hud-tag {
    background: rgba(255, 186, 8, 0.10) !important;
    border: 1px solid rgba(255, 186, 8, 0.30) !important;
    color: var(--gh-1, #ffba08) !important;
    font-family: 'Orbitron', 'Chakra Petch', sans-serif !important;
    letter-spacing: 0.26em !important;
    box-shadow: none !important;
}
.hud-tag-dot {
    background: var(--gh-1, #ffba08) !important;
    box-shadow: 0 0 10px rgba(255, 186, 8, 0.7) !important;
}

.about-hud-title {
    color: #ffffff !important;
    font-family: 'Chakra Petch', 'Orbitron', sans-serif !important;
    font-size: clamp(34px, 5.2vw, 62px) !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
}

.about-hud-breadcrumb-capsule {
    background: rgba(10, 7, 8, 0.62) !important;
    border: 1px solid rgba(255, 186, 8, 0.24) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.hud-breadcrumb-link { color: rgba(255, 255, 255, 0.7) !important; }
.hud-breadcrumb-link:hover { color: var(--gh-1, #ffba08) !important; }
.hud-breadcrumb-separator { color: rgba(255, 255, 255, 0.26) !important; }
.hud-breadcrumb-current { color: var(--gh-1, #ffba08) !important; }

/* generic section shell used after the band */
.about-main-section,
.page-content { background: transparent !important; }

/* ---------------------------------------------------------------------
   4. AUTH PAGES  (login / register / forgot password)
   --------------------------------------------------------------------- */
.polygamez-auth-page { padding: 74px 0 96px !important; }

.auth-shell {
    background: linear-gradient(150deg, rgba(30, 21, 22, 0.92), rgba(9, 6, 7, 0.97)) !important;
    border: 1px solid rgba(255, 186, 8, 0.20) !important;
    border-radius: 30px !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.62) !important;
}

.auth-visual-panel {
    position: relative;
    background: linear-gradient(160deg, rgba(232, 93, 4, 0.18), rgba(8, 5, 6, 0.9)) !important;
    border-right: 1px solid rgba(255, 186, 8, 0.14) !important;
}
.auth-visual-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 186, 8, 0.18), transparent 60%);
    pointer-events: none;
}
.auth-home-link {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-self: flex-start;
    width: max-content !important;
    gap: 9px;
    padding: 9px 16px !important;
    border-radius: 999px !important;
    background: rgba(10, 7, 8, 0.6) !important;
    border: 1px solid rgba(255, 186, 8, 0.24) !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
}
.auth-home-link:hover { color: var(--gh-1, #ffba08) !important; }

.auth-support-card {
    position: relative;
    z-index: 2;
    background: rgba(10, 7, 8, 0.72) !important;
    border: 1px solid rgba(255, 186, 8, 0.22) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff !important;
}
.auth-support-card span { color: rgba(255, 255, 255, 0.5) !important; }
.auth-support-card strong { color: #ffffff !important; }
.auth-support-card i { color: var(--gh-1, #ffba08) !important; }

.auth-kicker {
    background: rgba(255, 186, 8, 0.10) !important;
    border: 1px solid rgba(255, 186, 8, 0.30) !important;
    color: var(--gh-1, #ffba08) !important;
    font-family: 'Orbitron', 'Chakra Petch', sans-serif !important;
    letter-spacing: 0.24em !important;
}

.auth-form-panel h1 {
    color: #ffffff !important;
    font-family: 'Chakra Petch', 'Orbitron', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: -0.01em !important;
}
.auth-form-panel p { color: rgba(255, 255, 255, 0.5) !important; }

.auth-field label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: 'Orbitron', 'Chakra Petch', sans-serif !important;
    font-size: 10px !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.auth-input-wrap .form-control {
    height: 54px !important;
    background: rgba(0, 0, 0, 0.42) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
}
.auth-input-wrap .form-control::placeholder { color: rgba(255, 255, 255, 0.28) !important; }
.auth-input-wrap .form-control:focus {
    background: rgba(0, 0, 0, 0.58) !important;
    border-color: rgba(255, 186, 8, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(255, 186, 8, 0.10) !important;
}
.auth-input-wrap i { color: rgba(255, 255, 255, 0.34) !important; }
.auth-input-wrap .form-control:focus + i { color: var(--gh-1, #ffba08) !important; }

.auth-check { color: rgba(255, 255, 255, 0.55) !important; }
.auth-check input { accent-color: var(--gh-3, #f48c06) !important; }
.auth-options a,
.auth-switch-link a { color: var(--gh-1, #ffba08) !important; }
.auth-options a:hover,
.auth-switch-link a:hover { color: #ffffff !important; }
.auth-switch-link p { color: rgba(255, 255, 255, 0.5) !important; }

.auth-captcha-image {
    background: rgba(0, 0, 0, 0.42) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 14px !important;
}

.auth-submit-btn {
    min-height: 54px !important;
    border: none !important;
    border-radius: 15px !important;
    background: linear-gradient(120deg, #ffba08, #f48c06 52%, #dc2f02) !important;
    color: #080506 !important;
    font-family: 'Chakra Petch', sans-serif !important;
    letter-spacing: 0.14em !important;
    box-shadow: 0 16px 38px rgba(232, 93, 4, 0.32) !important;
}
.auth-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    background: linear-gradient(120deg, #ffba08, #f48c06 52%, #dc2f02) !important;
    color: #080506 !important;
    box-shadow: 0 22px 50px rgba(232, 93, 4, 0.44) !important;
}

/* ---------------------------------------------------------------------
   5. FORM CONTROLS (generic)
   --------------------------------------------------------------------- */
.form-control,
.form-select,
select.form-control,
textarea.form-control,
input[type="text"].form-control,
input[type="email"].form-control,
input[type="password"].form-control,
input[type="number"].form-control,
input[type="tel"].form-control {
    background: rgba(0, 0, 0, 0.40) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 13px !important;
    color: #ffffff !important;
    box-shadow: none !important;
}
.form-control::placeholder,
textarea::placeholder { color: rgba(255, 255, 255, 0.28) !important; }
.form-control:focus,
.form-select:focus {
    background: rgba(0, 0, 0, 0.55) !important;
    border-color: rgba(255, 186, 8, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(255, 186, 8, 0.10) !important;
    color: #ffffff !important;
}
.form-select option,
select option { background: #120d0e; color: #ffffff; }
.form-label,
label { color: rgba(255, 255, 255, 0.72); }
.form-check-input {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}
.form-check-input:checked {
    background-color: var(--gh-3, #f48c06);
    border-color: var(--gh-3, #f48c06);
}
.input-group-text {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Chrome autofill paints its own pale-blue fill. Only the inset box-shadow
   trick can repaint it — and it has to out-specify `box-shadow: none` on
   .auth-input-wrap .form-control, hence the long selector list. */
body input:-webkit-autofill,
body input:-webkit-autofill:hover,
body input:-webkit-autofill:focus,
body input:-webkit-autofill:active,
body textarea:-webkit-autofill,
body select:-webkit-autofill,
body .form-control:-webkit-autofill,
body .auth-input-wrap .form-control:-webkit-autofill,
body .auth-input-wrap .form-control:-webkit-autofill:hover,
body .auth-input-wrap .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #16100f inset !important;
    box-shadow: 0 0 0 1000px #16100f inset !important;
    caret-color: #ffffff;
    transition: background-color 9999s ease-in-out 0s;
}

/* ---------------------------------------------------------------------
   6. BUTTONS
   --------------------------------------------------------------------- */
.cus-btn,
.btn-primary,
.btn-theme {
    border: none !important;
    border-radius: 14px !important;
    background: linear-gradient(120deg, #ffba08, #f48c06 52%, #dc2f02) !important;
    color: #080506 !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 14px 32px rgba(232, 93, 4, 0.28) !important;
    transition: all 0.28s cubic-bezier(0.16, 0.84, 0.44, 1) !important;
}
.cus-btn::before,
.cus-btn::after { display: none !important; content: none !important; }
.cus-btn:hover,
.btn-primary:hover,
.btn-theme:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    color: #080506 !important;
    box-shadow: 0 20px 46px rgba(232, 93, 4, 0.42) !important;
}
.btn-outline-primary,
.btn-secondary,
.btn-outline-dark,
.btn-light {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
}
.btn-outline-primary:hover,
.btn-secondary:hover,
.btn-outline-dark:hover,
.btn-light:hover {
    background: rgba(255, 186, 8, 0.13) !important;
    border-color: rgba(255, 186, 8, 0.45) !important;
    color: var(--gh-1, #ffba08) !important;
}

/* ---------------------------------------------------------------------
   7. SURFACES — cards / panels / tables / accordion
   --------------------------------------------------------------------- */
.card,
.panel,
.widget {
    background: rgba(255, 255, 255, 0.032) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 18px !important;
    color: rgba(255, 255, 255, 0.62);
}
.card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}
.card-body { color: rgba(255, 255, 255, 0.58) !important; }
.card-body p { color: rgba(255, 255, 255, 0.58) !important; }

.table {
    color: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}
.table > :not(caption) > * > * {
    background: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    color: inherit !important;
}
.table thead th {
    background: rgba(255, 186, 8, 0.07) !important;
    border-bottom: 1px solid rgba(255, 186, 8, 0.18) !important;
    color: var(--gh-1, #ffba08) !important;
    font-family: 'Orbitron', 'Chakra Petch', sans-serif !important;
    font-size: 10px !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.table tbody tr:hover > * { background: rgba(255, 186, 8, 0.045) !important; }

/* bootstrap collapse accordion (FAQs) */
.faq-cntnt { background: transparent !important; padding: 84px 0 96px; }
.faq-cntnt > .container > h2 {
    margin-bottom: 34px;
    font-size: clamp(24px, 3.4vw, 38px) !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
#accordion .card {
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}
#accordion .card:hover { border-color: rgba(255, 186, 8, 0.3) !important; }
#accordion .card-header { padding: 0 !important; border-bottom: none !important; }
#accordion .card-header h2 { margin: 0 !important; }
.accordion-title {
    display: block;
    padding: 18px 54px 18px 22px !important;
    position: relative;
    color: #ffffff !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
}
.accordion-title:hover { color: var(--gh-1, #ffba08) !important; }
.accordion-title::after {
    content: "\f068"; /* minus */
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", sans-serif;
    font-weight: 900;
    position: absolute;
    top: 50%; right: 20px;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(120deg, #ffba08, #dc2f02);
    color: #080506;
    font-size: 10px;
}
.accordion-title.collapsed::after {
    content: "\f067"; /* plus */
    background: rgba(255, 255, 255, 0.07);
    color: var(--gh-1, #ffba08);
}
#accordion .collapse .card-body,
#accordion .collapsing .card-body {
    padding: 0 22px 20px !important;
    font-size: 14px;
    line-height: 1.75;
}

/* ---------------------------------------------------------------------
   8. PAGINATION / ALERTS / MISC
   --------------------------------------------------------------------- */
.pagination .page-link {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 11px !important;
    margin: 0 3px;
    color: rgba(255, 255, 255, 0.7) !important;
}
.pagination .page-link:hover {
    background: rgba(255, 186, 8, 0.13) !important;
    border-color: rgba(255, 186, 8, 0.4) !important;
    color: var(--gh-1, #ffba08) !important;
}
.pagination .page-item.active .page-link {
    background: linear-gradient(120deg, #ffba08, #dc2f02) !important;
    border-color: transparent !important;
    color: #080506 !important;
}
.pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.02) !important;
    color: rgba(255, 255, 255, 0.24) !important;
}

.alert {
    border-radius: 14px !important;
    border-width: 1px !important;
    font-weight: 600;
}
.alert-success {
    background: rgba(255, 186, 8, 0.10) !important;
    border-color: rgba(255, 186, 8, 0.28) !important;
    color: var(--gh-1, #ffba08) !important;
}
.alert-danger,
.alert-error {
    background: rgba(220, 47, 2, 0.12) !important;
    border-color: rgba(220, 47, 2, 0.34) !important;
    color: #ff8a4d !important;
}
.alert-warning {
    background: rgba(244, 140, 6, 0.12) !important;
    border-color: rgba(244, 140, 6, 0.30) !important;
    color: #f8b64c !important;
}
.alert-info {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.78) !important;
}
.text-danger { color: #ff7a45 !important; }
.text-success { color: var(--gh-1, #ffba08) !important; }

hr { border-color: rgba(255, 255, 255, 0.08) !important; opacity: 1; }

.section-title .subtitle,
.subtitle.bg-primary-opacity {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px !important;
    border-radius: 999px !important;
    background: rgba(255, 186, 8, 0.10) !important;
    border: 1px solid rgba(255, 186, 8, 0.28) !important;
    color: var(--gh-1, #ffba08) !important;
    font-family: 'Orbitron', 'Chakra Petch', sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.24em !important;
    text-transform: uppercase;
}
.theme-gradient {
    background: linear-gradient(90deg, #ffba08, #f48c06 55%, #dc2f02);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bg-color-white { background: transparent !important; }

/* social pills (instructor pages) */
.social-icon li a,
.social-default li a {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.72) !important;
    transition: all 0.25s ease;
}
.social-icon li a:hover,
.social-default li a:hover {
    background: linear-gradient(120deg, #ffba08, #dc2f02) !important;
    border-color: transparent !important;
    color: #080506 !important;
    transform: translateY(-3px);
}
.rbt-information-list li a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
}
.rbt-information-list li a:hover { color: var(--gh-1, #ffba08) !important; }
.rbt-team-thumbnail .thumb img {
    border-radius: 20px;
    border: 1px solid rgba(255, 186, 8, 0.18);
}
.rbt-team-tab-thumb .thumb img {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}
.rbt-team-tab-thumb .nav-link.active .thumb img,
.rbt-team-tab-thumb a.active .thumb img {
    border-color: var(--gh-1, #ffba08);
    box-shadow: 0 12px 30px rgba(232, 93, 4, 0.34);
}

/* ---------------------------------------------------------------------
   9. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 991px) {
    .about-title-band { padding: 128px 0 62px !important; }
}
@media (max-width: 575px) {
    .about-title-band { padding: 112px 0 52px !important; }
    .faq-cntnt { padding: 56px 0 68px; }
    .accordion-title { padding: 16px 48px 16px 18px !important; font-size: 14px !important; }
}
