/* ═══════════════════════════════════════════════════════════
   Arsip Digital Nusantara — Modern Minimalist Government UI
   ═══════════════════════════════════════════════════════════ */

:root {
    --primary: #0F172A;
    --primary-hover: #1E293B;
    --primary-fg: #F8FAFC;
    --secondary: #059669;
    --secondary-hover: #047857;
    --accent: #D97706;
    --destructive: #E11D48;
    --bg: #F1F5F9;
    --surface: #FFFFFF;
    --border: #E2E8F0;
    --input-bg: #F8FAFC;
    --text-dark: #0F172A;
    --text-mid: #475569;
    --text-light: #94A3B8;
    --sidebar-w: 260px;
    --header-h: 60px;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
    --transition: all 0.2s ease;
}

* { box-sizing: border-box; }
body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    margin: 0;
    overflow-x: hidden;
}

/* ─── Login Page ─────────────────────────────────────────── */

.login-page {
    background: var(--bg);
    min-height: 100vh;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
}

.login-left {
    display: none;
    width: 45%;
    background: var(--primary);
    color: var(--primary-fg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(5,150,105,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.login-left-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.login-brand i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.login-brand h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.login-tagline {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.85;
}

.feature-item i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.login-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.login-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.login-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.btn-login {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
    .login-left { display: flex; }
    .login-right { width: 55%; }
}

/* ─── Sidebar ────────────────────────────────────────────── */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--primary);
    color: #CBD5E1;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

.sidebar-brand i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F8FAFC;
    letter-spacing: -0.02em;
}

.sidebar-menu {
    flex: 1;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: #94A3B8;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.menu-item:hover {
    background: rgba(255,255,255,0.08);
    color: #F1F5F9;
}

.menu-item.active {
    background: var(--secondary);
    color: #FFFFFF;
}

.menu-item i {
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
}

.sidebar-footer {
    padding: 1rem 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.85rem;
    color: #CBD5E1;
    margin-bottom: 0.5rem;
}

.user-info i { font-size: 1.25rem; }

.btn-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #94A3B8;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-logout:hover {
    background: rgba(225,29,72,0.15);
    color: #FB7185;
}

/* ─── Main Content ───────────────────────────────────────── */

.main-wrapper {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: var(--header-h);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.btn-toggle {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-mid);
    cursor: pointer;
    padding: 0.25rem;
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-date {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flash-container {
    padding: 1rem 1.5rem 0;
}

.flash-container .alert {
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-content {
    padding: 1.5rem;
}

/* ─── Page Header ────────────────────────────────────────── */

.page-header {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.page-header .text-muted {
    color: var(--text-light) !important;
    font-size: 0.9rem;
}

/* ─── Stat Cards ─────────────────────────────────────────── */

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-icon.bg-primary-subtle {
    background: #E0E7FF;
    color: #3730A3;
}

.stat-icon.bg-success-subtle {
    background: #D1FAE5;
    color: #065F46;
}

.stat-icon.bg-accent-subtle {
    background: #FEF3C7;
    color: #92400E;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Content Card ───────────────────────────────────────── */

.content-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.card-head h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-head h3 i {
    color: var(--text-light);
}

/* ─── Table ──────────────────────────────────────────────── */

.table {
    margin-bottom: 0;
}

.table thead th {
    background: var(--bg);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    white-space: nowrap;
}

.table tbody td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-mid);
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table-hover tbody tr:hover {
    background: #F8FAFC;
}

.doc-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.doc-link:hover {
    color: var(--secondary);
}

.badge-klas {
    display: inline-block;
    background: var(--bg);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Cascadia Code', monospace;
    border: 1px solid var(--border);
}

.file-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.action-btns {
    display: flex;
    gap: 0.35rem;
}

.action-btns .btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
}

/* ─── Classification List ────────────────────────────────── */

.klas-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.klas-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: 8px;
    background: var(--bg);
    transition: var(--transition);
}

.klas-item:hover {
    background: #E2E8F0;
}

.klas-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.klas-code {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    font-family: 'SF Mono', monospace;
}

.klas-name {
    font-size: 0.8rem;
    color: var(--text-mid);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.klas-count {
    background: var(--primary);
    color: var(--primary-fg);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ─── Empty State ────────────────────────────────────────── */

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.empty-state.small {
    padding: 2rem 1rem;
}

.empty-state.small i {
    font-size: 2rem;
}

/* ─── Detail Grid ────────────────────────────────────────── */

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #F1F5F9;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    width: 140px;
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* ─── Forms ──────────────────────────────────────────────── */

.form-label {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    background: #FFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,23,42,0.08);
}

.input-group-text {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-light);
    border-radius: 8px 0 0 8px;
}

.form-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ─── File Upload Area ───────────────────────────────────── */

.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--input-bg);
}

.file-upload-area:hover {
    border-color: var(--secondary);
    background: #F0FDF4;
}

.file-upload-area.dragover {
    border-color: var(--secondary);
    background: #ECFDF5;
}

.file-upload-placeholder i {
    font-size: 2.5rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.file-upload-placeholder p {
    color: var(--text-mid);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.file-upload-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.file-upload-info i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.file-upload-info span {
    font-weight: 500;
    color: var(--text-dark);
}

/* ─── Buttons ────────────────────────────────────────────── */

.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px);
}

.btn-success {
    background: var(--secondary) !important;
    border-color: var(--secondary) !important;
    font-weight: 600;
    border-radius: 8px;
}

.btn-success:hover {
    background: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
}

.btn-outline-secondary {
    border-radius: 8px;
    font-weight: 500;
}

.btn-outline-primary {
    border-radius: 8px;
    color: var(--primary);
    border-color: var(--border);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-outline-danger {
    border-radius: 8px;
}

/* ─── Filter Form ────────────────────────────────────────── */

.filter-form .form-control,
.filter-form .form-select {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

/* ─── Pagination ─────────────────────────────────────────── */

.pagination .page-link {
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--text-mid);
    margin: 0 2px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

.pagination .page-link:hover {
    background: var(--bg);
}

/* ─── Select2 Overrides ──────────────────────────────────── */

.select2-container--bootstrap-5 .select2-selection {
    border-radius: 8px !important;
    border: 1px solid var(--border) !important;
    background: var(--input-bg) !important;
    min-height: 42px !important;
    padding: 0.35rem 0.75rem !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: var(--text-dark) !important;
    font-size: 0.9rem;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(15,23,42,0.08) !important;
}

.select2-dropdown {
    border-radius: 8px !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-md) !important;
}

.select2-results__option--highlighted {
    background: var(--primary) !important;
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

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

    .btn-toggle {
        display: block;
    }

    .page-content {
        padding: 1rem;
    }
}

@media (max-width: 767px) {
    .page-header h1 {
        font-size: 1.35rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.35rem;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .detail-label {
        width: auto;
    }
}

/* ─── Overlay for mobile sidebar ─────────────────────────── */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,23,42,0.5);
    z-index: 999;
}

.sidebar-overlay.show {
    display: block;
}

/* ─── Folder Breadcrumb ──────────────────────────────────── */

.folder-breadcrumb {
    background: var(--surface);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.folder-breadcrumb .breadcrumb-item a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

.folder-breadcrumb .breadcrumb-item a:hover {
    color: var(--secondary-hover);
    text-decoration: underline;
}

.folder-breadcrumb .breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

/* ─── Folder Grid ────────────────────────────────────────── */

.folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.folder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.folder-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
    color: var(--text-dark);
}

.folder-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.folder-card-link:hover {
    color: inherit;
}

.folder-card.has-docs {
    border-left: 3px solid var(--secondary);
}

/* Count-based color coding */
.folder-card.count-low {
    border-left: 3px solid var(--secondary);
}

.folder-card.count-low .folder-badge {
    background: var(--secondary);
    box-shadow: 0 2px 4px rgba(5,150,105,0.3);
}

.folder-card.count-medium {
    border-left: 3px solid var(--accent);
}

.folder-card.count-medium .folder-badge {
    background: var(--accent);
    box-shadow: 0 2px 4px rgba(217,119,6,0.3);
}

.folder-card.count-medium .folder-icon-wrap i {
    color: #B45309;
}

.folder-card.count-high {
    border-left: 3px solid var(--destructive);
}

.folder-card.count-high .folder-badge {
    background: var(--destructive);
    box-shadow: 0 2px 4px rgba(225,29,72,0.3);
}

.folder-card.count-high .folder-icon-wrap i {
    color: #BE123C;
}

.folder-icon-wrap {
    position: relative;
    display: inline-block;
}

.folder-icon-wrap i {
    font-size: 2.75rem;
    color: #D97706;
    transition: var(--transition);
}

.folder-card:hover .folder-icon-wrap i {
    color: #B45309;
    transform: scale(1.08);
}

.folder-badge {
    position: absolute;
    top: -6px;
    right: -12px;
    background: var(--secondary);
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(5,150,105,0.3);
}

.folder-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    width: 100%;
}

.folder-download-btn {
    margin-top: auto;
}

.folder-code {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'SF Mono', 'Cascadia Code', monospace;
    letter-spacing: 0.02em;
}

.folder-name {
    font-size: 0.75rem;
    color: var(--text-mid);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 767px) {
    .folder-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.75rem;
    }

    .folder-card {
        padding: 1rem 0.75rem;
    }

    .folder-icon-wrap i {
        font-size: 2rem;
    }
}

/* ─── Folder Legend ──────────────────────────────────────── */

.folder-legend {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-light);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.dot-green {
    background: var(--secondary);
}

.legend-dot.dot-amber {
    background: var(--accent);
}

.legend-dot.dot-red {
    background: var(--destructive);
}

/* ─── Folder Search Bar ──────────────────────────────────── */

.folder-search-bar .input-group-text {
    background: var(--surface);
    border: 1px solid var(--border);
    border-right: none;
    color: var(--text-light);
    border-radius: 8px 0 0 8px;
}

.folder-search-bar .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.folder-search-bar .form-control:focus {
    border-color: var(--border);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}

.folder-search-bar .form-control:focus + .input-group-text,
.folder-search-bar .input-group:focus-within .input-group-text {
    border-color: var(--border);
}

.search-result-info {
    font-size: 0.9rem;
}

/* ─── Recent Panel ───────────────────────────────────────── */

.recent-panel .content-card {
    border-left: 3px solid var(--secondary);
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

#toggleRecentBtn.active {
    background: var(--secondary);
    color: #FFF;
    border-color: var(--secondary);
}
