/* ============================================================
   Edmonton Auction House - Site Stylesheet
   Built on Bootstrap 5.2.3 - overrides and extensions only
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Custom Properties
   ------------------------------------------------------------ */
:root {
    /* Brand palette */
    --eah-navy:           #1A2744;
    --eah-navy-light:     #2D4A7A;
    --eah-navy-lighter:   #3B5E99;
    --eah-gold:           #D4940A;
    --eah-gold-hover:     #B87E08;
    --eah-gold-light:     #F5C842;
    --eah-gold-bg:        #FEF7E0;
    --eah-emerald:        #0F8A5F;
    --eah-emerald-bg:     #E6F5EE;
    --eah-red:            #C52233;
    --eah-red-bg:         #FDEAED;

    /* Neutrals */
    --eah-bg:             #F7F8FA;
    --eah-surface:        #FFFFFF;
    --eah-text:           #1E293B;
    --eah-text-secondary: #64748B;
    --eah-text-muted:     #94A3B8;
    --eah-border:         #E2E8F0;
    --eah-border-dark:    #CBD5E1;

    /* Typography */
    --eah-font:           'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Spacing */
    --eah-radius:         0.5rem;
    --eah-radius-sm:      0.25rem;
    --eah-radius-lg:      0.75rem;
    --eah-shadow:         0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --eah-shadow-md:      0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --eah-shadow-lg:      0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
}


/* ------------------------------------------------------------
   2. Base / Global
   ------------------------------------------------------------ */
body {
    font-family: var(--eah-font);
    background-color: var(--eah-bg);
    color: var(--eah-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.body-content {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

a {
    color: var(--eah-navy-light);
    text-decoration: none;
}

a:hover {
    color: var(--eah-navy);
    text-decoration: underline;
}

::selection {
    background-color: var(--eah-gold-light);
    color: var(--eah-navy);
}

hr {
    border-color: var(--eah-border);
    opacity: 1;
}

img {
    max-width: 100%;
    height: auto;
}


/* ------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--eah-font);
    font-weight: 700;
    color: var(--eah-navy);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.25rem; }

.text-gold   { color: var(--eah-gold); }
.text-navy   { color: var(--eah-navy); }
.text-muted  { color: var(--eah-text-secondary) !important; }


/* ------------------------------------------------------------
   4. Navbar
   ------------------------------------------------------------ */
.navbar {
    background-color: var(--eah-navy) !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: none;
    transition: box-shadow 0.2s ease;
}

.navbar.navbar-scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.navbar .navbar-brand:hover {
    color: var(--eah-gold-light);
    text-decoration: none;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.875rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #FFFFFF;
    border-bottom-color: var(--eah-gold);
    text-decoration: none;
}

.navbar .nav-link.active {
    color: #FFFFFF;
    border-bottom-color: var(--eah-gold);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}


/* ------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------ */

/* Primary - gold CTA */
.btn-eah-primary {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: var(--eah-radius);
    padding: 0.5rem 1.25rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-eah-primary:hover,
.btn-eah-primary:focus {
    background-color: var(--eah-gold-hover);
    border-color: var(--eah-gold-hover);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(212, 148, 10, 0.35);
}

.btn-eah-primary:active {
    background-color: #9E6E06;
    border-color: #9E6E06;
    color: #FFFFFF;
}

/* Secondary - navy */
.btn-eah-secondary {
    background-color: var(--eah-navy);
    border-color: var(--eah-navy);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: var(--eah-radius);
    padding: 0.5rem 1.25rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-eah-secondary:hover,
.btn-eah-secondary:focus {
    background-color: var(--eah-navy-light);
    border-color: var(--eah-navy-light);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(26, 39, 68, 0.3);
}

.btn-eah-secondary:active {
    background-color: #111B30;
    border-color: #111B30;
    color: #FFFFFF;
}

/* Outline gold */
.btn-eah-outline-gold {
    background-color: transparent;
    border: 2px solid var(--eah-gold);
    color: var(--eah-gold);
    font-weight: 600;
    border-radius: var(--eah-radius);
    padding: 0.4375rem 1.1875rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-eah-outline-gold:hover,
.btn-eah-outline-gold:focus {
    background-color: var(--eah-gold);
    color: #FFFFFF;
}

/* Outline white - for dark backgrounds */
.btn-eah-outline-white {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-weight: 600;
    border-radius: var(--eah-radius);
    padding: 0.4375rem 1.1875rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-eah-outline-white:hover,
.btn-eah-outline-white:focus {
    background-color: #FFFFFF;
    color: var(--eah-navy);
}

/* Large CTA button */
.btn-eah-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--eah-radius);
}

/* Bid button - extra emphasis */
.btn-bid {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--eah-radius);
    width: 100%;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-bid:hover,
.btn-bid:focus {
    background-color: var(--eah-gold-hover);
    border-color: var(--eah-gold-hover);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(212, 148, 10, 0.4);
    transform: translateY(-1px);
}

.btn-bid:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(212, 148, 10, 0.3);
}

.btn-bid:disabled {
    background-color: var(--eah-border-dark);
    border-color: var(--eah-border-dark);
    color: var(--eah-text-muted);
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}


/* ------------------------------------------------------------
   6. Cards
   ------------------------------------------------------------ */
.card-eah {
    background-color: var(--eah-surface);
    border: 1px solid var(--eah-border);
    border-radius: var(--eah-radius);
    box-shadow: var(--eah-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-eah:hover {
    box-shadow: var(--eah-shadow-md);
    transform: translateY(-2px);
}

.card-eah a {
    text-decoration: none;
    color: inherit;
}

.card-eah-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background-color: var(--eah-bg);
}

.card-eah-body {
    padding: 1rem;
}

.card-eah-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--eah-text);
    margin-bottom: 0.375rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-eah-bid {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--eah-gold);
    margin-bottom: 0.25rem;
}

.card-eah-meta {
    font-size: 0.8125rem;
    color: var(--eah-text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-eah-footer {
    padding: 0.625rem 1rem;
    border-top: 1px solid var(--eah-border);
    background-color: var(--eah-bg);
    font-size: 0.8125rem;
    color: var(--eah-text-secondary);
}

/* No-image placeholder */
.card-eah-noimg {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--eah-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eah-text-muted);
    font-size: 0.875rem;
}


/* ------------------------------------------------------------
   7. Badges
   ------------------------------------------------------------ */
.badge-eah {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.5rem;
    border-radius: var(--eah-radius-sm);
    line-height: 1;
}

/* Listing status badges */
.badge-draft      { background-color: #E2E8F0; color: #475569; }
.badge-scheduled  { background-color: #DBEAFE; color: #1E40AF; }
.badge-active     { background-color: var(--eah-emerald-bg); color: var(--eah-emerald); }
.badge-ended      { background-color: #F1F5F9; color: #64748B; }
.badge-sold       { background-color: var(--eah-gold-bg); color: #92600A; }
.badge-cancelled  { background-color: var(--eah-red-bg); color: var(--eah-red); }

/* Category & condition badges */
.badge-category  { background-color: #EDE9FE; color: #6D28D9; }
.badge-condition { background-color: #E0F2FE; color: #0369A1; }

/* Urgency badges */
.badge-ending-soon {
    background-color: var(--eah-red);
    color: #FFFFFF;
    animation: badge-pulse 1.5s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.7; }
}

/* Reserve status badges */
.badge-reserve-met {
    background-color: var(--eah-emerald-bg);
    color: var(--eah-emerald);
}

.badge-reserve-not-met {
    background-color: var(--eah-gold-bg);
    color: #92600A;
}

/* Bid count */
.badge-bids {
    background-color: var(--eah-bg);
    color: var(--eah-text-secondary);
    border: 1px solid var(--eah-border);
}


/* ------------------------------------------------------------
   8. Hero Section
   ------------------------------------------------------------ */
.hero {
    background: linear-gradient(135deg, var(--eah-navy) 0%, var(--eah-navy-light) 100%);
    color: #FFFFFF;
    padding: 3rem 0;
    margin: 0 -15px;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .hero {
        padding: 4.5rem 0;
        margin: 0 calc(-50vw + 50%);
    }
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

@media screen and (min-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.875rem;
    color: var(--eah-gold-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-tagline-sep {
    color: rgba(255, 255, 255, 0.3);
}


/* ------------------------------------------------------------
   9. Auction Timer / Countdown
   ------------------------------------------------------------ */
.auction-timer {
    font-family: var(--eah-font);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--eah-text);
}

.auction-timer-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--eah-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

/* Warning - under 1 hour */
.auction-timer-warning {
    color: var(--eah-gold);
}

/* Urgent - under 5 minutes */
.auction-timer-urgent {
    color: var(--eah-red);
    animation: timer-pulse 1s ease-in-out infinite;
}

@keyframes timer-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

/* Ended */
.auction-timer-ended {
    color: var(--eah-text-muted);
    font-weight: 500;
}

/* Large timer display for listing detail page */
.auction-timer-lg {
    font-size: 1.75rem;
    font-weight: 700;
}


/* ------------------------------------------------------------
   10. Bid Panel (Listing Detail Sidebar)
   ------------------------------------------------------------ */
.bid-panel {
    background-color: var(--eah-surface);
    border: 1px solid var(--eah-border);
    border-radius: var(--eah-radius-lg);
    box-shadow: var(--eah-shadow-md);
    padding: 1.5rem;
}

@media screen and (min-width: 992px) {
    .bid-panel-sticky {
        position: sticky;
        top: 1rem;
    }
}

.bid-panel-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--eah-gold);
    line-height: 1.1;
}

.bid-panel-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--eah-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.bid-panel-input {
    border: 2px solid var(--eah-border);
    border-radius: var(--eah-radius);
    padding: 0.625rem 0.875rem;
    font-size: 1.125rem;
    font-weight: 600;
    width: 100%;
    max-width: none;
    transition: border-color 0.15s ease;
}

.bid-panel-input:focus {
    border-color: var(--eah-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 148, 10, 0.15);
}

.bid-panel-min {
    font-size: 0.8125rem;
    color: var(--eah-text-secondary);
    margin-top: 0.375rem;
}

.bid-panel-divider {
    border-top: 1px solid var(--eah-border);
    margin: 1rem 0;
}

.bid-panel-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--eah-radius-sm);
}

.bid-panel-status-winning {
    background-color: var(--eah-emerald-bg);
    color: var(--eah-emerald);
}

.bid-panel-status-outbid {
    background-color: var(--eah-red-bg);
    color: var(--eah-red);
}


/* ------------------------------------------------------------
   11. Section Headers
   ------------------------------------------------------------ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.25rem;
    padding-top: 1.5rem;
}

.section-header h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0;
}

.section-header-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--eah-gold);
}

.section-header-link:hover {
    color: var(--eah-gold-hover);
    text-decoration: none;
}


/* ------------------------------------------------------------
   12. How It Works (3-Step)
   ------------------------------------------------------------ */
.how-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.how-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--eah-gold-bg);
    color: var(--eah-gold);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.how-step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.how-step p {
    font-size: 0.875rem;
    color: var(--eah-text-secondary);
    margin-bottom: 0;
}


/* ------------------------------------------------------------
   13. Alerts / Panels (ASP.NET Validator Style)
   ------------------------------------------------------------ */
.alert-eah-error {
    background-color: var(--eah-red-bg);
    border: 1px solid #F5C6CB;
    color: var(--eah-red);
    border-radius: var(--eah-radius);
    padding: 0.75rem 1rem;
}

.alert-eah-success {
    background-color: var(--eah-emerald-bg);
    border: 1px solid #A7F3D0;
    color: var(--eah-emerald);
    border-radius: var(--eah-radius);
    padding: 0.75rem 1rem;
}

.alert-eah-warning {
    background-color: var(--eah-gold-bg);
    border: 1px solid #FDE68A;
    color: #92600A;
    border-radius: var(--eah-radius);
    padding: 0.75rem 1rem;
}

.alert-eah-info {
    background-color: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
    border-radius: var(--eah-radius);
    padding: 0.75rem 1rem;
}


/* ------------------------------------------------------------
   14. Stat Cards (Dashboard)
   ------------------------------------------------------------ */
.stat-card {
    background-color: var(--eah-surface);
    border: 1px solid var(--eah-border);
    border-radius: var(--eah-radius);
    padding: 1.25rem;
    box-shadow: var(--eah-shadow);
}

.stat-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--eah-navy);
    line-height: 1.1;
}

.stat-card-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--eah-text-secondary);
    margin-top: 0.25rem;
}


/* ------------------------------------------------------------
   15. Tables (Admin / Dashboard)
   ------------------------------------------------------------ */
.table-eah {
    background-color: var(--eah-surface);
    border-radius: var(--eah-radius);
    overflow: hidden;
    border: 1px solid var(--eah-border);
    box-shadow: var(--eah-shadow);
}

.table-eah th {
    background-color: var(--eah-bg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--eah-text-secondary);
    border-bottom: 1px solid var(--eah-border);
    padding: 0.75rem 1rem;
}

.table-eah td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--eah-border);
    vertical-align: middle;
    font-size: 0.875rem;
}

.table-eah tr:last-child td {
    border-bottom: none;
}

.table-eah tr:hover td {
    background-color: #FAFBFC;
}


/* ------------------------------------------------------------
   16. Forms
   ------------------------------------------------------------ */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="select"],
textarea,
select {
    max-width: 100%;
    border: 1px solid var(--eah-border);
    border-radius: var(--eah-radius-sm);
    padding: 0.5rem 0.75rem;
    font-family: var(--eah-font);
    font-size: 0.9375rem;
    color: var(--eah-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--eah-navy-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 74, 122, 0.12);
}

.form-label-eah {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--eah-text);
    margin-bottom: 0.375rem;
}

.text-danger {
    color: var(--eah-red) !important;
    font-size: 0.8125rem;
}


/* ------------------------------------------------------------
   17. Photo Gallery (Listing Detail)
   ------------------------------------------------------------ */
.gallery-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background-color: var(--eah-bg);
    border-radius: var(--eah-radius);
    border: 1px solid var(--eah-border);
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    overflow-x: auto;
}

.gallery-thumb {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: var(--eah-radius-sm);
    border: 2px solid var(--eah-border);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s ease;
}

.gallery-thumb:hover,
.gallery-thumb-active {
    border-color: var(--eah-gold);
}


/* ------------------------------------------------------------
   18. Bid History
   ------------------------------------------------------------ */
.bid-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--eah-border);
    font-size: 0.875rem;
}

.bid-history-item:last-child {
    border-bottom: none;
}

.bid-history-amount {
    font-weight: 600;
    color: var(--eah-text);
}

.bid-history-bidder {
    color: var(--eah-text-secondary);
}

.bid-history-time {
    font-size: 0.75rem;
    color: var(--eah-text-muted);
}


/* ------------------------------------------------------------
   19. Pagination
   ------------------------------------------------------------ */
.pagination-eah .page-link {
    color: var(--eah-navy);
    border-color: var(--eah-border);
    font-size: 0.875rem;
    font-weight: 500;
}

.pagination-eah .page-link:hover {
    background-color: var(--eah-bg);
    border-color: var(--eah-border-dark);
    color: var(--eah-navy);
}

.pagination-eah .page-item.active .page-link {
    background-color: var(--eah-navy);
    border-color: var(--eah-navy);
    color: #FFFFFF;
}


/* ------------------------------------------------------------
   20. Seller Profile
   ------------------------------------------------------------ */
.seller-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--eah-bg);
    border-radius: var(--eah-radius);
}

.seller-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--eah-navy);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.seller-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--eah-text);
}

.seller-since {
    font-size: 0.75rem;
    color: var(--eah-text-secondary);
}


/* ------------------------------------------------------------
   21. Empty States
   ------------------------------------------------------------ */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--eah-text-secondary);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--eah-border-dark);
}

.empty-state h3 {
    color: var(--eah-text-secondary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}


/* ------------------------------------------------------------
   22. Footer
   ------------------------------------------------------------ */
.site-footer {
    background-color: var(--eah-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 2rem 0;
    margin-top: 3rem;
    font-size: 0.875rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
    color: var(--eah-gold-light);
    text-decoration: none;
}

.site-footer-brand {
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.site-footer-copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    margin-top: 1rem;
}


/* ------------------------------------------------------------
   23. Utility Classes
   ------------------------------------------------------------ */
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 1rem; }
.gap-4  { gap: 1.5rem; }

.rounded-eah    { border-radius: var(--eah-radius); }
.rounded-eah-sm { border-radius: var(--eah-radius-sm); }
.rounded-eah-lg { border-radius: var(--eah-radius-lg); }

.shadow-eah    { box-shadow: var(--eah-shadow); }
.shadow-eah-md { box-shadow: var(--eah-shadow-md); }
.shadow-eah-lg { box-shadow: var(--eah-shadow-lg); }

.bg-eah-surface { background-color: var(--eah-surface); }
.bg-eah-muted   { background-color: var(--eah-bg); }
.border-eah     { border: 1px solid var(--eah-border); }

.truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ------------------------------------------------------------
   24. Theme Picker
   ------------------------------------------------------------ */
.navbar-theme-picker select {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    padding: 0.25rem 2rem 0.25rem 0.5rem;
    border-radius: var(--eah-radius-sm);
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.navbar-theme-picker select:hover,
.navbar-theme-picker select:focus {
    border-color: rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    outline: none;
    box-shadow: none;
}

.navbar-theme-picker select option {
    background-color: var(--eah-navy);
    color: #FFFFFF;
}


/* ============================================================
   THEMES
   ============================================================ */

/* ------------------------------------------------------------
   Theme: Dark
   ------------------------------------------------------------ */
.theme-dark {
    --eah-bg:             #121212;
    --eah-surface:        #1E1E1E;
    --eah-text:           #E0E0E0;
    --eah-text-secondary: #A0A0A0;
    --eah-text-muted:     #6B6B6B;
    --eah-border:         #2E2E2E;
    --eah-border-dark:    #3A3A3A;
    --eah-navy:           #0D1B2A;
    --eah-navy-light:     #1B3A5C;
    --eah-navy-lighter:   #2A5580;
    --eah-shadow:         0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.25);
    --eah-shadow-md:      0 4px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    --eah-shadow-lg:      0 10px 15px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.15);
}

.theme-dark a {
    color: var(--eah-gold-light);
}

.theme-dark a:hover {
    color: var(--eah-gold);
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6 {
    color: #FFFFFF;
}

.theme-dark .navbar {
    background-color: #0A0A0A !important;
}

.theme-dark .navbar-theme-picker select option {
    background-color: #0A0A0A;
}

.theme-dark hr {
    border-color: var(--eah-border);
}

.theme-dark input[type="text"],
.theme-dark input[type="password"],
.theme-dark input[type="email"],
.theme-dark input[type="tel"],
.theme-dark input[type="number"],
.theme-dark textarea,
.theme-dark select {
    background-color: var(--eah-surface);
    color: var(--eah-text);
    border-color: var(--eah-border);
}

.theme-dark input[type="text"]:focus,
.theme-dark input[type="password"]:focus,
.theme-dark input[type="email"]:focus,
.theme-dark input[type="tel"]:focus,
.theme-dark input[type="number"]:focus,
.theme-dark textarea:focus,
.theme-dark select:focus {
    border-color: var(--eah-gold);
    box-shadow: 0 0 0 3px rgba(212, 148, 10, 0.2);
}

.theme-dark .table-eah th {
    background-color: #181818;
    color: var(--eah-text-secondary);
    border-bottom-color: var(--eah-border);
}

.theme-dark .table-eah td {
    border-bottom-color: var(--eah-border);
}

.theme-dark .table-eah tr:hover td {
    background-color: #252525;
}

.theme-dark ::selection {
    background-color: var(--eah-gold);
    color: #000000;
}


/* ------------------------------------------------------------
   Theme: High Contrast
   ------------------------------------------------------------ */
.theme-high-contrast {
    --eah-bg:             #000000;
    --eah-surface:        #0A0A0A;
    --eah-text:           #FFFFFF;
    --eah-text-secondary: #E0E0E0;
    --eah-text-muted:     #BFBFBF;
    --eah-border:         #FFFFFF;
    --eah-border-dark:    #FFFFFF;
    --eah-gold:           #FFD000;
    --eah-gold-hover:     #FFE14D;
    --eah-gold-light:     #FFE87A;
    --eah-gold-bg:        #1A1500;
    --eah-emerald:        #00FF7F;
    --eah-emerald-bg:     #001A0D;
    --eah-red:            #FF4444;
    --eah-red-bg:         #1A0808;
    --eah-navy:           #000000;
    --eah-navy-light:     #003399;
    --eah-shadow:         none;
    --eah-shadow-md:      none;
    --eah-shadow-lg:      none;
}

.theme-high-contrast a {
    color: #5CB8FF;
    text-decoration: underline;
}

.theme-high-contrast a:hover {
    color: #FFFFFF;
}

.theme-high-contrast h1,
.theme-high-contrast h2,
.theme-high-contrast h3,
.theme-high-contrast h4,
.theme-high-contrast h5,
.theme-high-contrast h6 {
    color: #FFFFFF;
}

.theme-high-contrast .navbar {
    background-color: #000000 !important;
    border-bottom: 2px solid #FFFFFF;
}

.theme-high-contrast .navbar .nav-link {
    color: #FFFFFF;
}

.theme-high-contrast .navbar .nav-link:hover,
.theme-high-contrast .navbar .nav-link:focus {
    border-bottom-color: var(--eah-gold);
}

.theme-high-contrast .navbar-theme-picker select {
    background-color: #000000;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.theme-high-contrast .navbar-theme-picker select option {
    background-color: #000000;
}

.theme-high-contrast hr {
    border-color: #FFFFFF;
}

.theme-high-contrast input[type="text"],
.theme-high-contrast input[type="password"],
.theme-high-contrast input[type="email"],
.theme-high-contrast input[type="tel"],
.theme-high-contrast input[type="number"],
.theme-high-contrast textarea,
.theme-high-contrast select {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.theme-high-contrast input[type="text"]:focus,
.theme-high-contrast input[type="password"]:focus,
.theme-high-contrast input[type="email"]:focus,
.theme-high-contrast input[type="tel"]:focus,
.theme-high-contrast input[type="number"]:focus,
.theme-high-contrast textarea:focus,
.theme-high-contrast select:focus {
    border-color: var(--eah-gold);
    box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.4);
}

.theme-high-contrast .btn-eah-primary,
.theme-high-contrast .btn-bid {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
    color: #000000;
    font-weight: 700;
}

.theme-high-contrast .btn-eah-primary:hover,
.theme-high-contrast .btn-bid:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #000000;
}

.theme-high-contrast .card-eah {
    border: 2px solid #FFFFFF;
}

.theme-high-contrast .table-eah {
    border: 2px solid #FFFFFF;
}

.theme-high-contrast .table-eah th {
    background-color: #000000;
    color: #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
}

.theme-high-contrast .table-eah td {
    border-bottom: 1px solid #FFFFFF;
}

.theme-high-contrast .table-eah tr:hover td {
    background-color: #1A1A1A;
}

.theme-high-contrast .badge-eah {
    border: 1px solid currentColor;
}

.theme-high-contrast ::selection {
    background-color: var(--eah-gold);
    color: #000000;
}


/* ------------------------------------------------------------
   Theme: Midnight Blue
   ------------------------------------------------------------ */
.theme-midnight {
    --eah-bg:             #0B1120;
    --eah-surface:        #111B30;
    --eah-text:           #CBD5E1;
    --eah-text-secondary: #8B9DC3;
    --eah-text-muted:     #5B6D8E;
    --eah-border:         #1E2D4A;
    --eah-border-dark:    #2A3F66;
    --eah-navy:           #06091A;
    --eah-navy-light:     #1A3A6B;
    --eah-navy-lighter:   #2B5EA7;
    --eah-gold:           #60A5FA;
    --eah-gold-hover:     #3B82F6;
    --eah-gold-light:     #93C5FD;
    --eah-gold-bg:        #0C1A2E;
    --eah-shadow:         0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --eah-shadow-md:      0 4px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
    --eah-shadow-lg:      0 10px 15px rgba(0, 0, 0, 0.4), 0 4px 6px rgba(0, 0, 0, 0.2);
}

.theme-midnight a {
    color: var(--eah-gold);
}

.theme-midnight a:hover {
    color: var(--eah-gold-light);
}

.theme-midnight h1,
.theme-midnight h2,
.theme-midnight h3,
.theme-midnight h4,
.theme-midnight h5,
.theme-midnight h6 {
    color: #E2E8F0;
}

.theme-midnight .navbar {
    background-color: #06091A !important;
}

.theme-midnight .navbar .nav-link:hover,
.theme-midnight .navbar .nav-link:focus {
    border-bottom-color: var(--eah-gold);
}

.theme-midnight .navbar-theme-picker select option {
    background-color: #06091A;
}

.theme-midnight hr {
    border-color: var(--eah-border);
}

.theme-midnight input[type="text"],
.theme-midnight input[type="password"],
.theme-midnight input[type="email"],
.theme-midnight input[type="tel"],
.theme-midnight input[type="number"],
.theme-midnight textarea,
.theme-midnight select {
    background-color: var(--eah-surface);
    color: var(--eah-text);
    border-color: var(--eah-border);
}

.theme-midnight input[type="text"]:focus,
.theme-midnight input[type="password"]:focus,
.theme-midnight input[type="email"]:focus,
.theme-midnight input[type="tel"]:focus,
.theme-midnight input[type="number"]:focus,
.theme-midnight textarea:focus,
.theme-midnight select:focus {
    border-color: var(--eah-gold);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.theme-midnight .table-eah th {
    background-color: #0B1120;
    color: var(--eah-text-secondary);
}

.theme-midnight .table-eah tr:hover td {
    background-color: #15203A;
}

.theme-midnight .btn-primary {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
    color: #06091A;
}

.theme-midnight .btn-primary:hover {
    background-color: var(--eah-gold-hover);
    border-color: var(--eah-gold-hover);
    color: #FFFFFF;
}

.theme-midnight ::selection {
    background-color: var(--eah-gold);
    color: #06091A;
}


/* ------------------------------------------------------------
   Theme: Forest
   ------------------------------------------------------------ */
.theme-forest {
    --eah-bg:             #0F1A0F;
    --eah-surface:        #162016;
    --eah-text:           #D4E4C8;
    --eah-text-secondary: #9AB88A;
    --eah-text-muted:     #6A8A5A;
    --eah-border:         #1E3A1E;
    --eah-border-dark:    #2A5A2A;
    --eah-navy:           #0A120A;
    --eah-navy-light:     #1A3A1A;
    --eah-navy-lighter:   #2A5A2A;
    --eah-gold:           #8BC34A;
    --eah-gold-hover:     #7CB342;
    --eah-gold-light:     #AED581;
    --eah-gold-bg:        #121E0C;
    --eah-emerald:        #4CAF50;
    --eah-emerald-bg:     #0C1A0D;
    --eah-red:            #EF5350;
    --eah-red-bg:         #1A0C0C;
    --eah-shadow:         0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --eah-shadow-md:      0 4px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
    --eah-shadow-lg:      0 10px 15px rgba(0, 0, 0, 0.4), 0 4px 6px rgba(0, 0, 0, 0.2);
}

.theme-forest a {
    color: var(--eah-gold);
}

.theme-forest a:hover {
    color: var(--eah-gold-light);
}

.theme-forest h1,
.theme-forest h2,
.theme-forest h3,
.theme-forest h4,
.theme-forest h5,
.theme-forest h6 {
    color: #C8E6C9;
}

.theme-forest .navbar {
    background-color: #0A120A !important;
}

.theme-forest .navbar .nav-link:hover,
.theme-forest .navbar .nav-link:focus {
    border-bottom-color: var(--eah-gold);
}

.theme-forest .navbar-theme-picker select option {
    background-color: #0A120A;
}

.theme-forest hr {
    border-color: var(--eah-border);
}

.theme-forest input[type="text"],
.theme-forest input[type="password"],
.theme-forest input[type="email"],
.theme-forest input[type="tel"],
.theme-forest input[type="number"],
.theme-forest textarea,
.theme-forest select {
    background-color: var(--eah-surface);
    color: var(--eah-text);
    border-color: var(--eah-border);
}

.theme-forest input[type="text"]:focus,
.theme-forest input[type="password"]:focus,
.theme-forest input[type="email"]:focus,
.theme-forest input[type="tel"]:focus,
.theme-forest input[type="number"]:focus,
.theme-forest textarea:focus,
.theme-forest select:focus {
    border-color: var(--eah-gold);
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.2);
}

.theme-forest .table-eah th {
    background-color: #0F1A0F;
    color: var(--eah-text-secondary);
}

.theme-forest .table-eah tr:hover td {
    background-color: #1A2A1A;
}

.theme-forest .btn-primary {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
    color: #0A120A;
}

.theme-forest .btn-primary:hover {
    background-color: var(--eah-gold-hover);
    border-color: var(--eah-gold-hover);
    color: #FFFFFF;
}

.theme-forest ::selection {
    background-color: var(--eah-gold);
    color: #0A120A;
}


/* ------------------------------------------------------------
   Theme: Slate (hypermodern neutral)
   ------------------------------------------------------------ */
.theme-slate {
    --eah-bg:             #FAFAFA;
    --eah-surface:        #FFFFFF;
    --eah-text:           #1C1C1E;
    --eah-text-secondary: #6E6E73;
    --eah-text-muted:     #AEAEB2;
    --eah-border:         #E5E5EA;
    --eah-border-dark:    #D1D1D6;
    --eah-navy:           #1C1C1E;
    --eah-navy-light:     #3A3A3C;
    --eah-navy-lighter:   #636366;
    --eah-gold:           #0066FF;
    --eah-gold-hover:     #0052CC;
    --eah-gold-light:     #4D94FF;
    --eah-gold-bg:        #EBF3FF;
    --eah-emerald:        #34C759;
    --eah-emerald-bg:     #E8F9ED;
    --eah-red:            #FF3B30;
    --eah-red-bg:         #FFECEB;
    --eah-radius:         0.75rem;
    --eah-radius-sm:      0.375rem;
    --eah-radius-lg:      1rem;
    --eah-shadow:         0 1px 2px rgba(0, 0, 0, 0.04);
    --eah-shadow-md:      0 2px 8px rgba(0, 0, 0, 0.06);
    --eah-shadow-lg:      0 8px 24px rgba(0, 0, 0, 0.08);
}

.theme-slate a {
    color: var(--eah-gold);
}

.theme-slate a:hover {
    color: var(--eah-gold-hover);
}

.theme-slate h1,
.theme-slate h2,
.theme-slate h3,
.theme-slate h4,
.theme-slate h5,
.theme-slate h6 {
    color: var(--eah-text);
    font-weight: 800;
}

.theme-slate .navbar {
    background-color: #1C1C1E !important;
}

.theme-slate .navbar .nav-link:hover,
.theme-slate .navbar .nav-link:focus {
    border-bottom-color: var(--eah-gold);
}

.theme-slate .navbar-theme-picker select option {
    background-color: #1C1C1E;
}

.theme-slate hr {
    border-color: var(--eah-border);
}

.theme-slate .hero {
    background: #1C1C1E;
}

.theme-slate .hero-tagline {
    color: var(--eah-gold-light);
}

.theme-slate .btn-eah-primary,
.theme-slate .btn-bid {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
}

.theme-slate .btn-eah-primary:hover,
.theme-slate .btn-bid:hover {
    background-color: var(--eah-gold-hover);
    border-color: var(--eah-gold-hover);
}

.theme-slate .btn-eah-outline-white:hover,
.theme-slate .btn-eah-outline-white:focus {
    color: #1C1C1E;
}

.theme-slate .card-eah {
    border-color: var(--eah-border);
    box-shadow: var(--eah-shadow);
}

.theme-slate .card-eah:hover {
    box-shadow: var(--eah-shadow-md);
    transform: none;
}

.theme-slate .card-eah-bid {
    color: var(--eah-gold);
}

.theme-slate .bid-panel-current {
    color: var(--eah-gold);
}

.theme-slate .bid-panel-input:focus {
    border-color: var(--eah-gold);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.theme-slate .how-step-number {
    background-color: var(--eah-gold-bg);
    color: var(--eah-gold);
}

.theme-slate .section-header-link {
    color: var(--eah-gold);
}

.theme-slate .section-header-link:hover {
    color: var(--eah-gold-hover);
}

.theme-slate .badge-sold {
    background-color: var(--eah-gold-bg);
    color: #0052CC;
}

.theme-slate .stat-card-value {
    color: var(--eah-text);
}

.theme-slate .table-eah th {
    background-color: #F5F5F7;
    color: var(--eah-text-secondary);
    border-bottom-color: var(--eah-border);
}

.theme-slate .table-eah tr:hover td {
    background-color: #F9F9FB;
}

.theme-slate .pagination-eah .page-link {
    color: var(--eah-text);
}

.theme-slate .pagination-eah .page-item.active .page-link {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
}

.theme-slate ::selection {
    background-color: var(--eah-gold);
    color: #FFFFFF;
}


/* ------------------------------------------------------------
   Theme: Noir (premium dark with glass)
   ------------------------------------------------------------ */
.theme-noir {
    --eah-bg:             #0A0A0B;
    --eah-surface:        #161618;
    --eah-text:           #E4E4E7;
    --eah-text-secondary: #A1A1AA;
    --eah-text-muted:     #52525B;
    --eah-border:         rgba(255, 255, 255, 0.06);
    --eah-border-dark:    rgba(255, 255, 255, 0.1);
    --eah-navy:           #0A0A0B;
    --eah-navy-light:     #1E1E22;
    --eah-navy-lighter:   #2C2C31;
    --eah-gold:           #00D47E;
    --eah-gold-hover:     #00B86B;
    --eah-gold-light:     #34EDAA;
    --eah-gold-bg:        rgba(0, 212, 126, 0.1);
    --eah-emerald:        #00D47E;
    --eah-emerald-bg:     rgba(0, 212, 126, 0.1);
    --eah-red:            #EF4444;
    --eah-red-bg:         rgba(239, 68, 68, 0.1);
    --eah-radius:         0.75rem;
    --eah-radius-sm:      0.375rem;
    --eah-radius-lg:      1rem;
    --eah-shadow:         0 1px 3px rgba(0, 0, 0, 0.4);
    --eah-shadow-md:      0 4px 12px rgba(0, 0, 0, 0.5);
    --eah-shadow-lg:      0 12px 32px rgba(0, 0, 0, 0.6);
}

.theme-noir a {
    color: var(--eah-gold);
}

.theme-noir a:hover {
    color: var(--eah-gold-light);
}

.theme-noir h1,
.theme-noir h2,
.theme-noir h3,
.theme-noir h4,
.theme-noir h5,
.theme-noir h6 {
    color: #FFFFFF;
}

.theme-noir .navbar {
    background-color: rgba(10, 10, 11, 0.85) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-noir .navbar .nav-link:hover,
.theme-noir .navbar .nav-link:focus {
    border-bottom-color: var(--eah-gold);
}

.theme-noir .navbar-theme-picker select option {
    background-color: #0A0A0B;
}

.theme-noir hr {
    border-color: var(--eah-border);
}

.theme-noir .hero {
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 126, 0.08) 0%, transparent 60%), #0A0A0B;
}

.theme-noir .hero-tagline {
    color: var(--eah-gold-light);
}

.theme-noir .hero-tagline-sep {
    color: rgba(255, 255, 255, 0.15);
}

.theme-noir .btn-eah-primary,
.theme-noir .btn-bid {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
    color: #0A0A0B;
}

.theme-noir .btn-eah-primary:hover,
.theme-noir .btn-bid:hover {
    background-color: var(--eah-gold-hover);
    border-color: var(--eah-gold-hover);
    color: #0A0A0B;
    box-shadow: 0 4px 16px rgba(0, 212, 126, 0.25);
}

.theme-noir .btn-eah-secondary {
    background-color: #8B5CF6;
    border-color: #8B5CF6;
    color: #FFFFFF;
}

.theme-noir .btn-eah-secondary:hover {
    background-color: #7C3AED;
    border-color: #7C3AED;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
}

.theme-noir .btn-eah-outline-white:hover,
.theme-noir .btn-eah-outline-white:focus {
    color: #0A0A0B;
}

.theme-noir .card-eah {
    background-color: rgba(22, 22, 24, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-noir .card-eah:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: none;
    box-shadow: 0 0 20px rgba(0, 212, 126, 0.05);
}

.theme-noir .card-eah-bid {
    color: var(--eah-gold);
}

.theme-noir .card-eah-footer {
    background-color: rgba(255, 255, 255, 0.03);
    border-top-color: rgba(255, 255, 255, 0.06);
}

.theme-noir .card-eah-noimg {
    background-color: #111113;
}

.theme-noir .bid-panel {
    background-color: rgba(22, 22, 24, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.06);
}

.theme-noir .bid-panel-current {
    color: var(--eah-gold);
}

.theme-noir .bid-panel-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.theme-noir .bid-panel-input:focus {
    border-color: var(--eah-gold);
    box-shadow: 0 0 0 3px rgba(0, 212, 126, 0.15);
}

.theme-noir .how-step-number {
    background-color: var(--eah-gold-bg);
    color: var(--eah-gold);
}

.theme-noir .section-header-link {
    color: var(--eah-gold);
}

.theme-noir .section-header-link:hover {
    color: var(--eah-gold-light);
}

.theme-noir .stat-card {
    background-color: rgba(22, 22, 24, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.06);
}

.theme-noir .stat-card-value {
    color: #FFFFFF;
}

.theme-noir input[type="text"],
.theme-noir input[type="password"],
.theme-noir input[type="email"],
.theme-noir input[type="tel"],
.theme-noir input[type="number"],
.theme-noir textarea,
.theme-noir select {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--eah-text);
    border-color: rgba(255, 255, 255, 0.1);
}

.theme-noir input[type="text"]:focus,
.theme-noir input[type="password"]:focus,
.theme-noir input[type="email"]:focus,
.theme-noir input[type="tel"]:focus,
.theme-noir input[type="number"]:focus,
.theme-noir textarea:focus,
.theme-noir select:focus {
    border-color: var(--eah-gold);
    box-shadow: 0 0 0 3px rgba(0, 212, 126, 0.15);
}

.theme-noir .table-eah {
    background-color: rgba(22, 22, 24, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.06);
}

.theme-noir .table-eah th {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--eah-text-secondary);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.theme-noir .table-eah td {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.theme-noir .table-eah tr:hover td {
    background-color: rgba(255, 255, 255, 0.04);
}

.theme-noir .pagination-eah .page-link {
    color: var(--eah-text);
    border-color: rgba(255, 255, 255, 0.1);
    background-color: transparent;
}

.theme-noir .pagination-eah .page-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.theme-noir .pagination-eah .page-item.active .page-link {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
    color: #0A0A0B;
}

.theme-noir .seller-avatar {
    background-color: #8B5CF6;
}

.theme-noir .gallery-main {
    background-color: #111113;
    border-color: rgba(255, 255, 255, 0.06);
}

.theme-noir .gallery-thumb {
    border-color: rgba(255, 255, 255, 0.1);
}

.theme-noir .gallery-thumb:hover,
.theme-noir .gallery-thumb-active {
    border-color: var(--eah-gold);
}

.theme-noir ::selection {
    background-color: var(--eah-gold);
    color: #0A0A0B;
}


/* ------------------------------------------------------------
   Theme: Obsidian (dark luxury)
   ------------------------------------------------------------ */
.theme-obsidian {
    --eah-bg:             #000000;
    --eah-surface:        #000000;
    --eah-text:           #E8E8E8;
    --eah-text-secondary: #888888;
    --eah-text-muted:     #555555;
    --eah-border:         rgba(201, 168, 76, 0.15);
    --eah-border-dark:    rgba(201, 168, 76, 0.25);
    --eah-navy:           #000000;
    --eah-navy-light:     #111111;
    --eah-navy-lighter:   #222222;
    --eah-gold:           #C9A84C;
    --eah-gold-hover:     #B8963E;
    --eah-gold-light:     #DBBF6A;
    --eah-gold-bg:        rgba(201, 168, 76, 0.08);
    --eah-emerald:        #6FCF97;
    --eah-emerald-bg:     rgba(111, 207, 151, 0.08);
    --eah-red:            #EB5757;
    --eah-red-bg:         rgba(235, 87, 87, 0.08);
    --eah-radius:         0.25rem;
    --eah-radius-sm:      0.125rem;
    --eah-radius-lg:      0.375rem;
    --eah-shadow:         none;
    --eah-shadow-md:      none;
    --eah-shadow-lg:      none;
}

.theme-obsidian a {
    color: var(--eah-gold);
}

.theme-obsidian a:hover {
    color: var(--eah-gold-light);
}

.theme-obsidian h1,
.theme-obsidian h2,
.theme-obsidian h3,
.theme-obsidian h4,
.theme-obsidian h5,
.theme-obsidian h6 {
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.theme-obsidian .navbar {
    background-color: #000000 !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.theme-obsidian .navbar .navbar-brand {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 1rem;
}

.theme-obsidian .navbar .nav-link {
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.theme-obsidian .navbar .nav-link:hover,
.theme-obsidian .navbar .nav-link:focus {
    border-bottom-color: var(--eah-gold);
}

.theme-obsidian .navbar-theme-picker select option {
    background-color: #000000;
}

.theme-obsidian hr {
    border-color: rgba(201, 168, 76, 0.12);
}

.theme-obsidian .hero {
    background: #000000;
}

.theme-obsidian .hero h1 {
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.theme-obsidian .hero-subtitle {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

.theme-obsidian .hero-tagline {
    color: var(--eah-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8125rem;
}

.theme-obsidian .hero-tagline-sep {
    color: rgba(201, 168, 76, 0.3);
}

.theme-obsidian .btn-eah-primary {
    background-color: transparent;
    border: 1px solid var(--eah-gold);
    color: var(--eah-gold);
}

.theme-obsidian .btn-eah-primary:hover {
    background-color: var(--eah-gold);
    color: #000000;
    box-shadow: none;
}

.theme-obsidian .btn-bid {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
    color: #000000;
}

.theme-obsidian .btn-bid:hover {
    background-color: var(--eah-gold-light);
    border-color: var(--eah-gold-light);
    color: #000000;
    box-shadow: none;
}

.theme-obsidian .btn-eah-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.theme-obsidian .btn-eah-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.theme-obsidian .btn-eah-outline-white {
    border-width: 1px;
}

.theme-obsidian .btn-eah-outline-white:hover,
.theme-obsidian .btn-eah-outline-white:focus {
    background-color: #FFFFFF;
    color: #000000;
}

.theme-obsidian .card-eah {
    background-color: #000000;
    border: 1px solid rgba(201, 168, 76, 0.15);
    box-shadow: none;
}

.theme-obsidian .card-eah:hover {
    border-color: rgba(201, 168, 76, 0.35);
    transform: none;
    box-shadow: none;
}

.theme-obsidian .card-eah-bid {
    color: var(--eah-gold);
}

.theme-obsidian .card-eah-footer {
    background-color: transparent;
    border-top-color: rgba(201, 168, 76, 0.1);
}

.theme-obsidian .card-eah-noimg {
    background-color: #0A0A0A;
}

.theme-obsidian .bid-panel {
    background-color: #000000;
    border: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: none;
}

.theme-obsidian .bid-panel-current {
    color: var(--eah-gold);
}

.theme-obsidian .bid-panel-input {
    background-color: transparent;
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: #FFFFFF;
}

.theme-obsidian .bid-panel-input:focus {
    border-color: var(--eah-gold);
    box-shadow: none;
}

.theme-obsidian .how-step-number {
    background-color: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--eah-gold);
}

.theme-obsidian .section-header-link {
    color: var(--eah-gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8125rem;
}

.theme-obsidian .section-header h2 {
    letter-spacing: 0.04em;
}

.theme-obsidian .stat-card {
    background-color: #000000;
    border-color: rgba(201, 168, 76, 0.15);
    box-shadow: none;
}

.theme-obsidian .stat-card-value {
    color: var(--eah-gold);
}

.theme-obsidian input[type="text"],
.theme-obsidian input[type="password"],
.theme-obsidian input[type="email"],
.theme-obsidian input[type="tel"],
.theme-obsidian input[type="number"],
.theme-obsidian textarea,
.theme-obsidian select {
    background-color: transparent;
    color: var(--eah-text);
    border-color: rgba(201, 168, 76, 0.2);
}

.theme-obsidian input[type="text"]:focus,
.theme-obsidian input[type="password"]:focus,
.theme-obsidian input[type="email"]:focus,
.theme-obsidian input[type="tel"]:focus,
.theme-obsidian input[type="number"]:focus,
.theme-obsidian textarea:focus,
.theme-obsidian select:focus {
    border-color: var(--eah-gold);
    box-shadow: none;
}

.theme-obsidian .table-eah {
    background-color: #000000;
    border-color: rgba(201, 168, 76, 0.15);
    box-shadow: none;
}

.theme-obsidian .table-eah th {
    background-color: transparent;
    color: var(--eah-gold);
    border-bottom-color: rgba(201, 168, 76, 0.15);
    letter-spacing: 0.06em;
}

.theme-obsidian .table-eah td {
    border-bottom-color: rgba(201, 168, 76, 0.08);
}

.theme-obsidian .table-eah tr:hover td {
    background-color: rgba(201, 168, 76, 0.04);
}

.theme-obsidian .pagination-eah .page-link {
    color: var(--eah-text);
    border-color: rgba(201, 168, 76, 0.15);
    background-color: transparent;
}

.theme-obsidian .pagination-eah .page-link:hover {
    background-color: rgba(201, 168, 76, 0.08);
}

.theme-obsidian .pagination-eah .page-item.active .page-link {
    background-color: var(--eah-gold);
    border-color: var(--eah-gold);
    color: #000000;
}

.theme-obsidian .seller-avatar {
    background-color: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--eah-gold);
}

.theme-obsidian .gallery-main {
    background-color: #0A0A0A;
    border-color: rgba(201, 168, 76, 0.15);
}

.theme-obsidian .gallery-thumb {
    border-color: rgba(201, 168, 76, 0.15);
}

.theme-obsidian .gallery-thumb:hover,
.theme-obsidian .gallery-thumb-active {
    border-color: var(--eah-gold);
}

.theme-obsidian .badge-eah {
    letter-spacing: 0.06em;
}

.theme-obsidian ::selection {
    background-color: var(--eah-gold);
    color: #000000;
}


/* ============================================================
   PHASE 1/2 SHARED COMPONENTS
   ============================================================ */

/* ------------------------------------------------------------
   Page Hero (smaller branded hero for inner pages)
   ------------------------------------------------------------ */
.page-hero {
    background: linear-gradient(135deg, var(--eah-navy) 0%, var(--eah-navy-light) 100%);
    color: #FFFFFF;
    padding: 2.5rem 0;
    margin: 0 -15px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .page-hero {
        padding: 3.5rem 0;
        margin: 0 calc(-50vw + 50%) 2.5rem;
    }
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(212, 148, 10, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(212, 148, 10, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

@media screen and (min-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

.page-hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 680px;
    margin: 0 auto;
}

.page-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--eah-gold-light);
    margin-bottom: 0.5rem;
}


/* ------------------------------------------------------------
   Breadcrumb (branded)
   ------------------------------------------------------------ */
.breadcrumb-eah {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--eah-text-secondary);
    margin-bottom: 1rem;
    list-style: none;
    padding: 0;
}

.breadcrumb-eah li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-eah li + li::before {
    content: "/";
    color: var(--eah-text-muted);
    font-weight: 400;
}

.breadcrumb-eah a {
    color: var(--eah-text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-eah a:hover {
    color: var(--eah-navy);
}

.breadcrumb-eah .breadcrumb-current {
    color: var(--eah-text);
    font-weight: 500;
}


/* ------------------------------------------------------------
   Stats Strip (horizontal counter row)
   ------------------------------------------------------------ */
.stats-strip {
    background-color: var(--eah-surface);
    border: 1px solid var(--eah-border);
    border-radius: var(--eah-radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--eah-shadow);
    margin: 2rem 0;
}

.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media screen and (min-width: 768px) {
    .stats-strip-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.stats-strip-item {
    text-align: center;
    position: relative;
}

@media screen and (min-width: 768px) {
    .stats-strip-item + .stats-strip-item::before {
        content: "";
        position: absolute;
        left: -1rem;
        top: 10%;
        bottom: 10%;
        width: 1px;
        background-color: var(--eah-border);
    }
}

.stats-strip-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--eah-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.stats-strip-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--eah-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ------------------------------------------------------------
   Feature Icon Grid (icon + heading + text cards)
   ------------------------------------------------------------ */
.feature-icon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media screen and (min-width: 576px) {
    .feature-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px) {
    .feature-icon-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-icon-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-icon-card {
    background-color: var(--eah-surface);
    border: 1px solid var(--eah-border);
    border-radius: var(--eah-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--eah-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.feature-icon-card:hover {
    box-shadow: var(--eah-shadow-md);
    transform: translateY(-2px);
}

.feature-icon-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--eah-radius);
    background-color: var(--eah-gold-bg);
    color: var(--eah-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

.feature-icon-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--eah-navy);
    margin-bottom: 0.5rem;
}

.feature-icon-card-text {
    font-size: 0.9375rem;
    color: var(--eah-text-secondary);
    margin-bottom: 0;
    line-height: 1.55;
}


/* ------------------------------------------------------------
   FAQ List (collapsible Q&A using <details>)
   ------------------------------------------------------------ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background-color: var(--eah-surface);
    border: 1px solid var(--eah-border);
    border-radius: var(--eah-radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--eah-gold);
    box-shadow: var(--eah-shadow);
}

.faq-item summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--eah-text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--eah-gold);
    line-height: 1;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--eah-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}


/* ------------------------------------------------------------
   Timeline (vertical step timeline)
   ------------------------------------------------------------ */
.timeline-eah {
    position: relative;
    padding-left: 2.25rem;
    list-style: none;
    margin: 0;
}

.timeline-eah::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background-color: var(--eah-border);
}

.timeline-step {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step-marker {
    position: absolute;
    left: -2.25rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--eah-surface);
    border: 2px solid var(--eah-gold);
    color: var(--eah-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 1;
}

.timeline-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--eah-navy);
    margin-bottom: 0.25rem;
}

.timeline-step-text {
    font-size: 0.875rem;
    color: var(--eah-text-secondary);
    margin-bottom: 0;
    line-height: 1.55;
}


/* ------------------------------------------------------------
   Mission Section (text + image, alternating)
   ------------------------------------------------------------ */
.mission-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
}

@media screen and (min-width: 768px) {
    .mission-section {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .mission-section-reverse .mission-section-image {
        order: 2;
    }
}

.mission-section-image {
    border-radius: var(--eah-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--eah-bg);
    box-shadow: var(--eah-shadow-md);
}

.mission-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mission-section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--eah-gold);
    margin-bottom: 0.75rem;
}

.mission-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}


/* ------------------------------------------------------------
   Gallery Lightbox (vanilla JS, no library)
   ------------------------------------------------------------ */
.gallery-main-wrap {
    position: relative;
    cursor: zoom-in;
}

.gallery-main-wrap::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='M21 21l-4.35-4.35'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.gallery-main-wrap:hover::after {
    opacity: 1;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
    cursor: zoom-out;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--eah-radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.gallery-lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


/* ------------------------------------------------------------
   Share Buttons
   ------------------------------------------------------------ */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.share-buttons-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--eah-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.25rem;
}

.share-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--eah-radius-sm);
    background-color: var(--eah-bg);
    border: 1px solid var(--eah-border);
    color: var(--eah-text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

.share-btn:hover,
.share-btn:focus {
    background-color: var(--eah-gold-bg);
    color: var(--eah-gold);
    border-color: var(--eah-gold);
    text-decoration: none;
}

.share-btn svg {
    width: 1rem;
    height: 1rem;
}

.share-btn-copied {
    background-color: var(--eah-emerald-bg);
    color: var(--eah-emerald);
    border-color: var(--eah-emerald);
}


/* ------------------------------------------------------------
   Auth Shell (Login/Register two-column layout)
   ------------------------------------------------------------ */
.auth-shell {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.auth-shell-row {
    background-color: var(--eah-surface);
    border: 1px solid var(--eah-border);
    border-radius: var(--eah-radius-lg);
    box-shadow: var(--eah-shadow-md);
    overflow: hidden;
}

.auth-side-panel {
    background: linear-gradient(135deg, var(--eah-navy) 0%, var(--eah-navy-light) 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.auth-side-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(212, 148, 10, 0.12) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(212, 148, 10, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.auth-side-panel-inner {
    position: relative;
    z-index: 1;
    padding: 3rem 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-side-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--eah-gold-light);
    margin-bottom: 0.75rem;
}

.auth-side-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.auth-side-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.auth-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-side-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.auth-side-list li:last-child {
    margin-bottom: 0;
}

.auth-side-list-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: rgba(212, 148, 10, 0.2);
    color: var(--eah-gold-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.0625rem;
}

.auth-side-list-icon svg {
    width: 0.75rem;
    height: 0.75rem;
}

.auth-form-panel {
    background-color: var(--eah-surface);
}

.auth-form-inner {
    padding: 3rem 2.5rem;
}

@media screen and (max-width: 991.98px) {
    .auth-form-inner {
        padding: 2rem 1.5rem;
    }
}

.auth-form-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--eah-navy);
    margin-bottom: 0.5rem;
}

.auth-form-subtitle {
    font-size: 0.9375rem;
    color: var(--eah-text-secondary);
    margin-bottom: 1.5rem;
}

.auth-form-subtitle a {
    color: var(--eah-gold);
    font-weight: 600;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    color: var(--eah-text-muted);
    font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--eah-border);
}

.auth-form-fineprint {
    font-size: 0.8125rem;
    color: var(--eah-text-secondary);
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
}

.auth-form-fineprint a {
    color: var(--eah-gold);
    font-weight: 500;
}


/* ------------------------------------------------------------
   Contact Methods Grid
   ------------------------------------------------------------ */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media screen and (min-width: 768px) {
    .contact-methods {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-method {
    background-color: var(--eah-surface);
    border: 1px solid var(--eah-border);
    border-radius: var(--eah-radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--eah-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-method:hover {
    box-shadow: var(--eah-shadow-md);
    transform: translateY(-2px);
}

.contact-method-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--eah-gold-bg);
    color: var(--eah-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-method-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

.contact-method-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--eah-navy);
    margin-bottom: 0.375rem;
}

.contact-method-text {
    font-size: 0.875rem;
    color: var(--eah-text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-method-text a {
    color: var(--eah-gold);
    font-weight: 500;
}


/* ------------------------------------------------------------
   Section Heading (centered, with eyebrow)
   ------------------------------------------------------------ */
.section-heading {
    text-align: center;
    margin: 3rem 0 2rem;
}

.section-heading-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--eah-gold);
    margin-bottom: 0.75rem;
}

.section-heading h2 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
}

.section-heading-subtitle {
    font-size: 1.0625rem;
    color: var(--eah-text-secondary);
    max-width: 640px;
    margin: 0 auto;
}


/* ------------------------------------------------------------
   Theme overrides for Phase 1/2 components
   ------------------------------------------------------------ */
.theme-dark .page-hero,
.theme-midnight .page-hero,
.theme-forest .page-hero {
    background: linear-gradient(135deg, var(--eah-navy) 0%, var(--eah-navy-light) 100%);
}

.theme-slate .page-hero {
    background: #1C1C1E;
}

.theme-noir .page-hero {
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 126, 0.08) 0%, transparent 60%), #0A0A0B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-noir .page-hero::after {
    background-image: none;
}

.theme-obsidian .page-hero {
    background: #000000;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.theme-obsidian .page-hero::after {
    background-image: none;
}

.theme-obsidian .page-hero h1 {
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.theme-high-contrast .page-hero {
    background: #000000;
    border-bottom: 2px solid var(--eah-gold);
}

.theme-high-contrast .page-hero::after {
    background-image: none;
}

.theme-noir .stats-strip,
.theme-noir .feature-icon-card {
    background-color: rgba(22, 22, 24, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.06);
}

.theme-noir .feature-icon-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: none;
    box-shadow: 0 0 20px rgba(0, 212, 126, 0.05);
}

.theme-noir .feature-icon-card-icon {
    background-color: rgba(0, 212, 126, 0.1);
    color: var(--eah-gold);
}

.theme-noir .stats-strip-value,
.theme-noir .feature-icon-card-title,
.theme-noir .timeline-step-title,
.theme-noir .mission-section h2,
.theme-noir .section-heading h2 {
    color: #FFFFFF;
}

.theme-obsidian .stats-strip,
.theme-obsidian .feature-icon-card,
.theme-obsidian .faq-item {
    background-color: #000000;
    border-color: rgba(201, 168, 76, 0.15);
    box-shadow: none;
}

.theme-obsidian .feature-icon-card:hover {
    border-color: rgba(201, 168, 76, 0.35);
    transform: none;
    box-shadow: none;
}

.theme-obsidian .feature-icon-card-icon {
    background-color: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--eah-gold);
}

.theme-obsidian .feature-icon-card-title,
.theme-obsidian .timeline-step-title,
.theme-obsidian .mission-section h2,
.theme-obsidian .section-heading h2 {
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.theme-obsidian .stats-strip-value {
    color: var(--eah-gold);
}

.theme-obsidian .timeline-step-marker {
    background-color: #000000;
}

.theme-slate .feature-icon-card-icon {
    background-color: var(--eah-gold-bg);
    color: var(--eah-gold);
}

.theme-slate .stats-strip-value {
    color: var(--eah-gold);
}

.theme-noir .share-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--eah-text-secondary);
}

.theme-noir .share-btn:hover {
    background-color: rgba(0, 212, 126, 0.1);
    color: var(--eah-gold);
    border-color: var(--eah-gold);
}

.theme-obsidian .share-btn {
    background-color: transparent;
    border-color: rgba(201, 168, 76, 0.2);
    color: var(--eah-text-secondary);
}

.theme-obsidian .share-btn:hover {
    background-color: rgba(201, 168, 76, 0.08);
    color: var(--eah-gold);
    border-color: var(--eah-gold);
}

/* Auth shell theme overrides */
.theme-noir .auth-shell-row,
.theme-noir .contact-method {
    background-color: rgba(22, 22, 24, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.06);
}

.theme-noir .auth-form-panel {
    background-color: transparent;
}

.theme-noir .auth-side-panel {
    background: radial-gradient(ellipse at 30% 70%, rgba(0, 212, 126, 0.12) 0%, transparent 60%), #0F0F12;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-noir .auth-side-panel::before {
    background-image: none;
}

.theme-noir .auth-side-list-icon {
    background-color: rgba(0, 212, 126, 0.15);
    color: var(--eah-gold);
}

.theme-noir .auth-form-title,
.theme-noir .contact-method-title {
    color: #FFFFFF;
}

.theme-noir .contact-method-icon {
    background-color: rgba(0, 212, 126, 0.1);
    color: var(--eah-gold);
}

.theme-noir .contact-method:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: none;
    box-shadow: 0 0 20px rgba(0, 212, 126, 0.05);
}

.theme-obsidian .auth-shell-row,
.theme-obsidian .contact-method {
    background-color: #000000;
    border-color: rgba(201, 168, 76, 0.15);
    box-shadow: none;
}

.theme-obsidian .auth-form-panel {
    background-color: #000000;
}

.theme-obsidian .auth-side-panel {
    background: #000000;
    border-right: 1px solid rgba(201, 168, 76, 0.2);
}

.theme-obsidian .auth-side-panel::before {
    background-image: none;
}

.theme-obsidian .auth-side-title {
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.theme-obsidian .auth-side-list-icon {
    background-color: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--eah-gold);
}

.theme-obsidian .auth-form-title,
.theme-obsidian .contact-method-title {
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.theme-obsidian .contact-method-icon {
    background-color: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--eah-gold);
}

.theme-obsidian .contact-method:hover {
    border-color: rgba(201, 168, 76, 0.35);
    transform: none;
    box-shadow: none;
}

.theme-slate .auth-side-panel {
    background: #1C1C1E;
}

.theme-slate .auth-side-panel::before {
    background-image: none;
}

.theme-slate .auth-side-list-icon {
    background-color: rgba(0, 102, 255, 0.15);
    color: var(--eah-gold);
}

.theme-slate .contact-method-icon {
    background-color: var(--eah-gold-bg);
    color: var(--eah-gold);
}

.theme-high-contrast .auth-side-panel {
    background: #000000;
    border-right: 2px solid var(--eah-gold);
}

.theme-high-contrast .auth-side-panel::before {
    background-image: none;
}


/* ------------------------------------------------------------
   25. Responsive
   ------------------------------------------------------------ */
@media screen and (max-width: 575.98px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.625rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .bid-panel {
        padding: 1rem;
    }

    .bid-panel-current {
        font-size: 1.5rem;
    }

    .auction-timer-lg {
        font-size: 1.375rem;
    }

    .section-header {
        flex-direction: column;
        gap: 0.25rem;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .page-hero-subtitle {
        font-size: 0.9375rem;
    }

    .stats-strip-value {
        font-size: 1.75rem;
    }

    .mission-section h2 {
        font-size: 1.5rem;
    }

    .section-heading h2 {
        font-size: 1.5rem;
    }
}


/* ------------------------------------------------------------
   Bid panel: quick-bid buttons
   ------------------------------------------------------------ */
.bid-quick-buttons .quick-bid-btn {
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.3125rem 0.5rem;
}


/* ------------------------------------------------------------
   Outbid toast (fired by AuctionTimer.js on winning -> outbid)
   ------------------------------------------------------------ */
.outbid-toast {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1080;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 22rem;
    padding: 0.875rem 1rem;
    background-color: var(--eah-red-bg);
    border: 1px solid #F5C6CB;
    border-left: 4px solid var(--eah-red);
    color: var(--eah-red);
    border-radius: var(--eah-radius);
    box-shadow: var(--eah-shadow-md);
    animation: outbid-toast-in 0.25s ease-out;
}

.outbid-toast-icon {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background-color: var(--eah-red);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.outbid-toast-body {
    flex: 1 1 auto;
    min-width: 0;
}

.outbid-toast-title {
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.2;
}

.outbid-toast-text {
    font-size: 0.8125rem;
    color: var(--eah-text);
    margin-top: 0.25rem;
}

.outbid-toast-close {
    flex: 0 0 auto;
    background: none;
    border: none;
    color: var(--eah-text-secondary);
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.outbid-toast-close:hover {
    color: var(--eah-text);
}

@keyframes outbid-toast-in {
    from { transform: translateX(110%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media screen and (max-width: 575.98px) {
    .outbid-toast {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }
}
