/* ================================================================
   ATHMAAN — Shared Design System
   Used by: home_modern, auction, auctionData (and any future pages)
   ================================================================ */

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    --primary:       #0d3d6b;
    --primary-mid:   #1057a0;
    --primary-light: #1a73c8;
    --accent:        #f59e0b;
    --accent-soft:   #fef3c7;
    --success:       #059669;
    --success-soft:  #d1fae5;
    --danger:        #dc2626;
    --info:          #2563eb;
    --info-soft:     #dbeafe;
    --warning-bg:    #eff6ff;
    --text:          #111827;
    --text-2:        #374151;
    --muted:         #6b7280;
    --surface:       #ffffff;
    --surface-2:     #f8fafd;
    --border:        #e2eaf5;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
    --shadow-md:     0 4px 16px rgba(13,61,107,.10);
    --shadow-lg:     0 12px 40px rgba(13,61,107,.15);
    --radius-sm:     8px;
    --radius-md:     14px;
    --radius-lg:     20px;
    --transition:    all 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ─── BASE ──────────────────────────────────────────────────── */
html, body { margin: 0; padding: 0; }

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--surface-2);
    color: var(--text);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.app-navbar {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    z-index: 1050;
}

.navbar-brand .brand-logo { height: 34px; }

.navbar-brand .brand-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: -.3px;
}

/* Dark pill container keeps the white SVG logo visible on light navbar */
.logo-pill {
    background: var(--primary);
    border-radius: 10px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(13,61,107,.25);
    transition: box-shadow .2s;
}
.logo-pill:hover { box-shadow: 0 4px 14px rgba(13,61,107,.35); }
.logo-pill img,
.logo-pill .brand-logo { height: 28px; }
.logo-pill span,
.logo-pill .brand-name { color: #fff !important; font-weight: 800; font-size: .95rem; }

.nav-link {
    color: var(--text-2) !important;
    font-weight: 600;
    font-size: .92rem;
    padding: .45rem .75rem !important;
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--info-soft); color: var(--primary-light) !important; }
.nav-link.active { color: var(--primary-light) !important; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(150deg, var(--primary) 0%, var(--primary-light) 60%, #2a8fd6 100%);
    color: #fff;
    padding: 108px 0 56px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 65% at 0% 110%, rgba(255,255,255,.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 100% -10%, rgba(255,255,255,.06) 0%, transparent 55%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 44px;
    background: var(--surface-2);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
    backdrop-filter: blur(4px);
}
.hero-eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.6); }
}

.hero-title {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.5px;
    margin-bottom: .6rem;
}
.hero-sub { font-size: 1rem; opacity: .82; font-weight: 400; margin-bottom: 0; }
.hero-actions { margin-top: 1.6rem; }

.btn-hero-primary {
    background: var(--accent);
    color: #1a1a1a;
    font-weight: 800;
    border: none;
    padding: .65rem 1.6rem;
    border-radius: 12px;
    font-size: .95rem;
    box-shadow: 0 4px 14px rgba(245,158,11,.4);
    transition: transform .15s, box-shadow .15s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,.5); color: #1a1a1a; }

.btn-hero-ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    font-weight: 700;
    border: 1.5px solid rgba(255,255,255,.35);
    padding: .63rem 1.4rem;
    border-radius: 12px;
    font-size: .95rem;
    backdrop-filter: blur(4px);
    transition: background .15s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ─── STATS STRIP ────────────────────────────────────────────── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.scard {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.1rem 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: .9rem;
    transition: box-shadow .2s;
}
.scard:hover { box-shadow: var(--shadow-md); }
.scard-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.scard-icon.blue   { background: var(--info-soft);   color: var(--info); }
.scard-icon.green  { background: var(--success-soft); color: var(--success); }
.scard-icon.amber  { background: var(--accent-soft);  color: #b45309; }
.scard-icon.grey   { background: #f3f4f6;             color: #6b7280; }
.scard-label { font-size: .78rem; color: var(--muted); font-weight: 500; margin-bottom: .1rem; }
.scard-value { font-size: 1.45rem; font-weight: 900; color: var(--text); line-height: 1; }
@media (max-width: 767px) {
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ─── FILTER PANEL ───────────────────────────────────────────── */
.filter-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}
.filter-panel .form-control,
.filter-panel .form-select {
    border-radius: 10px;
    border: 1.5px solid var(--border);
    font-size: .9rem;
    padding: .55rem .9rem;
    background: var(--surface-2);
    transition: border-color .15s, box-shadow .15s;
}
.filter-panel .form-control:focus,
.filter-panel .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(26,115,200,.12);
    background: #fff;
}
.btn-search {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: .55rem 1.3rem;
    font-size: .9rem;
    transition: background .15s, transform .1s;
}
.btn-search:hover { background: var(--primary-mid); color: #fff; transform: translateY(-1px); }

/* Quick-filter pills */
.pill-group { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .85rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
}
.pill-all     { border-color: #d1d5db; color: var(--text-2); background: #f9fafb; }
.pill-all:hover, .pill-all.active     { background: var(--text); color: #fff; border-color: var(--text); }
.pill-active  { border-color: #a7f3d0; color: #065f46; background: #ecfdf5; }
.pill-active:hover, .pill-active.active { background: var(--success); color: #fff; border-color: var(--success); }
.pill-upcoming{ border-color: #bfdbfe; color: #1e40af; background: #eff6ff; }
.pill-upcoming:hover, .pill-upcoming.active { background: var(--info); color: #fff; border-color: var(--info); }
.pill-ended   { border-color: #e5e7eb; color: #4b5563; background: #f9fafb; }
.pill-ended:hover, .pill-ended.active { background: #374151; color: #fff; border-color: #374151; }

/* ─── RESULTS HEADER ─────────────────────────────────────────── */
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.results-title  { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.results-count  { font-size: .82rem; color: var(--muted); background: #f3f4f6; padding: .25rem .6rem; border-radius: 999px; }

/* ─── AUCTION CARD (listing page) ───────────────────────────── */
.auction-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .22s cubic-bezier(.34,1.3,.64,1), box-shadow .22s;
}
.auction-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card-img-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #dce7f3, #eef4fb);
}
.auction-image { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s ease; }
.auction-card:hover .auction-image { transform: scale(1.04); }
.card-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,30,60,.55) 0%, transparent 55%);
}
.card-overlay-title {
    position: absolute;
    bottom: .75rem; right: .9rem; left: .9rem;
    color: #fff;
    font-weight: 800;
    font-size: .97rem;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.badge-status {
    position: absolute;
    top: .75rem; right: .8rem;
    font-size: .72rem;
    font-weight: 800;
    padding: .28rem .65rem;
    border-radius: 999px;
    letter-spacing: .3px;
}
.status-active   { background: #d1fae5; color: #065f46; }
.status-upcoming { background: #dbeafe; color: #1e40af; }
.status-ended    { background: #f3f4f6; color: #6b7280; }

.card-body-custom { padding: 1rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.meta-row { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .82rem; margin-bottom: .4rem; }
.meta-row i { width: 13px; text-align: center; color: var(--primary-light); flex-shrink: 0; }
.card-divider { border: none; border-top: 1px solid var(--border); margin: .8rem 0; }
.card-actions { display: flex; gap: .6rem; margin-top: auto; }

.btn-detail {
    flex: 1;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: .5rem .75rem;
    font-size: .85rem;
    transition: background .15s;
    text-align: center;
    text-decoration: none;
}
.btn-detail:hover { background: var(--primary-mid); color: #fff; }

.btn-brochure {
    flex: 1;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: .5rem .75rem;
    font-size: .85rem;
    transition: border-color .15s, background .15s;
    text-align: center;
    text-decoration: none;
}
.btn-brochure:hover { border-color: var(--primary); background: var(--info-soft); color: var(--primary); }

/* ─── EMPTY STATE ────────────────────────────────────────────── */
.empty-box { background: var(--surface); border: 2px dashed var(--border); border-radius: 20px; padding: 3rem 2rem; text-align: center; }
.empty-icon { font-size: 2.8rem; color: #d1d5db; margin-bottom: .9rem; }

/* ─── PAGINATION ─────────────────────────────────────────────── */
.pagination .page-link {
    border-radius: 8px !important;
    margin: 0 2px;
    font-weight: 600;
    font-size: .85rem;
    color: var(--primary);
    border: 1.5px solid var(--border);
}
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.app-footer {
    margin-top: 3rem;
    background: var(--primary);
    color: rgba(255,255,255,.75);
    padding: 1.6rem 0;
}
.app-footer a { color: rgba(255,255,255,.65); text-decoration: none; }
.app-footer a:hover { color: #fff; }
.footer-brand { font-weight: 800; color: #fff; font-size: 1rem; }

/* ─── SCROLL-TO-TOP BUTTON ───────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 1.5rem; left: 1.5rem;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s;
    z-index: 999;
    border: none;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }

/* ─── MAP VIEWPORT (auction map page) ───────────────────────── */
.map-viewport {
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.map-viewport #map_canvas { width: 100%; height: 100%; }

/* ─── AUCTION DETAIL PAGE ────────────────────────────────────── */
.auction-header {
    position: relative;
    background: linear-gradient(150deg, var(--primary) 0%, var(--primary-light) 60%, #2a8fd6 100%);
    color: white;
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.auction-header::before {
    content: '';
    position: absolute; inset: 0;
    background: url('/img/pattern.png');
    opacity: 0.1;
    z-index: 0;
}
.auction-header-content { position: relative; z-index: 1; padding: 3rem 0; }
.auction-title  { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,.2); }
.auction-subtitle { font-size: 1.2rem; opacity: .9; margin-bottom: 1.5rem; }
.auction-meta   { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.auction-meta-item {
    display: flex; align-items: center; gap: .5rem;
    background-color: rgba(255,255,255,.15);
    padding: .5rem 1rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}
.auction-meta-item:hover { background-color: rgba(255,255,255,.25); transform: translateY(-2px); }
.auction-meta-item i { font-size: 1.2rem; }

/* Status badge (detail page hero) */
.status-badge {
    position: absolute;
    top: 2rem; left: 2rem;
    padding: .6rem 1.2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.status-finished { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.status-ongoing  { background: var(--success-soft); color: #065f46; border: 1px solid #6ee7b7; }

/* Premium Tabs */
.premium-tabs { margin-top: -2rem; position: relative; z-index: 10; }
.premium-tabs .nav-tabs {
    border: none;
    background: white;
    border-radius: var(--radius-md);
    padding: .5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
}
.premium-tabs .nav-item { flex: 1; text-align: center; margin: 0 .25rem; }
.premium-tabs .nav-link {
    border: none;
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-weight: 600;
    color: var(--text-2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
.premium-tabs .nav-link i { font-size: 1.5rem; transition: var(--transition); }
.premium-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-sm);
}
.premium-tabs .nav-link:hover:not(.active) { background-color: var(--accent-soft); transform: translateY(-2px); }
.premium-tabs .nav-link.active i { transform: scale(1.2); }

/* Tab content */
.premium-tab-content { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 2rem; margin-top: 2rem; }
.tab-pane { animation: fadeIn .5s ease-out; }

/* Section titles */
.section-title {
    position: relative;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
}

/* Info cards */
.info-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary-light);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-card-title { display: flex; align-items: center; gap: .75rem; font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.info-card-title i { font-size: 1.5rem; }
.info-item { display: flex; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.info-item:last-child { border-bottom: none; }
.info-label { font-weight: 600; color: var(--text-2); }
.info-value { color: var(--muted); }

/* Map container (detail page tab) */
.map-container { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); height: 600px; }
#map_canvas { width: 100%; height: 100%; }
.map-overlay { position: absolute; top: 1rem; right: 1rem; background: white; border-radius: var(--radius-sm); padding: .75rem; box-shadow: var(--shadow-sm); z-index: 10; max-width: 300px; }
.map-overlay-title { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; color: var(--primary); }

/* Property cards */
.property-card { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; transition: var(--transition); margin-bottom: 1.5rem; }
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.property-card-header { padding: 1.25rem; border-bottom: 1px solid rgba(0,0,0,.05); display: flex; justify-content: space-between; align-items: center; }
.property-card-title { font-size: 1.25rem; font-weight: 700; margin: 0; color: var(--primary); }
.property-card-body { padding: 1.25rem; }
.property-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.property-info-item { display: flex; flex-direction: column; }
.property-info-label { font-size: .875rem; color: var(--muted); }
.property-info-value { font-weight: 600; color: var(--text); }
.property-card-footer { background: #f8f9fa; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.property-price { font-weight: 700; font-size: 1.1rem; color: var(--primary); }

/* Premium buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: .75rem 1.5rem;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 4px 14px rgba(13,61,107,.3);
    text-decoration: none;
}
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13,61,107,.4); color: white; text-decoration: none; }

.btn-premium-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    padding: .75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
}
.btn-premium-outline:hover { background: var(--primary); color: white; transform: translateY(-2px); text-decoration: none; }

.btn-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.btn-icon:hover { transform: translateY(-2px); }

/* PDF viewer */
.pdf-container { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); height: 600px; }
.pdf-container iframe { width: 100%; height: 100%; border: none; }

/* Platform section */
.platform-section { text-align: center; padding: 3rem 0; }
.platform-logo { max-width: 200px; margin-bottom: 2rem; }
.platform-description { max-width: 600px; margin: 0 auto 2rem; color: var(--muted); }

/* Google Maps info window overrides */
.gm-style .gm-style-iw-c  { padding: 0 !important; border-radius: var(--radius-md) !important; overflow: hidden !important; max-width: 320px !important; box-shadow: var(--shadow-md) !important; }
.gm-style .gm-style-iw-d  { overflow: hidden !important; padding: 0 !important; }
.gm-style-iw-d::-webkit-scrollbar { display: none !important; }
.gm-style .gm-style-iw-t::after,
.gm-ui-hover-effect { display: none !important; }

.custom-info-window { font-family: 'Tajawal', sans-serif; direction: rtl; text-align: right; padding: 0; border-radius: var(--radius-md); overflow: hidden; width: 100%; max-width: 320px; background: #fff; position: relative; }
.info-window-close { position: absolute; top: 10px; left: 10px; width: 28px; height: 28px; background: rgba(255,255,255,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; font-size: 18px; color: #666; border: none; box-shadow: var(--shadow-sm); transition: var(--transition); }
.info-window-close:hover { background: #fff; transform: scale(1.1); color: #333; }
.info-window-header { position: relative; padding: 0; overflow: hidden; height: 160px; }
.info-window-header-image { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85); transition: transform .5s ease; }
.info-window-header:hover .info-window-header-image { transform: scale(1.05); }
.info-window-header-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,.7) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.info-window-title    { color: #fff; margin: 0 0 5px; font-size: 18px; font-weight: bold; text-shadow: 0 1px 3px rgba(0,0,0,.5); line-height: 1.4; }
.info-window-subtitle { color: #eee; margin: 0; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.info-window-badges   { display: flex; gap: 8px; margin-top: 8px; }
.info-window-badge    { background: var(--primary); color: white; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; display: inline-flex; align-items: center; box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.info-window-badge.electronic { background: #006e5f; }
.info-window-badge.upcoming   { background: var(--accent); }
.info-window-badge.ongoing    { background: var(--success); }
.info-window-badge.finished   { background: var(--danger); }
.info-window-content          { padding: 16px; }
.info-window-property-info    { display: flex; flex-wrap: wrap; margin-bottom: 16px; background: #f8f9fa; border-radius: var(--radius-sm); padding: 12px; }
.info-window-property-item    { flex: 1; min-width: 100px; margin-bottom: 8px; }
.info-window-property-label   { color: #666; font-size: 12px; display: block; margin-bottom: 2px; }
.info-window-property-value   { color: #333; font-weight: bold; font-size: 14px; }
.info-window-actions          { display: flex; gap: 8px; margin-top: 16px; }
.info-window-button           { flex: 1; text-align: center; background: var(--primary); color: white; text-decoration: none; padding: 10px 0; border-radius: var(--radius-sm); transition: var(--transition); font-size: 14px; font-weight: bold; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; }
.info-window-button:hover     { background: var(--primary-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); color: white; text-decoration: none; }
.info-window-button.secondary       { background: #f0f0f0; color: #333; }
.info-window-button.secondary:hover { background: #e0e0e0; color: #333; }
.info-window-price { background: var(--primary); color: white; text-align: center; padding: 12px; font-weight: bold; font-size: 16px; margin-top: 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 992px) {
    .auction-title { font-size: 1.8rem; }
    .auction-meta  { gap: 1rem; }
    .status-badge  { top: 1.5rem; left: 1.5rem; padding: .5rem 1rem; font-size: .9rem; }
}
@media (max-width: 768px) {
    .auction-header-content { padding: 2rem 0; }
    .auction-title          { font-size: 1.5rem; }
    .auction-subtitle       { font-size: 1rem; }
    .auction-meta           { flex-direction: column; gap: .75rem; }
    .premium-tabs .nav-link { padding: .75rem .5rem; font-size: .9rem; }
    .premium-tabs .nav-link i { font-size: 1.2rem; }
    .premium-tab-content    { padding: 1.5rem; }
    .map-container          { height: 400px; }
    .property-info-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .status-badge           { top: 1rem; left: 1rem; padding: .4rem .8rem; font-size: .8rem; }
    .premium-tabs .nav-item { margin: 0 .1rem; }
    .premium-tabs .nav-link { padding: .5rem .25rem; font-size: .8rem; }
    .premium-tabs .nav-link i { font-size: 1rem; }
    .property-info-grid     { grid-template-columns: 1fr; }
    .property-card-header   { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .property-card-footer   { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
