/* ============================================================
   Venue Reservation — Professional Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --primary-subtle: #eef2ff;

    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --sidebar-width: 268px;
    --topbar-height: 64px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Base ---- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--slate-100);
    color: var(--slate-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

a {
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

/* ---- Public Navbar ---- */

.public-navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.public-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--slate-900) !important;
    letter-spacing: -0.03em;
}

.public-navbar .brand-logo-image {
    width: 72px;
    height: 72px;
    display: block;
    border-radius: 50%;
    object-fit: contain;
}

.public-navbar .brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
}

.public-navbar .nav-link {
    color: var(--slate-600) !important;
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
}

.public-navbar .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-subtle);
}

.public-navbar .btn-nav-primary {
    background: var(--primary);
    color: #fff !important;
    border-radius: var(--radius-sm);
    padding: 0.5rem 1.25rem !important;
    font-weight: 600;
    margin-left: 0.5rem;
}

.public-navbar .btn-nav-primary:hover {
    background: var(--primary-dark);
    color: #fff !important;
}

.public-navbar .user-greeting {
    color: var(--slate-500);
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

.public-navbar .user-greeting strong {
    color: var(--slate-800);
}

/* ---- Landing Page ---- */

.landing-hero {
    position: relative;
    background: linear-gradient(135deg, var(--slate-950) 0%, #1e1b4b 50%, var(--primary-dark) 100%);
    color: #fff;
    padding: 6rem 0 7rem;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.landing-hero .container {
    position: relative;
    z-index: 1;
}

.landing-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.landing-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.landing-hero .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.landing-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.landing-hero .btn-hero-primary {
    background: #fff;
    color: var(--primary-dark);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    border: none;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
}

.landing-hero .btn-hero-primary:hover {
    background: var(--slate-50);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xl);
}

.landing-hero .btn-hero-outline {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-size: 1rem;
}

.landing-hero .btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.landing-stats {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    padding-bottom: 2rem;
}

.stat-card-mini {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
    text-align: center;
    height: 100%;
}

.stat-card-mini .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card-mini .stat-label {
    font-size: 0.875rem;
    color: var(--slate-500);
    font-weight: 500;
}

.features-section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--slate-500);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 3rem;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-card .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.feature-icon.icon-primary { background: var(--primary-subtle); color: var(--primary); }
.feature-icon.icon-success { background: #d1fae5; color: var(--success); }
.feature-icon.icon-info { background: #dbeafe; color: var(--info); }

.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--slate-500);
    font-size: 0.925rem;
    margin: 0;
    line-height: 1.65;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
    margin: 2rem 0 4rem;
}

.cta-section h3 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
}

.site-footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 2.5rem 0;
    font-size: 0.875rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--slate-300);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

/* ---- Auth Pages ---- */

.auth-page {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        var(--slate-100);
}

.auth-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
}

.auth-card .auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card .auth-logo {
    width: 160px;
    height: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.auth-card .auth-logo img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: contain;
}

.auth-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.auth-card .auth-subtitle {
    color: var(--slate-500);
    font-size: 0.925rem;
    margin: 0;
}

.auth-card .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--slate-700);
    margin-bottom: 0.4rem;
}

.auth-card .form-control {
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.875rem;
    font-size: 0.925rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.auth-card .btn-auth {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    transition: background var(--transition), transform var(--transition);
}

.auth-card .btn-auth:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.auth-footer-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.auth-footer-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-link a:hover {
    color: var(--primary-dark);
}

/* ---- App Layout (Dashboard) ---- */

.app-layout {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: var(--sidebar-width);
    background: var(--slate-950);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease;
}

.sidebar-brand {
    padding: 1.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
}

.sidebar-brand .brand-logo {
    width: 84px;
    height: 84px;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-brand .brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: contain;
}

.sidebar-brand .brand-text {
    line-height: 1.2;
}

.sidebar-brand .brand-name {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    display: block;
}

.sidebar-brand .brand-role {
    font-size: 0.75rem;
    color: var(--slate-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
}

.sidebar-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-500);
    padding: 0.75rem 0.75rem 0.4rem;
    margin-top: 0.25rem;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--slate-400) !important;
    padding: 0.65rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
    text-decoration: none;
    transition: all var(--transition);
}

.sidebar-nav .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.85;
}

.sidebar-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-nav .nav-link.active {
    color: #fff !important;
    background: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.sidebar-nav .nav-link.active i {
    opacity: 1;
}

.sidebar-nav .nav-link.logout-link {
    color: #fca5a5 !important;
}

.sidebar-nav .nav-link.logout-link:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca !important;
}

.sidebar-footer {
    padding: 1rem 0.75rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.app-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    height: var(--topbar-height);
    background: #fff;
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: var(--shadow-xs);
}

.app-topbar .topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-topbar .sidebar-toggle {
    display: none;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--slate-700);
    cursor: pointer;
    transition: background var(--transition);
}

.app-topbar .sidebar-toggle:hover {
    background: var(--slate-200);
}

.app-topbar .page-title {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--slate-800);
    margin: 0;
}

.app-topbar .topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-topbar .user-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    padding: 0.35rem 1rem 0.35rem 0.35rem;
}

.app-topbar .user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.app-topbar .user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
}

.app-content {
    padding: 1.75rem 1.5rem 2.5rem;
    flex: 1;
}

/* Sidebar overlay (mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1035;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.show {
    display: block;
}

/* ---- Page Headers ---- */

.page-header {
    margin-bottom: 1.75rem;
}

.page-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.page-header .page-breadcrumb,
.page-header .text-muted {
    color: var(--slate-500) !important;
    font-size: 0.875rem;
    margin: 0;
}

/* ---- Cards ---- */

.card {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: #fff;
    overflow: hidden;
}

.card.shadow,
.card.shadow-sm {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--slate-200);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--slate-800);
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    padding: 1rem 1.25rem;
}

/* Stat cards */
.stat-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.875rem;
}

.stat-card .stat-icon.icon-indigo { background: var(--primary-subtle); color: var(--primary); }
.stat-card .stat-icon.icon-emerald { background: #d1fae5; color: var(--success); }
.stat-card .stat-icon.icon-amber { background: #fef3c7; color: var(--warning); }
.stat-card .stat-icon.icon-rose { background: #ffe4e6; color: #f43f5e; }
.stat-card .stat-icon.icon-sky { background: #e0f2fe; color: #0284c7; }

.stat-card h6,
.stat-card .stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--slate-500);
    margin-bottom: 0.35rem;
}

.stat-card h2,
.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 0;
    line-height: 1.2;
}

/* Venue cards */
.venue-card {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.venue-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.venue-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.venue-card .card-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--slate-100), var(--slate-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    font-size: 2.5rem;
}

.venue-card .card-body {
    flex: 1;
}

.venue-card .venue-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.venue-card .venue-location {
    color: var(--slate-500);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.venue-card .venue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.venue-card .venue-meta span {
    color: var(--slate-600);
}

.venue-card .venue-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

/* ---- Buttons ---- */

.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-success {
    background: var(--success);
    border-color: var(--success);
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-sm {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
}

/* ---- Forms ---- */

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--slate-700);
    margin-bottom: 0.4rem;
}

.form-control,
.form-select {
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.875rem;
    font-size: 0.925rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.form-control:read-only {
    background: var(--slate-50);
}

/* ---- Tables ---- */

.table {
    vertical-align: middle;
    font-size: 0.9rem;
}

.table thead th {
    background: var(--slate-50);
    color: var(--slate-600);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--slate-200);
    padding: 0.875rem 1rem;
    white-space: nowrap;
}

.table tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--slate-100);
    color: var(--slate-700);
}

.table tbody tr:hover {
    background: var(--slate-50);
}

.table-dark thead th,
thead.table-dark th {
    background: var(--slate-800) !important;
    color: #fff !important;
    border-color: var(--slate-700) !important;
}

.table img {
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* ---- Badges ---- */

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

/* ---- Alerts ---- */

.alert {
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.875rem 1.125rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

/* ---- DataTables ---- */

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.75rem;
}

.dataTables_filter {
    margin-bottom: 1rem;
}

.dataTables_length {
    margin-bottom: 1rem;
}

/* ---- Detail / Info panels ---- */

.info-panel {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.info-panel .info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
    margin-bottom: 0.2rem;
}

.info-panel .info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 0.75rem;
}

.info-panel .info-value:last-child {
    margin-bottom: 0;
}

/* ---- Empty state ---- */

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--slate-500);
}

.empty-state i {
    font-size: 2.5rem;
    color: var(--slate-300);
    margin-bottom: 1rem;
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
    }

    .app-sidebar.open {
        transform: translateX(0);
    }

    .app-main {
        margin-left: 0;
    }

    .app-topbar .sidebar-toggle {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .landing-hero {
        padding: 4rem 0 5rem;
    }

    .app-content {
        padding: 1.25rem 1rem 2rem;
    }

    .auth-card {
        padding: 1.75rem 1.5rem;
    }
}

/* ---- Legacy class compatibility ---- */

.hero {
    /* mapped to landing-hero via index update */
}

.footer {
    /* mapped to site-footer via index update */
}

.d-flex > .flex-grow-1 {
    min-width: 0;
}

/* Dashboard layout via existing d-flex wrapper */
.d-flex:has(.app-sidebar) {
    min-height: 100vh;
}

.d-flex:has(.app-sidebar) > .flex-grow-1 {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.d-flex:has(.app-sidebar) > .flex-grow-1 > .container-fluid {
    padding: 1.75rem 1.5rem 2.5rem;
    flex: 1;
}

.d-flex:has(.app-sidebar) > .flex-grow-1 > .container-fluid.mt-4 {
    margin-top: 0 !important;
}

@media (max-width: 991.98px) {
    .d-flex:has(.app-sidebar) > .flex-grow-1 {
        margin-left: 0;
    }
}

/* Dashboard stat card auto-style for existing markup */
.card.shadow.border-0.text-center .card-body h6 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--slate-500);
}

.card-header.bg-primary,
.card-header.bg-success,
.card-header.bg-danger,
.card-header.bg-warning {
    background: #fff !important;
    color: var(--slate-800) !important;
}

/* ---- Administrator dashboard ---- */
.dashboard-page {
    background:
        radial-gradient(circle at 92% 4%, rgba(6, 182, 212, 0.08), transparent 25rem),
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.dashboard-content { padding-top: 2rem !important; }
.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}
.dashboard-header h1 {
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
    margin: 0 0 0.35rem;
    letter-spacing: -0.04em;
}
.dashboard-header h1::after {
    content: '';
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    margin-top: 0.75rem;
}
.dashboard-eyebrow,
.panel-kicker {
    display: block;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}
.dashboard-header .text-muted { font-size: 0.9rem; }
.dashboard-actions { display: flex; gap: 0.65rem; flex-shrink: 0; }
.dashboard-action-btn {
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.7rem 0.95rem;
    white-space: nowrap;
}
.dashboard-action-btn i { margin-right: 0.35rem; }
.dashboard-action-btn.btn-light {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--slate-200);
    color: var(--slate-700);
}
.dashboard-action-btn.btn-light:hover {
    background: #fff;
    border-color: var(--primary-light);
    color: var(--primary);
}
.dashboard-action-btn.btn-primary {
    background: #4338ca;
    border-color: #4338ca;
    box-shadow: 0 6px 14px rgba(67, 56, 202, 0.2);
}
.dashboard-action-btn.btn-primary:hover {
    background: #3730a3;
    border-color: #3730a3;
}
.dashboard-stats .stat-card {
    min-height: 154px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
}
.dashboard-stats .stat-card::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    right: -28px;
    bottom: -32px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.035;
}
.dashboard-stats .stat-icon { margin-bottom: 1rem; }
.dashboard-stats .stat-value { font-size: 1.85rem; }
.dashboard-stats .stat-users { border-top-color: #6366f1; }
.dashboard-stats .stat-venues { border-top-color: #0ea5e9; }
.dashboard-stats .stat-reservations { border-top-color: #f59e0b; }
.dashboard-stats .stat-revenue { border-top-color: #10b981; }
.dashboard-stats .stat-users .stat-value { color: #4338ca; }
.dashboard-stats .stat-venues .stat-value { color: #0369a1; }
.dashboard-stats .stat-reservations .stat-value { color: #b45309; }
.dashboard-stats .stat-revenue .stat-value { color: #047857; }
.dashboard-panel {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055);
    background: rgba(255, 255, 255, 0.92);
}
.dashboard-panel.dashboard-chart-panel { height: 100%; }
.dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
}
.dashboard-panel-header h2 {
    font-size: 1rem;
    margin: 0;
    letter-spacing: -0.02em;
}
.dashboard-panel-header .panel-icon { order: 3; }
.dashboard-panel-header .panel-kicker {
    color: var(--slate-400);
    font-size: 0.62rem;
    margin-bottom: 0.25rem;
}
.panel-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.panel-icon-indigo { background: var(--primary-subtle); color: var(--primary); }
.panel-icon-emerald { background: #d9f8ed; color: #079669; }
.dashboard-chart-body {
    height: 310px;
    padding: 1rem 1.35rem 1.25rem;
}
.dashboard-chart-body canvas { max-height: 100%; }
.dashboard-table-panel .card-body { padding: 0.35rem 1.35rem 1rem; }
.dashboard-table-panel .table { margin-bottom: 0; min-width: 620px; }
.dashboard-table-panel thead th {
    border-bottom: 1px solid var(--slate-200);
    color: var(--slate-400);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    padding: 0.85rem 0.65rem;
    text-transform: uppercase;
    white-space: nowrap;
}
.dashboard-table-panel tbody td {
    border-color: var(--slate-100);
    color: var(--slate-600);
    font-size: 0.8rem;
    padding: 0.85rem 0.65rem;
    vertical-align: middle;
}
.dashboard-table-panel tbody tr { transition: background var(--transition); }
.dashboard-table-panel tbody tr:hover { background: #f8faff; }
.dashboard-table-panel tbody td:first-child { letter-spacing: -0.01em; }
.dashboard-table-panel .badge {
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
}
.dashboard-table-panel tbody td:first-child { color: var(--slate-800); font-weight: 700; }
.dashboard-table-panel tbody tr:last-child td { border-bottom: 0; }
.table-count {
    display: inline-flex;
    min-width: 30px;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: 7px;
    color: var(--primary);
    font-weight: 800;
    padding: 0.25rem 0.45rem;
}
.panel-link {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.panel-link:hover { color: var(--primary-dark); }
.panel-link i { font-size: 0.65rem; margin-left: 0.25rem; }

@media (max-width: 767.98px) {
    .dashboard-content { padding: 1.25rem 1rem 2rem !important; }
    .dashboard-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .dashboard-actions { width: 100%; }
    .dashboard-action-btn { flex: 1; text-align: center; }
    .dashboard-chart-body { height: 285px; }
}
