:root {
    --infra-ink: #10233f;
    --infra-steel: #1f3b5d;
    --infra-accent: #0f766e;
    --infra-accent-2: #c45c26;
    --infra-sand: #f3efe7;
    --infra-line: #d7dde7;
    --infra-sidebar: #0d1b2a;
    --infra-sidebar-text: #d9e2ec;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--infra-ink);
    background: #eef2f6;
}

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 40%),
        linear-gradient(145deg, #0d1b2a 0%, #1f3b5d 48%, #0f766e 100%);
}

.auth-wrap {
    width: 100%;
    max-width: 460px;
}

.login-card {
    border-radius: 1rem;
    overflow: hidden;
}

.login-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--infra-accent), #155e75);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.app-body {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(243, 239, 231, 0.55), transparent 220px),
        #eef2f6;
}

.app-sidebar {
    width: 260px;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--infra-sidebar), #132942);
    color: var(--infra-sidebar-text);
    position: sticky;
    top: 0;
}

.sidebar-brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--infra-accent);
    color: #fff;
    font-weight: 700;
}

.brand-title {
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.75rem;
    opacity: 0.75;
}

.nav-section-label {
    margin: 1rem 0.75rem 0.35rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.2rem;
    border-radius: 0.55rem;
    color: var(--infra-sidebar-text);
    text-decoration: none;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.sidebar-link.active {
    background: rgba(15, 118, 110, 0.35);
    color: #fff;
}

.sidebar-link.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.app-main {
    min-width: 0;
}

.app-topbar {
    min-height: 72px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--infra-line);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.topbar-subtitle {
    color: #6b7785;
    font-size: 0.82rem;
}

.app-content {
    padding: 1.25rem;
}

.infra-card {
    border: 1px solid var(--infra-line);
    border-radius: 0.9rem;
    box-shadow: 0 10px 24px rgba(16, 35, 63, 0.04);
}

.app-offcanvas {
    background: var(--infra-sidebar);
    color: var(--infra-sidebar-text);
}

.app-offcanvas .btn-close {
    filter: invert(1);
}

@media (min-width: 992px) {
    .app-content {
        padding: 1.5rem 1.75rem;
    }
}
