body {
    margin: 0;
    background: #f5f7fb;
    font-family: Arial, Helvetica, sans-serif;
    color: #202939;
}

/* LOGIN */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.brand-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #0d6efd;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

/* PANEL */

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

.sidebar {
    width: 250px;
    background: #111827;
    color: white;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
}

.sidebar-brand {
    height: 75px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-brand i {
    font-size: 25px;
    margin-right: 12px;
}

.sidebar-menu {
    padding: 20px 12px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    text-decoration: none;
    padding: 12px 14px;
    margin-bottom: 5px;
    border-radius: 9px;
}

.sidebar-menu a i {
    margin-right: 12px;
    font-size: 18px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #2563eb;
    color: white;
}

.main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
}

.topbar {
    min-height: 75px;
    background: white;
    border-bottom: 1px solid #e8edf3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.stat-card {
    background: white;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.04);
}

.stat-card h3 {
    margin: 5px 0 0;
    font-size: 28px;
}

.stat-card span {
    color: #64748b;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #eef4ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.panel-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.04);
    overflow: hidden;
}

.panel-card-header {
    padding: 20px 22px;
    border-bottom: 1px solid #edf1f5;
}

.panel-card-header h5 {
    margin: 0;
}

@media (max-width: 900px) {

    .sidebar {
        width: 75px;
    }

    .sidebar-brand span,
    .sidebar-menu a:not(.active) span {
        display: none;
    }

    .main-content {
        margin-left: 75px;
        width: calc(100% - 75px);
    }

}
