:root {
    --sidebar-width: 260px;
    --brand-color: #0d6efd;
}

body {
    background-color: #f4f6f9;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: #111827;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-nav {
    padding: .75rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.sidebar-nav .nav-link {
    color: #cbd5e1;
    padding: .6rem .85rem;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .92rem;
}

.sidebar-nav .nav-link:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.sidebar-nav .nav-link.active {
    background: var(--brand-color);
    color: #fff;
}

.sidebar-divider {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin: .6rem .25rem;
}

.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: .6rem 1.25rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.content-area {
    padding: 1.5rem;
    flex: 1;
}

.stat-card {
    background: #fff;
    border-radius: .75rem;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    height: 100%;
}

.stat-card .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
}

.stat-card .stat-label {
    color: #6b7280;
    font-size: .85rem;
}

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.guest-body {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 1rem;
}

.guest-wrapper .card {
    border-radius: 1rem;
}

@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        inset-inline-start: 0;
        top: 0;
        z-index: 1040;
        transform: translateX(-100%);
        transition: transform .2s ease-in-out;
    }
    [dir="rtl"] .sidebar {
        transform: translateX(100%);
    }
    .sidebar.open {
        transform: none;
    }
}

.table-actions {
    white-space: nowrap;
}

.badge-status {
    text-transform: capitalize;
}

.progress-wrap {
    max-width: 640px;
}
