/* =========================================================
   WBK MONITORING - APP CSS
========================================================= */

:root {
    --bg: #f7f9fc;
    --bg2: #ffffff;
    --bg3: #f5f7fa;

    --card: #ffffff;
    --card2: #f8fafc;

    --border: #e7ebf0;
    --border2: #dfe5ec;

    --text: #263247;
    --text2: #667085;
    --text3: #98a2b3;

    --accent: #3b82f6;
    --accent2: #2563eb;

    --accent-soft: #edf4ff;
    --accent-glow: rgba(59, 130, 246, .10);

    --green: #22c55e;
    --green-bg: #eaf8ef;

    --yellow: #f59e0b;
    --yellow-bg: #fff7e5;

    --red: #ef4444;
    --red-bg: #fff0ef;

    --purple: #8b5cf6;

    --radius: 10px;
    --radius-sm: 6px;

    --navbar-height: 64px;
    --sidebar-width: 235px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    height: 72px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.navbar-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* BRAND */
.navbar-brand-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.brand:hover {
    opacity: 0.92;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 42px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    display: block;
}

.brand-logo {
    width: 35px;
    height: 35px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #edf4ff;
    flex-shrink: 0;
}

.brand-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.brand-divider {
    width: 1px;
    height: 34px;
    background: #e2e8f0;
}

.brand-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    color: #1e40af;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    border-radius: 9999px;
    line-height: 1;
    letter-spacing: 0.3px;
}

.brand-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.2px;
    margin-top: 2px;
}

/* NAVBAR NAVIGATION MENU */
.navbar-nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}

.nav-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.nav-menu-link i {
    font-size: 13px;
    opacity: 0.85;
    transition: color 0.18s ease;
}

.nav-menu-link:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.nav-menu-link:hover i {
    opacity: 1;
    color: #2563eb;
}

.nav-menu-link.active {
    color: #2563eb;
    background: #eff6ff;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #dbeafe;
}

.nav-menu-link.active i {
    opacity: 1;
    color: #2563eb;
}

.nav-menu-link-external {
    color: #64748b;
}

.nav-ext-icon {
    font-size: 10px !important;
    opacity: 0.55 !important;
    margin-left: 2px;
}

/* RIGHT ACTIONS */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 18px !important;
    border-radius: 8px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.28) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.nav-login-btn:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.38) !important;
}

/* MOBILE TOGGLE & DRAWER */
.nav-mobile-toggle {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.nav-mobile-toggle:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.nav-mobile-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease;
    z-index: 999;
}

.nav-mobile-drawer.is-open {
    max-height: 420px;
    opacity: 1;
}

.nav-mobile-drawer-inner {
    padding: 12px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.mobile-nav-link i {
    font-size: 15px;
    width: 20px;
    text-align: center;
    color: #64748b;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

.mobile-nav-link.active i {
    color: #2563eb;
}

.mobile-nav-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

#section-kalender,
#section-pokja,
#section-timeline {
    scroll-margin-top: 90px;
}


/* =========================================================
   NAV RIGHT
========================================================= */

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-notification {
    width: 34px;
    height: 34px;

    border-radius: 8px;

    border: 1px solid var(--border);
    background: #fff;
    color: #667085;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    position: relative;

    transition: .15s;
}

.nav-notification:hover {
    background: #f7f9fc;
    color: var(--accent);
}

.notification-dot {
    position: absolute;

    top: 5px;
    right: 5px;

    width: 6px;
    height: 6px;

    background: #ef4444;
    border: 1px solid white;
    border-radius: 50%;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 4px 7px;
    border-radius: 8px;

    transition: .15s;
}

.nav-user:hover {
    background: #f7f9fc;
}

.nav-avatar {
    width: 31px;
    height: 31px;

    border-radius: 50%;

    background: #edf4ff;
    color: #3478df;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: .65rem;
    font-weight: 800;

    flex-shrink: 0;
    overflow: hidden;
}

.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-user-info {
    line-height: 1.2;
}

.nav-user-name {
    color: #344054;
    font-size: .68rem;
    font-weight: 700;
}

.nav-user-role {
    color: #98a2b3;
    font-size: .56rem;
    margin-top: 2px;
}

.nav-chevron {
    color: #98a2b3;
    font-size: .75rem;
    margin-left: 2px;
}


/* =========================================================
   BUTTON
========================================================= */

.btn {
    padding: 8px 14px;

    border-radius: 7px;

    font-family: inherit;
    font-size: .73rem;
    font-weight: 600;

    cursor: pointer;

    border: 1px solid transparent;

    transition:
        background .18s,
        color .18s,
        border .18s,
        box-shadow .18s;

    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);

    box-shadow:
        0 2px 5px rgba(59, 130, 246, .15);
}

.btn-primary:hover {
    background: var(--accent2);

    box-shadow:
        0 4px 10px rgba(59, 130, 246, .18);
}

.btn-ghost {
    background: #fff;
    color: var(--text2);
    border-color: var(--border2);
}

.btn-ghost:hover {
    background: #f7f9fc;
    color: var(--text);
    border-color: #cfd7e2;
}

.btn-danger {
    background: var(--red-bg);
    color: var(--red);
    border-color: #f3cdca;
}

.btn-danger:hover {
    background: #ffe7e5;
}

.btn-sm {
    padding: 6px 11px;
    font-size: .68rem;
}


/* =========================================================
   BADGE
========================================================= */

.badge {
    display: inline-flex;
    align-items: center;

    gap: 3px;

    padding: 3px 8px;

    border-radius: 20px;

    font-size: .62rem;
    font-weight: 600;

    white-space: nowrap;
}

.badge-done {
    background: var(--green-bg);
    color: #199447;
    border: 1px solid #ccebd7;
}

.badge-pending {
    background: #edf4ff;
    color: #3375d3;
    border: 1px solid #d4e4ff;
}

.badge-late {
    background: var(--red-bg);
    color: #dc4943;
    border: 1px solid #f2d0cd;
}

.badge-warn {
    background: var(--yellow-bg);
    color: #c58709;
    border: 1px solid #f1dfb1;
}


/* =========================================================
   POKJA TAG
========================================================= */

.pokja-tag {
    display: inline-flex;
    align-items: center;

    padding: 3px 7px;

    border-radius: 5px;

    font-size: .58rem;
    font-weight: 700;
}

.pokja-1 {
    background: #edf4ff;
    color: #3478df;
    border: 1px solid #d6e5ff;
}

.pokja-2 {
    background: #f1edff;
    color: #7651c7;
    border: 1px solid #ded5fa;
}

.pokja-3 {
    background: #fff0f6;
    color: #d44f91;
    border: 1px solid #f5d2e2;
}

.pokja-4 {
    background: #fff6df;
    color: #c98700;
    border: 1px solid #f3dfac;
}

.pokja-5 {
    background: #eaf9f2;
    color: #20985b;
    border: 1px solid #cbead9;
}


/* =========================================================
   APP WRAPPER
========================================================= */

.app-wrapper {
    display: flex;
    min-height: calc(100vh - var(--navbar-height));
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    width: var(--sidebar-width);

    background: #fff;

    border-right: 1px solid var(--border);

    padding: 20px 12px;

    position: sticky;

    top: var(--navbar-height);

    height: calc(100vh - var(--navbar-height));

    overflow-y: auto;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;

    box-shadow:
        1px 0 5px rgba(20, 30, 50, .02);
}

.sidebar-section {
    margin-bottom: 22px;
}

.sidebar-label {
    font-size: .58rem;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    color: #a0a8b7;

    padding: 0 10px;
    margin-bottom: 6px;
}

.sidebar-link {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 9px 11px;

    border-radius: 7px;

    color: #6d788b;

    text-decoration: none;

    font-size: .72rem;
    font-weight: 500;

    transition:
        background .15s,
        color .15s,
        border .15s;

    margin-bottom: 2px;

    border: 1px solid transparent;
}

.sidebar-link:hover {
    background: #f4f7fb;
    color: #3f4e65;
}

.sidebar-link.active {
    background: #edf4ff;
    color: #3378df;
    border-color: #dce9ff;
    font-weight: 600;
}

.sidebar-icon {
    font-size: .82rem;

    width: 19px;

    text-align: center;

    flex-shrink: 0;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.main-content {
    flex: 1;

    padding: 22px 24px;

    min-width: 0;

    background: #f7f9fc;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    margin-bottom: 18px;

    gap: 15px;

    flex-wrap: wrap;
}

.page-title {
    font-size: 1.2rem;

    font-weight: 800;

    letter-spacing: -.4px;

    color: var(--text);
}

.page-sub {
    color: var(--text3);

    font-size: .68rem;

    margin-top: 4px;
}


/* =========================================================
   CARD
========================================================= */

.card {
    background: #fff;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 18px;

    transition:
        border-color .2s,
        box-shadow .2s;

    box-shadow:
        0 1px 2px rgba(20, 30, 50, .015);
}

.card:hover {
    border-color: #dce3eb;
}

.card-title {
    font-size: .76rem;

    font-weight: 700;

    color: var(--text);

    margin-bottom: 11px;
}


/* =========================================================
   STATS
========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}

.stat-card {
    background: #fff;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 15px;

    min-height: 82px;

    box-shadow:
        0 1px 2px rgba(20, 30, 50, .015);
}

.stat-value {
    font-size: 1.45rem;

    font-weight: 800;

    font-family: 'JetBrains Mono', monospace;

    line-height: 1;

    margin-bottom: 5px;
}

.stat-label {
    font-size: .67rem;

    color: var(--text2);

    font-weight: 600;
}


/* =========================================================
   PROGRESS
========================================================= */

.progress-bar {
    height: 5px;

    background: #edf0f4;

    border-radius: 5px;

    overflow: hidden;

    margin-top: 7px;
}

.progress-fill {
    height: 100%;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            #3b82f6,
            #6366f1
        );

    transition: width .5s;
}


/* =========================================================
   TABLE
========================================================= */

.table-wrap {
    overflow-x: auto;

    border-radius: 9px;

    border: 1px solid var(--border);

    background: #fff;
}

table {
    width: 100%;

    border-collapse: collapse;
}

th {
    background: #fafbfc;

    padding: 9px 12px;

    text-align: left;

    font-size: .58rem;

    font-weight: 700;

    letter-spacing: .5px;

    text-transform: uppercase;

    color: #8a94a5;

    border-bottom: 1px solid var(--border);
}

td {
    padding: 10px 12px;

    border-bottom: 1px solid #f0f2f5;

    font-size: .68rem;

    color: #657189;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: #fafcff;
}


/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;

    font-size: .65rem;

    font-weight: 700;

    color: var(--text2);

    margin-bottom: 5px;

    text-transform: uppercase;

    letter-spacing: .4px;
}

input,
select,
textarea {
    width: 100%;

    background: #fff;

    border: 1px solid var(--border2);

    border-radius: 6px;

    padding: 8px 11px;

    color: var(--text);

    font-family: inherit;

    font-size: .72rem;

    transition:
        border-color .2s,
        box-shadow .2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;

    border-color: #8bb7f8;

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, .08);
}

select option {
    background: #fff;
    color: var(--text);
}

.form-error {
    color: var(--red);

    font-size: .68rem;

    margin-top: 4px;
}


/* =========================================================
   CHECKBOX
========================================================= */

.checkbox-group {
    display: flex;

    flex-direction: column;

    gap: 5px;

    background: #fafbfc;

    border: 1px solid var(--border);

    border-radius: 7px;

    padding: 9px;
}

.checkbox-item {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 5px 7px;

    border-radius: 5px;

    cursor: pointer;
}

.checkbox-item:hover {
    background: #f2f5f9;
}

.checkbox-item input {
    width: auto;
}

.checkbox-item label {
    margin: 0;

    text-transform: none;

    letter-spacing: 0;

    color: var(--text);

    font-size: .72rem;

    cursor: pointer;

    font-weight: 500;
}


/* =========================================================
   ALERT
========================================================= */

.alert {
    padding: 10px 13px;

    border-radius: 7px;

    margin-bottom: 15px;

    font-size: .7rem;

    font-weight: 500;

    display: flex;

    align-items: center;

    gap: 8px;
}

.alert-success {
    background: var(--green-bg);

    color: #199447;

    border: 1px solid #ccebd7;
}

.alert-error {
    background: var(--red-bg);

    color: #dc4943;

    border: 1px solid #f2d0cd;
}

.alert-warn {
    background: var(--yellow-bg);

    color: #c58709;

    border: 1px solid #f1dfb1;
}


/* =========================================================
   FILE DROP
========================================================= */

.file-drop {
    border: 2px dashed #dce2ea;

    border-radius: 9px;

    padding: 28px 20px;

    text-align: center;

    cursor: pointer;

    transition: all .2s;

    background: #fafbfc;
}

.file-drop:hover {
    border-color: #9bbdf2;

    background: #f4f8ff;
}

.file-drop-icon {
    font-size: 1.8rem;

    margin-bottom: 6px;

    color: #a1aaba;
}

.file-drop-text {
    font-size: .72rem;

    color: var(--text2);
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    display: flex;

    gap: 4px;

    justify-content: center;

    margin-top: 1.25rem;

    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 5px 9px;

    border-radius: 5px;

    font-size: .65rem;

    background: #fff;

    border: 1px solid var(--border);

    color: var(--text2);

    text-decoration: none;
}

.pagination .active span {
    background: var(--accent);

    color: white;

    border-color: var(--accent);
}


/* =========================================================
   MATRIX
========================================================= */

.matrix-cell {
    min-width: 35px;

    height: 30px;

    border-radius: 6px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: .72rem;

    font-weight: 700;

    border: 1px solid transparent;
}

.cell-none {
    color: #a3acb9;
    background: #f7f8fa;
}

.cell-future {
    color: #758195;

    background: #f5f7fa;

    border-color: #e7ebf0;
}

.cell-done {
    color: #1b9a4c;

    background: #eaf8ef;

    border-color: #ccebd7;
}

.cell-partial {
    color: #c58709;

    background: #fff7e5;

    border-color: #f1dfb1;
}

.cell-missing {
    color: #dc4943;

    background: #fff0ef;

    border-color: #f2d0cd;
}


/* =========================================================
   UPLOAD / PERIODE
========================================================= */

.period-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.period-item {
    position: relative;
}

.period-box {
    min-width: 64px;

    padding: 7px 9px;

    border-radius: 8px;

    text-align: center;

    transition: opacity .15s;
}

.period-box.clickable {
    cursor: pointer;
}

.period-month {
    font-size: .68rem;
    font-weight: 700;
}

.period-icon {
    font-size: .95rem;
    line-height: 1.2;
}

.period-file-count {
    font-size: .62rem;
}

.upload-detail {
    display: none;

    position: absolute;

    top: calc(100% + 4px);
    left: 0;

    z-index: 60;

    background: #fff;

    border: 1px solid var(--border2);

    border-radius: 10px;

    padding: 12px;

    min-width: 260px;
    max-width: 320px;

    box-shadow:
        0 8px 32px rgba(16, 24, 40, .16);
}

.upload-detail-title {
    font-size: .7rem;

    font-weight: 700;

    color: var(--text3);

    text-transform: uppercase;

    letter-spacing: .5px;

    margin-bottom: 8px;
}

.upload-item {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    padding: 7px 0;

    border-bottom: 1px solid var(--border);
}

.upload-item:last-child {
    border-bottom: none;
}

.upload-item-icon {
    font-size: .9rem;
}

.upload-item-content {
    flex: 1;

    min-width: 0;
}

.upload-file {
    color: var(--accent);

    text-decoration: none;

    font-size: .8rem;

    font-weight: 600;

    display: block;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.upload-meta {
    font-size: .68rem;

    color: var(--text3);

    margin-top: 1px;
}

.upload-note {
    margin-top: 3px;

    font-size: .67rem;

    color: var(--red);

    background: var(--red-bg);

    padding: 4px 7px;

    border-radius: 4px;
}

.upload-delete {
    background: none;

    border: none;

    color: var(--red);

    cursor: pointer;

    font-size: .85rem;

    padding: 2px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    text-align: center;

    padding: 3rem 1.5rem;
}

.empty-state-icon {
    font-size: 3rem;

    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1rem;

    font-weight: 600;

    margin-bottom: 4px;

    color: var(--text);
}

.empty-state-text {
    color: var(--text3);

    font-size: .875rem;

    margin-bottom: 1.5rem;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #f5f7fa;
}

::-webkit-scrollbar-thumb {
    background: #d4dae3;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b9c1cd;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1100px) {

    .sidebar {
        width: 210px;
    }

    .main-content {
        padding: 18px;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .nav-menu-link {
        padding: 7px 10px;
        font-size: 13px;
        gap: 5px;
    }
}

@media (max-width: 1120px) {
    .navbar-nav-menu {
        display: none !important;
    }

    .nav-mobile-toggle {
        display: inline-flex !important;
    }

    .nav-mobile-drawer {
        display: block !important;
    }
}

@media (max-width: 768px) {

    .navbar {
        height: 62px;
        padding: 0 16px;
    }

    .brand-logo-img {
        height: 36px;
        max-width: 140px;
    }

    .brand-divider {
        height: 28px;
        margin: 0 1px;
    }

    .brand-name {
        font-size: 13.5px;
    }

    .brand-badge {
        font-size: 9px;
        padding: 1px 5px;
    }

    .brand-sub {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        padding: 14px;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .nav-user-info,
    .nav-chevron {
        display: none;
    }

    .upload-detail {
        position: fixed;

        left: 50%;

        transform: translateX(-50%);

        top: auto;

        bottom: 20px;

        width: calc(100vw - 30px);

        max-width: 360px;
    }
}


@media (max-width: 500px) {

    .navbar {
        height: 60px;
        padding: 0 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo-img {
        height: 32px;
        max-width: 115px;
    }

    .brand-divider {
        display: none;
    }

    .brand-meta {
        display: none;
    }

    .nav-login-btn {
        padding: 7px 11px !important;
        font-size: 12px !important;
        gap: 5px !important;
    }

    .app-wrapper {
        min-height:
            calc(100vh - 60px);
    }

    .main-content {
        padding: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1rem;
    }

    .btn {
        font-size: .65rem;
    }

    .period-box {
        min-width: 58px;
    }
}
