:root {
    --sidebar-width: 260px;
    --app-bg: #f5f7fb;
    --sidebar-bg: #152238;
    --sidebar-link: #dce6f7;
    --sidebar-active: #ffffff;
}

body {
    background: var(--app-bg);
    color: #1f2937;
}

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

.sidebar {
    background: var(--sidebar-bg);
    color: #fff;
    min-height: 100vh;
    padding: 1rem;
    position: fixed;
    width: var(--sidebar-width);
}

.sidebar-brand {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sidebar-user {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-bottom: 1rem;
    padding: .75rem 0;
}

.sidebar-user strong,
.sidebar-user span {
    display: block;
}

.sidebar-user span {
    color: var(--sidebar-link);
    font-size: .85rem;
    margin-top: .15rem;
}

.sidebar .nav-link {
    border-radius: .5rem;
    color: var(--sidebar-link);
    padding: .65rem .75rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255, 255, 255, .12);
    color: var(--sidebar-active);
}

.content-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.topbar {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.content {
    padding: 1.25rem;
}

.stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1rem;
}

.panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1rem;
}

.stat-card span {
    color: #6b7280;
    display: block;
    font-size: .9rem;
}

.stat-card strong {
    display: block;
    font-size: 1.6rem;
    margin-top: .35rem;
}

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

.login-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    max-width: 420px;
    padding: 1.5rem;
    width: 100%;
}

@media (max-width: 991.98px) {
    .sidebar {
        min-height: auto;
        position: static;
        width: 100%;
    }

    .content-wrapper {
        margin-left: 0;
    }
}
