/* =============================================================================
   Nexus Brand Theme — Gold + Black + Cream
   Overrides corporate-bundle default blue theme.
   ============================================================================= */

:root {
    --nx-gold: #b8860b;
    --nx-gold-light: #d4a84b;
    --nx-gold-dark: #8c6508;
    --nx-black: #0a0a0a;
    --nx-charcoal: #1a1a1a;
    --nx-white: #ffffff;
    --nx-ivory: #fafaf8;
    --nx-cream: #f5f5f3;
    --nx-text: #1a1a1a;
    --nx-text-light: #6b6b6b;
    --nx-border: #e8e8e6;

    /* Override corporate-bundle tokens */
    --corporate-primary: var(--nx-gold);
    --corporate-primary-dark: var(--nx-gold-dark);
    --corporate-primary-light: var(--nx-gold-light);
    --corporate-secondary: var(--nx-gold-light);
    --corporate-dark: var(--nx-black);
    --corporate-dark-secondary: var(--nx-charcoal);
    --corporate-dark-tertiary: #2a2a2a;
    --corporate-light: var(--nx-ivory);
    --corporate-light-secondary: var(--nx-cream);
    --corporate-text: var(--nx-text);
    --corporate-text-muted: var(--nx-text-light);
    --corporate-text-light: #9a9a9a;
    --corporate-border: var(--nx-border);

    /* Bootstrap 5 overrides */
    --bs-primary: var(--nx-gold);
    --bs-primary-rgb: 184, 134, 11;
    --bs-link-color: var(--nx-gold-dark);
    --bs-link-hover-color: var(--nx-gold);
    --bs-body-bg: var(--nx-ivory);
    --bs-body-color: var(--nx-text);
}

/* -----------------------------------------------------------------------------
   BODY
   ----------------------------------------------------------------------------- */
body {
    background: var(--nx-ivory);
    color: var(--nx-text);
}

/* -----------------------------------------------------------------------------
   TYPOGRAPHY - premium serif accent for display headings
   ----------------------------------------------------------------------------- */
.section-title,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--nx-black);
}

.section-dark .section-title,
.section-dark .display-1, .section-dark .display-2, .section-dark .display-3,
.section-dark .display-4, .section-dark .display-5, .section-dark .display-6,
.hero-section .display-1, .hero-section .display-2, .hero-section .display-3,
.hero-section .display-4, .hero-section .display-5, .hero-section .display-6 {
    color: var(--nx-white);
}

/* Subtle gold underline on section titles */
.section-title {
    position: relative;
    padding-bottom: 0.75rem;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--nx-gold), transparent);
}
.text-start .section-title::after,
.section-title.text-start::after {
    left: 0;
    transform: none;
}

/* -----------------------------------------------------------------------------
   BUTTONS — gold gradient primary
   ----------------------------------------------------------------------------- */
.btn-primary,
.btn-primary:focus {
    background: linear-gradient(135deg, #b8860b 0%, #d4a84b 100%);
    border-color: var(--nx-gold);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(184, 134, 11, 0.25);
    transition: all 0.25s ease;
}
.btn-primary:hover,
.btn-primary:active {
    background: linear-gradient(135deg, #8c6508 0%, #b8860b 100%) !important;
    border-color: var(--nx-gold-dark) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--nx-gold-dark);
    border-color: var(--nx-gold);
    font-weight: 600;
}
.btn-outline-primary:hover {
    background: var(--nx-gold);
    border-color: var(--nx-gold);
    color: #fff;
}

.btn-dark,
.btn-dark:focus {
    background: var(--nx-black);
    border-color: var(--nx-black);
    color: #fff;
}
.btn-dark:hover {
    background: var(--nx-charcoal);
    border-color: var(--nx-charcoal);
}

/* -----------------------------------------------------------------------------
   HERO — warm cream/ivory with gold radial, NOT cold blue-dark
   ----------------------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, var(--nx-ivory) 0%, var(--nx-cream) 55%, #efede8 100%) !important;
    color: var(--nx-text) !important;
}
.hero-section::after {
    background: radial-gradient(ellipse at top right, rgba(184, 134, 11, 0.18) 0%, transparent 60%) !important;
}
.hero-section::before {
    opacity: 0.25 !important;
    filter: invert(1);
}
.hero-section .lead {
    color: var(--nx-text-light) !important;
}
.hero-section h1,
.hero-section h2,
.hero-section .display-1,
.hero-section .display-2,
.hero-section .display-3,
.hero-section .display-4 {
    color: var(--nx-black) !important;
}
.hero-section .text-primary,
.hero-section .text-gold {
    color: var(--nx-gold-dark) !important;
}

/* -----------------------------------------------------------------------------
   SECTIONS
   ----------------------------------------------------------------------------- */
.section-light {
    background-color: var(--nx-cream);
}

.section-dark {
    background: linear-gradient(135deg, var(--nx-black) 0%, var(--nx-charcoal) 100%);
}

/* Gold divider between sections */
.section + .section::before,
.section-divider {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nx-gold), transparent);
    opacity: 0.4;
}

/* -----------------------------------------------------------------------------
   FEATURE CARDS — gold glow on hover
   ----------------------------------------------------------------------------- */
.feature-card {
    border: 1px solid var(--nx-border);
    background: var(--nx-white);
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: var(--nx-gold-light);
    box-shadow: 0 20px 40px -12px rgba(184, 134, 11, 0.15),
                0 0 0 1px rgba(184, 134, 11, 0.2);
    transform: translateY(-4px);
}

.feature-icon {
    color: var(--nx-gold);
}
.feature-icon.bg-primary,
.feature-icon[class*="bg-primary"] {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.12), rgba(212, 168, 75, 0.18)) !important;
    color: var(--nx-gold-dark) !important;
}

/* -----------------------------------------------------------------------------
   PRICING CARDS
   ----------------------------------------------------------------------------- */
.pricing-card {
    border: 1px solid var(--nx-border);
    background: var(--nx-white);
    position: relative;
}
.pricing-card.featured {
    border: 2px solid var(--nx-gold);
    box-shadow: 0 20px 50px -15px rgba(184, 134, 11, 0.35);
}
.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--nx-gold), var(--nx-gold-light), var(--nx-gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.pricing-card .price,
.pricing-card .h1,
.pricing-card h1 {
    color: var(--nx-black);
    font-family: 'Playfair Display', Georgia, serif;
}

/* -----------------------------------------------------------------------------
   CTA SECTION — cream gradient with gold radial (matches feature detail hero)
   ----------------------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(135deg, #fafaf8 0%, #f5f5f3 50%, #fafaf8 100%) !important;
    color: var(--nx-text) !important;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(184, 134, 11, 0.25);
    border-bottom: 1px solid rgba(184, 134, 11, 0.12);
    padding: 5rem 0;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(184, 134, 11, 0.14) 0%, transparent 65%) !important;
    pointer-events: none;
    z-index: 0;
}
.cta-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184,134,11,0.55) 30%, rgba(212,168,75,0.7) 50%, rgba(184,134,11,0.55) 70%, transparent);
    z-index: 1;
}
.cta-section > .container {
    position: relative;
    z-index: 2;
}
.cta-section h2,
.cta-section .display-5,
.cta-section .display-6 {
    color: var(--nx-black) !important;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
.cta-section .lead,
.cta-section p {
    color: var(--nx-text-light) !important;
}
.cta-section .opacity-90,
.cta-section .opacity-75 {
    opacity: 1 !important;
}
.cta-section .btn-light {
    background: linear-gradient(135deg, #b8860b 0%, #d4a84b 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(184,134,11,0.35);
}
.cta-section .btn-light:hover {
    background: linear-gradient(135deg, #8c6508 0%, #b8860b 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}
.cta-section .btn-outline-light {
    border: 1px solid var(--nx-black) !important;
    color: var(--nx-black) !important;
    background: transparent !important;
    font-weight: 500;
}
.cta-section .btn-outline-light:hover {
    background: var(--nx-black) !important;
    color: var(--nx-gold-light) !important;
    border-color: var(--nx-black) !important;
}

/* -----------------------------------------------------------------------------
   FOOTER — deep black with gold accents
   ----------------------------------------------------------------------------- */
.footer {
    background: var(--nx-black);
    color: #9a9a9a;
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nx-gold), transparent);
}
.footer a:hover {
    color: var(--nx-gold-light);
}
.footer-title {
    color: var(--nx-white);
}

/* -----------------------------------------------------------------------------
   NAVBAR
   ----------------------------------------------------------------------------- */
.navbar-brand {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.01em;
}
.navbar-brand .brand-accent,
.navbar-brand span.accent {
    color: var(--nx-gold);
}

#main-navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--nx-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
#main-navbar.navbar-scrolled .nav-link:hover {
    color: var(--nx-gold-dark) !important;
}
#main-navbar.navbar-scrolled .btn-light {
    background: linear-gradient(135deg, var(--nx-gold) 0%, var(--nx-gold-light) 100%) !important;
    border-color: var(--nx-gold) !important;
    color: #fff !important;
}
#main-navbar.navbar-scrolled .btn-light:hover {
    background: linear-gradient(135deg, var(--nx-gold-dark) 0%, var(--nx-gold) 100%) !important;
    filter: none;
}

/* Transparent state over cream hero: text must be dark, not white */
#main-navbar.navbar-dark-transparent .nav-link,
#main-navbar.navbar-dark-transparent .navbar-brand {
    color: var(--nx-text) !important;
}
#main-navbar.navbar-dark-transparent .nav-link:hover {
    color: var(--nx-gold-dark) !important;
}
#main-navbar.navbar-dark-transparent .btn-outline-light {
    color: var(--nx-text) !important;
    border-color: var(--nx-border) !important;
}
#main-navbar.navbar-dark-transparent .btn-outline-light:hover {
    background: var(--nx-black) !important;
    border-color: var(--nx-black) !important;
    color: #fff !important;
}
#main-navbar.navbar-dark-transparent .btn-light {
    background: linear-gradient(135deg, var(--nx-gold) 0%, var(--nx-gold-light) 100%) !important;
    border-color: var(--nx-gold) !important;
    color: #fff !important;
}
#main-navbar.navbar-dark-transparent .navbar-toggler {
    border-color: var(--nx-border) !important;
}
#main-navbar.navbar-dark-transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2810,10,10,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
#main-navbar.navbar-dark-transparent .language-selector .dropdown-toggle {
    color: var(--nx-text) !important;
    border-color: var(--nx-border) !important;
}
#main-navbar.navbar-dark-transparent .language-selector .dropdown-toggle::after {
    color: var(--nx-text);
}

/* -----------------------------------------------------------------------------
   LINKS / TEXT UTILITIES
   ----------------------------------------------------------------------------- */
a {
    color: var(--nx-gold-dark);
}
a:hover {
    color: var(--nx-gold);
}
.text-primary {
    color: var(--nx-gold-dark) !important;
}
.bg-primary {
    background-color: var(--nx-gold) !important;
}

/* -----------------------------------------------------------------------------
   ACCORDION (FAQ)
   ----------------------------------------------------------------------------- */
.accordion-button:not(.collapsed) {
    background-color: var(--nx-cream);
    color: var(--nx-black);
}
.accordion-button:not(.collapsed)::after {
    filter: sepia(1) saturate(4) hue-rotate(5deg) brightness(0.75);
}

/* -----------------------------------------------------------------------------
   BADGES
   ----------------------------------------------------------------------------- */
.badge.bg-primary {
    background: linear-gradient(135deg, var(--nx-gold) 0%, var(--nx-gold-light) 100%) !important;
    color: #fff;
}

/* -----------------------------------------------------------------------------
   STAT NUMBERS — gold
   ----------------------------------------------------------------------------- */
.stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    background: linear-gradient(135deg, var(--nx-gold) 0%, var(--nx-gold-light) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--nx-gold);
}
.section-dark .stat-number {
    background: linear-gradient(135deg, var(--nx-gold-light) 0%, var(--nx-gold) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =============================================================================
   FEATURE DETAIL PAGES — Nexus LIGHT cream/ivory palette (no black hero)
   Template uses inline styles, so we need !important to win.
   ============================================================================= */

/* Hero background: LIGHT cream gradient (was slate/black) */
.hero-feature {
    background: linear-gradient(135deg, #fafaf8 0%, #f5f5f3 50%, #fafaf8 100%) !important;
    position: relative;
    color: #1a1a1a !important;
}
/* Subtle gold radial accent on top */
.hero-feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(184, 134, 11, 0.14) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.hero-feature > .container {
    position: relative;
    z-index: 2;
}
/* Fade out/recolor the grid-pattern SVG overlay (bundle renders it as the first inner div) */
.hero-feature > div:first-of-type {
    opacity: 0.12 !important;
    filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg);
}
.hero-feature h1,
.hero-feature .display-4,
.hero-feature .display-3,
.hero-feature h2 {
    color: #1a1a1a !important;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
.hero-feature .lead,
.hero-feature p {
    color: #6b6b6b !important;
}
.hero-feature .text-white,
.hero-feature .text-white-50 {
    color: #1a1a1a !important;
}

/* Primary hero CTA — Nexus gold gradient (white text) */
.hero-feature a.btn:first-of-type {
    background: linear-gradient(135deg, #b8860b 0%, #d4a84b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.35) !important;
    transition: all 0.25s ease;
}
.hero-feature a.btn:first-of-type:hover {
    background: linear-gradient(135deg, #8c6508 0%, #b8860b 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.5) !important;
    color: #ffffff !important;
}

/* Secondary hero CTA — dark outline on cream */
.hero-feature a.btn:not(:first-of-type) {
    background: transparent !important;
    border: 1px solid #1a1a1a !important;
    color: #1a1a1a !important;
    font-weight: 500 !important;
}
.hero-feature a.btn:not(:first-of-type):hover {
    background: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: #d4a84b !important;
}

/* Neutralize any OTHER inline dark-slate sections — convert to cream */
section[style*="#0f172a"] {
    background: linear-gradient(135deg, #fafaf8 0%, #f5f5f3 100%) !important;
    color: #1a1a1a !important;
}
section[style*="#0f172a"] h1,
section[style*="#0f172a"] h2,
section[style*="#0f172a"] h3,
section[style*="#0f172a"] .display-6,
section[style*="#0f172a"] .text-white {
    color: #1a1a1a !important;
}
section[style*="#0f172a"] .lead,
section[style*="#0f172a"] p,
section[style*="#0f172a"] .text-white-50 {
    color: #6b6b6b !important;
}
section[style*="#0f172a"] .btn-light {
    background: linear-gradient(135deg, #b8860b 0%, #d4a84b 100%) !important;
    border-color: #b8860b !important;
    color: #ffffff !important;
}
section[style*="#0f172a"] .btn-outline-light {
    border-color: #1a1a1a !important;
    color: #1a1a1a !important;
    background: transparent !important;
}
section[style*="#0f172a"] .btn-outline-light:hover {
    background: #1a1a1a !important;
    color: #d4a84b !important;
}

/* "How it Works" step circle — gold on cream */
.hero-feature ~ section .rounded-circle[style*="#0f172a"],
section .rounded-circle[style*="#0f172a"] {
    background: linear-gradient(135deg, #b8860b 0%, #d4a84b 100%) !important;
    border: 1px solid rgba(184, 134, 11, 0.4) !important;
    color: #ffffff !important;
}

/* Section titles in feature detail — Playfair + gold underline like landing */
.hero-feature ~ section .display-6 {
    font-family: 'Playfair Display', Georgia, serif;
    position: relative;
    padding-bottom: 0.75rem;
}
.hero-feature ~ section .text-center .display-6::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--nx-gold), transparent);
}

/* FAQ accordion — gold accent on active */
.hero-feature ~ section .accordion-button:not(.collapsed) {
    background-color: #fdfcf8 !important;
    color: var(--nx-black) !important;
    box-shadow: inset 3px 0 0 var(--nx-gold) !important;
}
.hero-feature ~ section .accordion-button:not(.collapsed)::after {
    filter: sepia(1) saturate(5) hue-rotate(5deg) brightness(0.75);
}

/* Prev / next navigation buttons — gold hover */
.hero-feature ~ section .btn-outline-dark:hover {
    background: linear-gradient(135deg, #b8860b 0%, #d4a84b 100%) !important;
    border-color: #b8860b !important;
    color: #0a0a0a !important;
}

/* =============================================================================
   FOOTER — Nexus premium black + gold
   The default footer uses Bootstrap classes; override with high specificity.
   ============================================================================= */
footer.footer {
    background: #f5f5f3 !important;
    color: #6b6b6b;
    border-top: none;
    position: relative;
    padding: 4rem 0 1.5rem;
}
footer.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.35) 30%, rgba(184, 134, 11, 0.45) 50%, rgba(184, 134, 11, 0.35) 70%, transparent);
}

/* Company name / section headings */
footer.footer h5,
footer.footer .footer-title,
footer.footer h6 {
    color: #1a1a1a !important;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 1.25rem;
}

/* Paragraphs / tagline */
footer.footer p {
    color: #6b6b6b;
}

/* Links */
footer.footer a {
    color: #6b6b6b !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
footer.footer a:hover {
    color: #b8860b !important;
}

/* Bottom bar separator — gold thin line on cream */
footer.footer .border-top.border-secondary,
footer.footer .border-top {
    border-top: none !important;
    position: relative;
    padding-top: 1.75rem !important;
}
footer.footer .border-top.border-secondary::before,
footer.footer .border-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.35), transparent);
}

/* Copyright text */
footer.footer .border-top p {
    color: #999999;
    font-size: 0.875rem;
}

/* Language selector in footer: CA | ES | EN */
footer.footer .d-inline-flex a {
    color: #999999 !important;
    padding: 0 0.5rem;
    position: relative;
    font-weight: 500;
    font-size: 0.875rem;
}
footer.footer .d-inline-flex a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -0.15rem;
    color: #d0d0ce;
    pointer-events: none;
}
footer.footer .d-inline-flex a.text-white,
footer.footer .d-inline-flex a.active {
    color: #0a0a0a !important;
}
footer.footer .d-inline-flex a:hover {
    color: #b8860b !important;
}

/* Social icons */
footer.footer .d-flex.gap-3 a {
    color: #6b6b6b !important;
    transition: color 0.2s ease, transform 0.2s ease;
}
footer.footer .d-flex.gap-3 a:hover {
    color: #b8860b !important;
    transform: translateY(-2px);
}

/* =============================================================================
   AUTH PAGES (login / register / password recovery) — Nexus gold polish
   Auth layout (corporate-bundle) uses hardcoded blue focus rings and generic
   brand styling. Override to match Nexus cream/gold identity.
   ============================================================================= */

/* Body bg stays ivory — override auth-wrapper plain cream */
.auth-wrapper {
    background: linear-gradient(135deg, #fafaf8 0%, #f5f5f3 55%, #efede8 100%) !important;
    position: relative;
}
.auth-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(184, 134, 11, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* Card container: soft gold-tinted shadow + thin gold border */
.auth-container {
    border: 1px solid rgba(184, 134, 11, 0.15) !important;
    box-shadow: 0 20px 50px -15px rgba(184, 134, 11, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* Left brand panel: light cream to match visual line, with gold accents */
.auth-brand {
    background: linear-gradient(135deg, #fafaf8 0%, #f5f1e8 100%) !important;
    border-right: 1px solid rgba(184, 134, 11, 0.15) !important;
    position: relative;
}
.auth-brand::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b8860b, #d4a84b, #b8860b, transparent);
    pointer-events: none;
}
.auth-brand-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    background: linear-gradient(135deg, #b8860b 0%, #8c6508 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-brand-text {
    color: #6b6357 !important;
}
.auth-trust span {
    color: #8a8274 !important;
}
.auth-trust i {
    color: #b8860b !important;
}

/* Right form panel: Playfair heading if any, gold focus rings (were hardcoded blue) */
.auth-form .form-control:focus,
.auth-form .input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15) !important;
    border-color: #b8860b !important;
}
.auth-form .form-control:focus {
    border-color: #b8860b !important;
}
.auth-form .input-group:focus-within .input-group-text,
.auth-form .input-group:focus-within .form-control,
.auth-form .input-group:focus-within .toggle-password {
    border-color: #b8860b !important;
}

/* Submit — gold gradient */
.auth-form .btn-primary,
.auth-form .btn-primary:focus {
    background: linear-gradient(135deg, #b8860b 0%, #d4a84b 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 14px rgba(184, 134, 11, 0.25) !important;
    transition: all 0.25s ease;
}
.auth-form .btn-primary:hover,
.auth-form .btn-primary:active {
    background: linear-gradient(135deg, #8c6508 0%, #b8860b 100%) !important;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Links (forgot password, sign up, etc) */
.auth-form a,
.auth-footer a,
.form-label-description a {
    color: #8c6508 !important;
    font-weight: 500;
}
.auth-form a:hover,
.auth-footer a:hover,
.form-label-description a:hover {
    color: #b8860b !important;
}

/* Checkboxes checked — gold */
.auth-form .form-check-input:checked {
    background-color: #b8860b !important;
    border-color: #b8860b !important;
}
.auth-form .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15) !important;
    border-color: #b8860b !important;
}

/* Account-type card selectable highlight — gold */
.card-selectable:hover {
    border-color: rgba(184, 134, 11, 0.45) !important;
}
.card-selectable.active {
    border-color: #b8860b !important;
    background: rgba(184, 134, 11, 0.04) !important;
}
.card-selectable.active .bi {
    color: #b8860b !important;
}

/* Contact button override — needs dark text on cream background */
footer.footer a.btn.btn-outline-light {
    color: #1a1a1a !important;
    border: 1px solid #1a1a1a !important;
    background: transparent !important;
    transition: all 0.2s ease;
}
footer.footer a.btn.btn-outline-light:hover {
    background: #1a1a1a !important;
    color: #d4a84b !important;
    border-color: #1a1a1a !important;
}
