/* ========================================================
   Sisarke — NanoBanana 2 Design System (Light Theme)
   ======================================================== */

/* ===== Variables ===== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafc;
    --bg-elevated: #f3f4f8;
    --bg-input: #f5f6fa;
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-light: #a78bfa;
    --accent-warm: #f59e0b;
    --accent-soft: rgba(124, 58, 237, 0.08);
    --accent-glow: rgba(124, 58, 237, 0.2);
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    --gradient-warm: linear-gradient(135deg, #7c3aed 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(160deg, #f8f9fc 0%, #ffffff 40%, #f5f3ff 100%);
    --gradient-card: linear-gradient(135deg, rgba(124,58,237,0.03) 0%, transparent 100%);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #9295a6;
    --border-color: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.1);
    --success: #059669;
    --success-light: #34d399;
    --success-bg: rgba(5, 150, 105, 0.08);
    --danger: #dc2626;
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 100px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: blur(20px) saturate(1.6);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 62px;
}

main { flex: 1; }

a { color: var(--accent); transition: color var(--transition); text-decoration: none; }
a:hover { color: var(--accent-hover); }

::selection { background: var(--accent); color: #fff; }

/* ===== Navbar ===== */
.s-navbar {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.6rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: background var(--transition);
}

.s-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #c4b5fd, #7c3aed);
    background-size: 300% 100%;
    animation: navbar-gradient-slide 3s linear infinite;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.s-navbar.loaded::before {
    opacity: 0;
}

@keyframes navbar-gradient-slide {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.s-navbar .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.s-navbar .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
}

.s-navbar .nav-link:hover {
    color: var(--text-primary) !important;
    background: var(--bg-elevated);
}

.s-navbar .btn-link {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem !important;
}

.s-navbar .btn-link:hover {
    color: var(--text-primary) !important;
    background: var(--bg-elevated);
}

.s-navbar .nav-cta {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    border: none;
}

.s-navbar .nav-cta:hover {
    color: #fff !important;
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-1px);
    opacity: 0.92;
}

.s-navbar .dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.s-navbar .dropdown-item {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.s-navbar .dropdown-item:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

/* ===== Hero ===== */
.s-hero {
    background: var(--gradient-hero);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.s-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 55%);
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite;
}

.s-hero::after {
    content: '';
    position: absolute;
    bottom: -35%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 55%);
    pointer-events: none;
    animation: floatOrb 10s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.s-hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.12;
    position: relative;
    color: var(--text-primary);
}

.s-hero .lead {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
    position: relative;
    line-height: 1.7;
}

.s-hero .accent-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    position: relative;
}

.s-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1.1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.s-trust-badge strong { color: var(--text-primary); }

.s-hero-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

/* ===== Page Header ===== */
.s-page-header {
    background: var(--bg-secondary);
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.s-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124,58,237,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.s-page-header h1 { font-weight: 800; letter-spacing: -0.5px; position: relative; }

.s-page-header .s-breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
}

.s-page-header .s-breadcrumb a { color: var(--accent); }
.s-page-header .s-breadcrumb a:hover { text-decoration: underline; }
.s-page-header .s-breadcrumb .separator { color: var(--text-muted); }
.s-page-header .s-breadcrumb .current { color: var(--text-secondary); }
.s-page-header .subtitle { color: var(--text-secondary); font-size: 0.95rem; position: relative; }

/* ===== Cards - Base ===== */
.s-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    overflow: hidden;
}

.s-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== City Cards ===== */
.s-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.25rem;
}

.s-city-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem 1.25rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.s-city-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition);
}

.s-city-card:hover {
    color: var(--text-primary);
    border-color: var(--accent-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.s-city-card:hover::before { opacity: 1; }

.s-city-card h3 { font-weight: 700; font-size: 1.05rem; margin: 0; position: relative; }
.s-city-card .city-count { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; position: relative; }

/* ===== Bar Cards ===== */
.s-bar-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.s-bar-card:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.s-bar-card .card-image { height: 200px; overflow: hidden; position: relative; }
.s-bar-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.s-bar-card:hover .card-image img { transform: scale(1.06); }

.s-bar-card .card-placeholder {
    height: 200px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
}

.s-bar-card .card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.s-bar-card .bar-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.25rem; }
.s-bar-card .bar-address { color: var(--text-muted); font-size: 0.85rem; margin-bottom: auto; }

.s-bar-card .card-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.s-bar-card .bar-price { font-weight: 700; color: var(--accent); }

/* ===== Badges ===== */
.s-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.s-badge-open { background: var(--success-bg); color: var(--success); }
.s-badge-closed { background: var(--bg-elevated); color: var(--text-muted); }
.s-badge-top { background: var(--accent-soft); color: var(--accent); }
.s-badge-outline { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border-color); }
.s-badge-premium { background: var(--gradient-primary); color: #fff; }

/* ===== Bar Detail ===== */
.s-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s-detail-header h1 { font-weight: 800; font-size: 2rem; letter-spacing: -0.5px; margin-bottom: 0.25rem; }
.s-detail-header .bar-type { color: var(--text-muted); font-size: 0.9rem; }

.s-gallery {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.s-gallery .carousel-item img { height: 420px; object-fit: cover; }

.s-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.s-sidebar-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.s-price-display { font-size: 1.75rem; font-weight: 800; color: var(--accent); line-height: 1; }
.s-price-display .currency { font-size: 1rem; color: var(--text-muted); font-weight: 500; margin-left: 0.25rem; }
.s-address { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }

/* ===== CTA Buttons ===== */
.s-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

.s-cta-phone {
    background: linear-gradient(135deg, #059669, #34d399);
    color: #fff;
}

.s-cta-phone:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

.s-cta-whatsapp {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.s-cta-whatsapp:hover {
    background: rgba(5, 150, 105, 0.12);
    color: var(--success);
    transform: translateY(-2px);
}

.s-cta-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.s-cta-outline:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.s-cta-stack { display: flex; flex-direction: column; gap: 0.75rem; }

/* ===== Working Hours ===== */
.s-hours-table { width: 100%; }
.s-hours-table tr { border-bottom: 1px solid var(--border-color); }
.s-hours-table tr:last-child { border-bottom: none; }
.s-hours-table td { padding: 0.55rem 0; font-size: 0.9rem; }
.s-hours-table .day-name { color: var(--text-secondary); }
.s-hours-table .day-hours { text-align: right; color: var(--text-primary); font-weight: 500; }
.s-hours-table .today { color: var(--accent) !important; font-weight: 700; }
.s-hours-table .closed-text { color: var(--text-muted); font-style: italic; }

.s-price-row-clickable { cursor: pointer; transition: background-color 0.15s ease; border-radius: var(--radius-sm); }
.s-price-row-clickable:hover { background-color: var(--accent-soft); }
.s-price-expand-icon { color: var(--accent); font-size: 1.1rem; transition: transform 0.2s ease; }
.s-price-row-clickable[aria-expanded="true"] .s-price-expand-icon { transform: rotate(90deg); }
.s-price-desc-row td { border-bottom: 1px solid var(--border-color) !important; vertical-align: top !important; }
.s-price-desc-cell { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ===== Description ===== */
.s-description { color: var(--text-secondary); line-height: 1.8; font-size: 1rem; }
.s-description h2 { color: var(--text-primary); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.75rem; }
.s-description h3 { color: var(--text-primary); font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; }

/* ===== Section Headers ===== */
.s-section-title {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.s-section-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }

.s-section-header {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

/* ===== Footer ===== */
.s-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.s-footer .footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.s-footer .footer-tagline { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.s-footer h6 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.s-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.s-footer .footer-links li { margin-bottom: 0.6rem; }
.s-footer a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color var(--transition); }
.s-footer a:hover { color: var(--accent); }

.s-footer .footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Login / Auth ===== */
.s-login-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-secondary);
}

.s-login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.s-login-card h1 {
    font-weight: 800;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

/* ===== Form Elements ===== */
.s-form .form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.45rem;
}

.s-form .form-control,
.s-form .form-select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1.1rem;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.s-form .form-control:focus,
.s-form .form-select:focus {
    background: #fff;
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 4px var(--accent-soft);
    outline: none;
}

.s-form .form-control::placeholder { color: var(--text-muted); }

.s-form .form-check-input {
    background-color: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    width: 1.15em;
    height: 1.15em;
}

.s-form .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.s-form .form-check-label { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Buttons ===== */
.s-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.s-btn-accent {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.s-btn-accent:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.s-btn-outline {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.s-btn-outline:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.s-btn-lg { padding: 0.9rem 2.25rem; font-size: 1rem; }
.s-btn-block { width: 100%; }

.s-btn-google {
    background: #fff;
    color: #3c4043;
    border: 1px solid var(--border-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.s-btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #3c4043;
}

.s-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 1rem;
}
.s-divider::before,
.s-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}
.s-divider span {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Alerts ===== */
.s-alert {
    background: var(--accent-soft);
    border: 1px solid rgba(124, 58, 237, 0.15);
    color: var(--accent);
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.5rem;
    font-weight: 500;
    text-align: center;
}

/* ===== Pagination ===== */
.s-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

.s-pagination a,
.s-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.s-pagination a {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.s-pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.s-pagination .active span {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* ===== Empty State ===== */
.s-empty { text-align: center; padding: 4rem 2rem; }
.s-empty h3 { color: var(--text-secondary); font-weight: 600; margin-bottom: 0.5rem; }
.s-empty p { color: var(--text-muted); }

/* ===== Admin / Owner Bootstrap overrides ===== */
.container .card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.container .card-header {
    background: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0 !important;
}

.container .list-group-item {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
    transition: all var(--transition);
}

.container .list-group-item-action:hover {
    background: var(--bg-elevated);
    color: var(--accent);
}

/* ===== Admin Data List (replaces tables) ===== */
.s-data-list {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.s-data-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    cursor: pointer;
}
.s-data-row:last-child { border-bottom: none; }
.s-data-row:hover { background: var(--bg-elevated); color: var(--text-primary); }

.s-data-id {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    min-width: 36px;
    flex-shrink: 0;
}

.s-data-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.s-data-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s-data-name { font-weight: 600; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-data-meta { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.s-data-badges { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.s-data-arrow {
    color: var(--text-muted);
    font-size: 1.3rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.s-data-row:hover .s-data-arrow { transform: translateX(3px); color: var(--accent); }

.s-data-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Pills & Dots */
.s-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--bg-elevated);
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.s-pill-gold { background: rgba(245,158,11,0.12); color: #b45309; }
.s-pill-blue { background: rgba(99,102,241,0.1); color: #4f46e5; }

.s-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
}
.s-dot-green { background: var(--success); box-shadow: 0 0 0 3px var(--success-bg); }
.s-dot-red { background: var(--danger); box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }

.s-code-tag {
    font-size: 0.72rem;
    background: var(--bg-elevated);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--accent);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.s-count-badge {
    font-size: 0.65em;
    font-weight: 700;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    vertical-align: middle;
    margin-left: 4px;
}

/* Action buttons (inline in rows) */
.s-action-btn {
    border: 1px solid var(--border-color);
    background: transparent;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-secondary);
    flex-shrink: 0;
}
.s-action-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.s-action-danger:hover { border-color: var(--danger); color: var(--danger); background: rgba(220,38,38,0.06); }
.s-action-success:hover { border-color: var(--success); color: var(--success); background: var(--success-bg); }

/* Filter bar */
.s-filter-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 10px 16px;
    box-shadow: var(--shadow-sm);
}
.s-filter-bar-inner {
    display: flex;
    gap: 8px;
    align-items: center;
}
.s-filter-bar .form-control {
    flex: 1;
    min-width: 0;
}
.s-filter-bar .ts-wrapper { min-width: 150px; }

/* Pagination */
.s-pagination { display: flex; gap: 4px; }
.s-page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.s-page-link:hover { background: var(--bg-elevated); color: var(--accent); }
.s-page-link.active { background: var(--accent); color: #fff; }

/* Tom Select overrides for admin */
.ts-wrapper .ts-control {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.5rem 0.75rem !important;
    min-height: auto !important;
    cursor: pointer !important;
}
.ts-wrapper.focus .ts-control {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px var(--accent-soft) !important;
}
.ts-dropdown {
    border-radius: var(--radius-sm) !important;
    border-color: var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    margin-top: 4px !important;
}
.ts-dropdown .option {
    padding: 8px 12px !important;
    font-size: 0.88rem !important;
    border-radius: 6px !important;
    margin: 2px 4px !important;
    transition: all 0.15s ease !important;
}
.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background: var(--accent-soft) !important;
    color: var(--accent) !important;
}
.ts-dropdown .option.selected {
    background: var(--accent) !important;
    color: #fff !important;
}

/* Legacy table overrides (keep for any remaining tables) */
.container .table { color: var(--text-primary); --bs-table-bg: transparent; }
.container .table-light { --bs-table-bg: var(--bg-secondary); --bs-table-color: var(--text-primary); }
.container .table-hover > tbody > tr:hover { --bs-table-hover-bg: var(--bg-elevated); --bs-table-hover-color: var(--text-primary); }
.table-active { background-color: var(--accent-soft) !important; }

.container .form-control,
.container .form-select {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.7rem 1rem;
    transition: all var(--transition);
}

.container .form-control:focus,
.container .form-select:focus {
    background: #fff;
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.container .form-label { color: var(--text-secondary); }

.btn-warning {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius-pill) !important;
    padding: 0.65rem 1.5rem !important;
    transition: all var(--transition);
}

.btn-warning:hover {
    box-shadow: 0 4px 16px var(--accent-glow) !important;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    color: #fff !important;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-primary:hover {
    box-shadow: 0 4px 16px var(--accent-glow) !important;
    transform: translateY(-1px);
}

.text-muted { color: var(--text-muted) !important; }

.bg-primary { background: var(--gradient-primary) !important; border-radius: var(--radius-xl); }
.bg-success { background: linear-gradient(135deg, #059669, #34d399) !important; border-radius: var(--radius-xl); }
.bg-dark { background: var(--text-primary) !important; border-radius: var(--radius-xl); }
.bg-secondary { background: var(--bg-elevated) !important; }
.bg-info { background: linear-gradient(135deg, #6366f1, #818cf8) !important; border-radius: var(--radius-xl); }

.badge.bg-success { background: var(--success-bg) !important; color: var(--success) !important; border-radius: var(--radius-pill) !important; }
.badge.bg-danger { background: rgba(220,38,38,0.08) !important; color: var(--danger) !important; border-radius: var(--radius-pill) !important; }
.badge.bg-secondary { background: var(--bg-elevated) !important; color: var(--text-muted) !important; border-radius: var(--radius-pill) !important; }

.alert-success { background: var(--accent-soft); border-color: rgba(124,58,237,0.15); color: var(--accent); border-radius: var(--radius); }

.btn-outline-secondary {
    border-color: var(--border-light) !important;
    color: var(--text-secondary) !important;
    border-radius: var(--radius-pill) !important;
    transition: all var(--transition);
}

.btn-outline-secondary:hover {
    background: var(--accent-soft) !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.btn-outline-primary {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    border-radius: var(--radius-pill) !important;
    transition: all var(--transition);
}

.btn-outline-primary:hover {
    background: var(--accent-soft) !important;
    color: var(--accent-hover) !important;
}

.btn-lg {
    border-radius: var(--radius-pill) !important;
    padding: 0.75rem 2rem !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .s-hero { padding: 3rem 0 2.5rem; }
    .s-city-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .s-gallery .carousel-item img { height: 260px; }
    .s-detail-header h1 { font-size: 1.5rem; }
    .s-login-card { padding: 1.75rem; }
    .s-trust-badges { gap: 0.5rem; }
    .s-trust-badge { font-size: 0.78rem; padding: 0.4rem 0.8rem; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.s-animate-in { animation: fadeInUp 0.6s ease forwards; }
.s-animate-in:nth-child(2) { animation-delay: 0.06s; }
.s-animate-in:nth-child(3) { animation-delay: 0.12s; }
.s-animate-in:nth-child(4) { animation-delay: 0.18s; }
.s-animate-in:nth-child(5) { animation-delay: 0.24s; }
.s-animate-in:nth-child(6) { animation-delay: 0.3s; }
.s-animate-in:nth-child(7) { animation-delay: 0.36s; }
.s-animate-in:nth-child(8) { animation-delay: 0.42s; }

/* ===== Map ===== */
.s-map-detail {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.s-map-page { display: flex; flex-direction: column; height: calc(100vh - 60px); }

.s-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.s-map-toolbar h1 { font-size: 1.1rem; font-weight: 700; margin: 0; white-space: nowrap; }
.s-map-wrapper { flex: 1; position: relative; display: flex; min-height: 0; }
.s-map-container { flex: 1; min-height: 400px; }

/* ===== Nearest Panel ===== */
.s-nearest-panel {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 360px;
    max-height: calc(100% - 2rem);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 10;
    overflow: hidden;
}

.s-nearest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.s-nearest-header h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-primary);
}

.s-nearest-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    border-radius: var(--radius-pill);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.s-nearest-close:hover { color: var(--text-primary); background: var(--bg-elevated); }
.s-nearest-list { padding: 0.75rem; overflow-y: auto; flex: 1; }

.s-nearest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    cursor: pointer;
    gap: 0.75rem;
}

.s-nearest-item:hover { background: var(--bg-elevated); color: var(--text-primary); }
.s-nearest-item-main { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }

.s-nearest-rank {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.s-nearest-name { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-nearest-meta { color: var(--text-muted); font-size: 0.78rem; }
.s-nearest-dist { font-weight: 700; font-size: 0.85rem; color: var(--accent); white-space: nowrap; flex-shrink: 0; }

/* ===== Google Maps InfoWindow ===== */
.gm-style .gm-style-iw-d { overflow: hidden !important; }
.gm-style .gm-style-iw-c { border-radius: var(--radius) !important; padding: 14px !important; box-shadow: var(--shadow-lg) !important; }

/* ===== Map responsive ===== */
@media (max-width: 768px) {
    .s-map-page { height: calc(100vh - 56px); }
    .s-map-toolbar { padding: 0.5rem 1rem; }
    .s-map-toolbar h1 { font-size: 0.95rem; }
    .s-nearest-panel { width: calc(100% - 1rem); right: 0.5rem; top: auto; bottom: 0.5rem; max-height: 50%; }
    .s-map-detail { height: 240px; }
}
