:root {
    --cs-navy: #102a43;
    --cs-blue: #185adb;
    --cs-lime: #9bdc28;
    --cs-light: #f4f7fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--cs-light);
    color: #243143;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.cs-sidebar {
    width: 265px;
    background: linear-gradient(180deg, var(--cs-navy), #173b5f);
    color: white;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
}

.cs-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 32px;
}

.cs-logo,
.cs-login-logo {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--cs-lime);
    color: var(--cs-navy);
    font-weight: 800;
}

.cs-login-logo {
    margin: 0 auto;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    font-size: 1.35rem;
}

.cs-menu {
    display: grid;
    gap: 8px;
}

.cs-menu a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
    padding: 11px 13px;
    border-radius: 12px;
}

.cs-menu a:hover {
    color: white;
    background: rgba(255,255,255,.1);
}

.cs-user {
    margin-top: auto;
}

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

.cs-topbar {
    min-height: 86px;
    background: white;
    border-bottom: 1px solid #e8edf4;
    display: flex;
    align-items: center;
    padding: 18px 30px;
}

.cs-content {
    padding: 30px;
}

.cs-btn-primary {
    background: var(--cs-blue);
    color: white;
    border: 0;
}

.cs-btn-primary:hover {
    background: var(--cs-navy);
    color: white;
}

.cs-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(155,220,40,.32), transparent 30%),
        linear-gradient(135deg, var(--cs-navy), var(--cs-blue));
}

.card {
    overflow: hidden;
}

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

    .cs-shell {
        display: block;
    }

    .cs-main {
        margin-left: 0;
        width: 100%;
    }

    .cs-user {
        margin-top: 20px;
    }
}
