body.login-body {
    background: linear-gradient(135deg, #0d47a1, #1565c0, #1e88e5);
    min-height: 100vh;
}

.login-card {
    border-radius: 18px;
}

.panel-body {
    background: #f4f6f9;
    min-height: 100vh;
}

.topbar {
    background: linear-gradient(90deg, #0f3f91 0%, #1557b0 100%);
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-brand {
    gap: 10px;
    font-size: 1.1rem;
}

.brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.nav-clean .nav-link {
    color: rgba(255,255,255,0.88) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 12px !important;
    border-radius: 10px;
    transition: 0.2s ease;
}

.nav-clean .nav-link:hover,
.nav-clean .nav-link:focus,
.nav-clean .show > .nav-link {
    color: #fff !important;
    background: rgba(255,255,255,0.12);
}

.dropdown-menu-dark {
    background: #123d82;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 8px;
}

.dropdown-menu-dark .dropdown-item {
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 14px;
}

.dropdown-menu-dark .dropdown-item:hover {
    background: rgba(255,255,255,0.1);
}

.user-panel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-role-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 8px 14px;
    border-radius: 14px;
    line-height: 1.15;
    min-width: 170px;
}

.user-name {
    font-size: 13px;
    font-weight: 700;
}

.user-role {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 2px;
}

.logout-btn {
    border-radius: 10px;
    padding-left: 14px;
    padding-right: 14px;
    font-weight: 600;
}

.stat-card {
    border-radius: 16px;
}

.stat-title {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #0d47a1;
}

.table th {
    background: #f8f9fa;
}

@media (max-width: 1199.98px) {
    .user-panel {
        margin-top: 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .user-role-badge {
        min-width: auto;
    }

    .nav-clean .nav-link {
        margin-bottom: 4px;
    }
}