body {
    background: #f5f7fb;
    color: #1f2937;
    font-family: "Tahoma", "Arial", sans-serif;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f5f7fb, #e8eef8);
}

.login-box {
    width: min(420px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .09);
}

.app-shell {
    min-height: 100vh;
    padding-right: 270px;
}

.sidebar {
    position: fixed;
    inset-block: 0;
    right: 0;
    width: 270px;
    background: #102033;
    color: #fff;
    padding: 18px 14px;
    overflow-y: auto;
    z-index: 10;
}

.sidebar .brand {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    margin-bottom: 12px;
}

.sidebar a,
.sidebar button {
    display: block;
    width: 100%;
    color: #dbeafe;
    text-decoration: none;
    border: 0;
    background: transparent;
    text-align: right;
    padding: 11px 12px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.sidebar a:hover,
.sidebar a.active,
.sidebar button:hover {
    background: rgba(255, 255, 255, .11);
    color: #fff;
}

.content {
    padding: 24px;
}

.stat-card,
.panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, .04);
}

.stat-card {
    padding: 18px;
}

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

.table thead th {
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    min-width: 76px;
    text-align: center;
}

@media (max-width: 900px) {
    .app-shell {
        padding-right: 0;
        padding-top: 0;
    }

    .sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .content {
        padding: 16px;
    }
}
