:root {
    --navy: #13233e;
    --navy-2: #1e3355;
    --mint: #27c09f;
    --bg: #f4f7fb;
    --muted: #77849a;
    --line: #e8edf4
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: var(--bg);
    color: #202b3c
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 256px;
    background: linear-gradient(180deg, var(--navy), #0d182c);
    color: #c6d2e3;
    padding: 28px 14px;
    z-index: 20
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 12px 28px;
    color: #fff;
    font-weight: 800;
    font-size: 18px
}

.brand-badge {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: #073c38;
    border-radius: 11px
}

.brand-logo {
    display: block;
    width: 205px;
    height: auto;
}

.brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}

.menu-caption {
    font-size: 10px;
    font-weight: 700;
    color: #71809a;
    letter-spacing: 1px;
    padding: 15px 13px 8px
}

.menu-link {
    color: #b8c5d7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    margin: 2px 0
}

.menu-link:hover, .menu-link.active {
    background: #ffffff1a;
    color: #fff
}

.menu-link.active {
    box-shadow: inset 3px 0 var(--mint)
}

.menu-link i {
    width: 17px;
    text-align: center
}

.profile-box {
    position: absolute;
    bottom: 18px;
    left: 14px;
    right: 14px;
    padding: 13px;
    border-top: 1px solid #ffffff1a;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f4b263;
    color: #613917;
    font-weight: 800
}

.profile-box small {
    color: #8290a7;
    display: block;
    margin-top: 2px
}

.page {
    margin-left: 256px;
    min-height: 100vh
}

.topbar {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.breadcrumb-title h1 {
    font-size: 20px;
    margin: 0 0 4px;
    font-weight: 750
}

.breadcrumb-title span {
    font-size: 12px;
    color: var(--muted)
}

.tool-group {
    display: flex;
    align-items: center;
    gap: 12px
}

.facility-select, .form-select, .form-control {
    border-color: var(--line);
    border-radius: 8px
}

.facility-select {
    padding: 9px 12px;
    font-size: 12px;
    color: #445069;
    background: #fff
}

.icon-button {
    border: 1px solid var(--line);
    background: #fff;
    width: 37px;
    height: 37px;
    border-radius: 9px;
    color: #627087;
    display: grid;
    place-items: center;
    text-decoration: none
}

main {
    padding: 30px 34px
}

.welcome {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 25px
}

.welcome h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 750
}

.welcome p {
    color: var(--muted);
    font-size: 13px;
    margin: 7px 0 0
}

.btn-mint {
    background: var(--mint);
    color: #063c38;
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 14px
}

.btn-mint:hover {
    background: #1eaf91;
    color: #fff
}

.stat-card, .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px
}

.stat-card {
    padding: 19px;
    height: 126px;
    position: relative
}

.stat-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600
}

.stat-value {
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    margin: 13px 0 8px
}

.stat-foot {
    font-size: 11px;
    color: #6e7d93
}

.positive {
    color: #179b7e
}

.stat-icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    position: absolute;
    right: 18px;
    top: 17px;
    font-size: 18px
}

.blue {
    color: #4677db;
    background: #edf3ff
}

.orange {
    color: #e98b37;
    background: #fff3e5
}

.red {
    color: #e65f70;
    background: #fff0f2
}

.green {
    color: #1aa887;
    background: #e8fbf6
}

.panel {
    padding: 21px
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px
}

.panel-title {
    margin: 0;
    font-size: 14px;
    font-weight: 750
}

.panel-link {
    color: #278e7a;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700
}

.work-table {
    margin: 0
}

.work-table th {
    color: #8a96a9;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 1px solid var(--line);
    padding: 0 8px 11px
}

.work-table td {
    font-size: 12px;
    color: #4c596d;
    padding: 14px 8px;
    border-color: var(--line)
}

.status {
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700
}

.status.done {
    color: #168d72;
    background: #eafaf5
}

.status.pending {
    color: #c28b2e;
    background: #fff8e8
}

.quick-action {
    border: 1px dashed #d8e1ed;
    border-radius: 10px;
    padding: 13px;
    text-align: left;
    background: #fff;
    color: #526077;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none
}

.quick-action i {
    color: #248e7a;
    margin-right: 8px
}

.quick-action:hover {
    border-color: var(--mint);
    background: #f5fffc
}

.empty-chart {
    height: 210px;
    border-radius: 10px;
    background: #f7fafc;
    color: #92a0b4;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 10px;
    font-size: 12px
}

.empty-chart i {
    font-size: 30px;
    color: #c0d4df
}

.form-panel {
    max-width: 840px
}

.form-panel label {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 6px
}

.module-empty {
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 80px 25px
}

.module-empty h2 {
    font-size: 22px;
    font-weight: 800
}

.module-empty p {
    color: var(--muted);
    max-width: 450px;
    margin: 12px auto 24px
}

.module-icon {
    height: 60px;
    width: 60px;
    border-radius: 16px;
    background: #e8fbf6;
    color: #1aa887;
    margin: 0 auto 17px;
    display: grid;
    place-items: center;
    font-size: 24px
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--navy), #1e4460)
}

.login-card {
    width: min(420px, calc(100vw - 30px));
    padding: 38px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 55px #0004
}

.login-mark {
    height: 48px;
    width: 48px;
    border-radius: 14px;
    background: var(--mint);
    display: grid;
    place-items: center;
    color: #073c38;
    font-size: 20px
}

.login-card h1 {
    font-size: 25px;
    font-weight: 800;
    margin: 20px 0 3px
}

.login-card p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 27px
}

.login-card label {
    font-size: 12px;
    font-weight: 700;
    margin: 12px 0 6px;
    display: block
}

@media (max-width: 992px) {
    .sidebar {
        width: 72px;
        padding: 18px 8px
    }

    .brand {
        padding: 0 9px 25px
    }

    .brand > span:last-child, .menu-caption, .menu-link span, .profile-box > div:not(.avatar) {
        display: none
    }

    .menu-link {
        justify-content: center;
        padding: 12px
    }

    .page {
        margin-left: 72px
    }

    .profile-box {
        justify-content: center;
        left: 8px;
        right: 8px
    }

    .topbar, main {
        padding-left: 20px;
        padding-right: 20px
    }
}

@media (max-width: 576px) {
    .topbar {
        height: 68px
    }

    .facility-select {
        display: none
    }

    main {
        padding: 22px 15px
    }

    .welcome h2 {
        font-size: 18px
    }

    .welcome p {
        display: none
    }
}
