/* ==========================================================================
   CATATAN SAYA - DESIGN SYSTEM (2026 ENTERPRISE SPEC)
   Palette: Graphite Dark + Crimson Red Accent (#e11d48)
   Typography: Clean Modern Sans-Serif
   Aesthetics: Minimalist, Precision, Linear/Vercel Inspired
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-canvas: #0c0e14;
    --bg-surface: #141722;
    --bg-surface-elevated: #1a1e2c;
    --bg-surface-hover: #212638;
    --bg-surface-active: #272d42;
    --bg-subtle: #181d2a;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --border-focus: rgba(225, 29, 72, 0.6);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #0c0e14;

    /* Single Accent Color: Crimson Red (from user logo) */
    --accent: #e11d48;
    --accent-hover: #be123c;
    --accent-active: #9f1239;
    --accent-subtle: rgba(225, 29, 72, 0.12);
    --accent-border: rgba(225, 29, 72, 0.35);
    --accent-text: #fda4af;

    /* Semantic Status */
    --status-success: #10b981;
    --status-success-bg: rgba(16, 185, 129, 0.12);
    --status-warning: #f59e0b;
    --status-warning-bg: rgba(245, 158, 11, 0.12);
    --status-danger: #ef4444;
    --status-danger-bg: rgba(239, 68, 68, 0.12);
    --status-info: #38bdf8;
    --status-info-bg: rgba(56, 189, 248, 0.12);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.65);

    /* Typography & Sizing */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 220ms cubic-bezier(0.16, 1, 0.3, 1);
    --sidebar-width: 260px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}


a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

/* ==========================================================================
   LAYOUT: SHELL, SIDEBAR & MOBILE DRAWER
   ========================================================================== */

.app-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-canvas);
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-surface);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    transition: transform var(--transition-base);
}

.sidebar-header {
    padding: 24px 20px 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.sidebar-brand-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.sidebar-brand-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    background: var(--accent-subtle);
    color: var(--accent-text);
    border: 1px solid var(--accent-border);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-group-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 0 12px 8px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover {
    background-color: var(--bg-surface-hover);
    color: var(--text-primary);
}

.nav-link.active {
    background-color: var(--accent-subtle);
    color: var(--text-primary);
    border: 1px solid var(--accent-border);
}

.nav-link.active .nav-icon {
    color: var(--accent);
}

.nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.nav-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-status-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
}

.user-avatar-indicator {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background-color: var(--status-success);
    box-shadow: 0 0 6px var(--status-success);
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
}

.user-role {
    font-size: 11px;
    color: var(--text-muted);
}

/* Main Content Area */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-navbar {
    height: 64px;
    padding: 0 32px;
    background-color: rgba(20, 23, 34, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 30;
}

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

.page-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.content-container {
    flex: 1;
    padding: 32px;
    max-width: 1340px;
    width: 100%;
    margin: 0 auto;
}

/* ==========================================================================
   LOGIN SCREEN (FADE-IN LOGO + FORM ON SAME SCREEN)
   ========================================================================== */

.login-viewport {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: var(--bg-canvas);
    background-image: 
        radial-gradient(ellipse at 50% 20%, rgba(225, 29, 72, 0.08), transparent 70%),
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.02), transparent 40%);
}

.login-box {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.login-logo-container {
    margin-bottom: 24px;
}

@media (prefers-reduced-motion: no-preference) {
    .login-logo-container {
        animation: fadeInLogo 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

.login-logo-img {
    max-width: 280px;
    height: auto;
    max-height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

@keyframes fadeInLogo {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-card {
    width: 100%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
    text-align: left;
}

@media (prefers-reduced-motion: no-preference) {
    .login-card {
        animation: fadeInForm 600ms cubic-bezier(0.16, 1, 0.3, 1) 300ms backwards;
    }
}

@keyframes fadeInForm {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header-text {
    margin-bottom: 28px;
    text-align: center;
}

.login-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.login-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    height: 42px;
    background-color: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0 14px;
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.password-toggle-btn:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.btn-primary:active {
    background-color: var(--accent-active);
}

.btn-secondary {
    background-color: var(--bg-surface-elevated);
    border-color: var(--border-subtle);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-hover);
    border-color: var(--border-strong);
}

.btn-danger {
    background-color: var(--status-danger-bg);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.btn-danger:hover {
    background-color: var(--status-danger);
    color: #ffffff;
    border-color: var(--status-danger);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background-color: var(--bg-surface-hover);
    color: var(--text-primary);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn-icon {
    padding: 8px;
    width: 36px;
    height: 36px;
}

/* ==========================================================================
   BENTO GRID (5 KATEGORI BERANDA)
   ========================================================================== */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 12px;
}

.bento-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background-color var(--transition-fast);
}

.bento-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.bento-card:hover::before {
    background-color: var(--accent);
}

/* Bento Sizing Variants */
.bento-card-large {
    grid-column: span 7;
    min-height: 220px;
}

.bento-card-medium {
    grid-column: span 5;
    min-height: 220px;
}

.bento-card-third {
    grid-column: span 4;
    min-height: 200px;
}

.bento-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.bento-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-text);
}

.bento-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.bento-arrow-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.bento-card:hover .bento-arrow-icon {
    transform: translateX(3px);
    color: var(--text-primary);
}

.bento-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.bento-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.bento-metrics-row {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bento-metric-item {
    display: flex;
    flex-direction: column;
}

.bento-metric-val {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.bento-metric-lbl {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================================================
   CATEGORY PAGE & UPLOAD DROPZONE
   ========================================================================== */

.category-header-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
}

.dropzone-container {
    border: 2px dashed var(--border-subtle);
    border-radius: var(--radius-lg);
    background-color: var(--bg-surface);
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
    margin-bottom: 24px;
    position: relative;
}

.dropzone-container:hover, .dropzone-container.drag-over {
    border-color: var(--accent);
    background-color: var(--accent-subtle);
}

.dropzone-icon {
    width: 44px;
    height: 44px;
    color: var(--accent);
    margin-bottom: 12px;
}

.dropzone-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.dropzone-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.dropzone-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Upload Progress Container */
.upload-queue-container {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upload-queue-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upload-queue-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.progress-track {
    height: 6px;
    width: 100%;
    background-color: var(--bg-canvas);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--accent);
    border-radius: var(--radius-full);
    transition: width 150ms ease;
}

/* ==========================================================================
   TABLES (FILES & AUDIT LOGS)
   ========================================================================== */

.table-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.app-table th {
    background-color: var(--bg-subtle);
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.app-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    vertical-align: middle;
}

.app-table tbody tr {
    transition: background-color var(--transition-fast);
}

.app-table tbody tr:hover {
    background-color: var(--bg-surface-hover);
}

.file-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon-box {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-text);
    flex-shrink: 0;
}

.file-title-link {
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-all;
}

.file-title-link:hover {
    color: var(--accent-text);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-login-success {
    background-color: #064e3b;
    color: #a7f3d0;
    border: 1px solid #059669;
}

.badge-login-failed {
    background-color: #7f1d1d;
    color: #fecaca;
    border: 1px solid #dc2626;
}

.badge-logout {
    background-color: #1e293b;
    color: #f8fafc;
    border: 1px solid #475569;
}

.badge-upload {
    background-color: #0c4a6e;
    color: #bae6fd;
    border: 1px solid #0284c7;
}

.badge-delete {
    background-color: #713f12;
    color: #fef08a;
    border: 1px solid #d97706;
}


/* Empty State */
.empty-state {
    padding: 48px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.empty-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
}

.empty-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.empty-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 320px;
}

/* ==========================================================================
   MODAL / CONFIRMATION DIALOG
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    width: 100%;
    max-width: 440px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.96);
    transition: transform var(--transition-base);
}

.modal-backdrop.active .modal-dialog {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-highlight-box {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background-color: var(--bg-subtle);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 60;
}

.toast {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 400px;
    font-size: 13px;
}

@media (prefers-reduced-motion: no-preference) {
    .toast {
        animation: toastSlideIn 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

@keyframes toastSlideIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast.toast-error {
    border-color: rgba(239, 68, 68, 0.4);
    border-left: 4px solid var(--status-danger);
}

.toast.toast-success {
    border-color: rgba(16, 185, 129, 0.4);
    border-left: 4px solid var(--status-success);
}

.toast.toast-info {
    border-color: var(--accent-border);
    border-left: 4px solid var(--accent);
}

/* ==========================================================================
   PAGINATION & FILTERS
   ========================================================================== */

.filters-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-select {
    height: 38px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0 12px;
    color: var(--text-primary);
    font-size: 13px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
}

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid var(--border-subtle);
    background-color: var(--bg-subtle);
}

.pagination-info {
    font-size: 12px;
    color: var(--text-muted);
}

.pagination-nav {
    display: flex;
    gap: 6px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE DRAWER & BREAKPOINTS)
   ========================================================================== */

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

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    }

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

    .btn-mobile-toggle {
        display: inline-flex;
    }

    .content-container {
        padding: 20px 16px;
    }

    .bento-card-large, .bento-card-medium, .bento-card-third {
        grid-column: span 12;
    }

    .category-header-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
