body.admin-body,
body.login-body {
    background: #eef1f7;
    color: #1f2937;
    font-family: "Segoe UI", sans-serif;
}

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

.admin-sidebar {
    width: 270px;
    background: linear-gradient(180deg, #182237, #243b5a);
    color: #fff;
    padding: 24px 18px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-inner {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.admin-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 16px;
    margin-top: 12px;
}

.admin-brand {
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.admin-brand span {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
}

.admin-brand small {
    color: rgba(255,255,255,0.72);
}

.admin-nav a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
}

.admin-nav a.active,
.admin-nav a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.admin-main {
    flex: 1;
    padding: 28px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.admin-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    padding: 24px;
}

.stat-card h2 {
    font-size: 2rem;
    margin-top: 8px;
}

.admin-table th {
    color: #475569;
    font-weight: 600;
    border-bottom-width: 1px;
}

.admin-table td {
    vertical-align: middle;
}

.actions {
    display: flex;
    gap: 8px;
}

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at top, #35548a, #111827);
}

.login-card {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.2);
    padding: 32px;
}

.thumb-preview {
    max-height: 70px;
    border-radius: 12px;
}

.cms-section-card {
    border-left: 5px solid #243b5a;
}

.cms-kicker {
    display: inline-block;
    color: #315985;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.cms-section-preview {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #475569;
    padding: 14px 16px;
}

@media (max-width: 991px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
}
