/* MEMOIRY - Main Stylesheet */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-dark: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --text-inverse: #ffffff;
    --border-color: #e9ecef;
    --border-dark: #dee2e6;
    --accent-blue: #3b82f6;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; margin: 0 0 0.5rem; }
a { color: var(--text-primary); text-decoration: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { background: var(--bg-dark); color: var(--text-inverse); }
.btn-primary:hover:not(:disabled) { background: #333; }
.btn-secondary { background: var(--bg-primary); color: var(--text-primary); border-color: var(--border-dark); }
.btn-secondary:hover:not(:disabled) { background: var(--bg-tertiary); }
.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border-dark); }
.btn-outline:hover:not(:disabled) { background: var(--bg-tertiary); }
.btn-danger { background: var(--accent-red); color: var(--text-inverse); }
.btn-danger:hover:not(:disabled) { background: #dc2626; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-icon.sm { width: 28px; height: 28px; }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus { outline: none; border-color: var(--bg-dark); box-shadow: 0 0 0 3px rgba(26,26,26,0.1); }
.form-control::placeholder { color: var(--text-muted); }
.form-control.is-invalid { border-color: var(--accent-red); }
.invalid-feedback { font-size: 0.8125rem; color: var(--accent-red); margin-top: 0.25rem; }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

/* Cards */
.card { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); font-weight: 600; }
.card-body { padding: 1.25rem; }
.card-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border-color); background: var(--bg-secondary); }

/* Modal */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    z-index: 1000; opacity: 0; visibility: hidden; transition: all var(--transition-normal);
}
.modal-backdrop.show { opacity: 1; visibility: visible; }
.modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
    background: var(--bg-primary); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl);
    z-index: 1001; width: 90%; max-width: 480px; max-height: 90vh;
    opacity: 0; visibility: hidden; transition: all var(--transition-normal);
}
.modal.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); }
.modal-title { font-size: 1.125rem; font-weight: 600; margin: 0; }
.modal-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: none; background: none; cursor: pointer; border-radius: var(--radius-md); color: var(--text-secondary); }
.modal-close:hover { background: var(--bg-tertiary); }
.modal-body { padding: 1.25rem; overflow-y: auto; max-height: calc(90vh - 140px); }
.modal-footer { display: flex; justify-content: flex-end; gap: 0.5rem; padding: 1rem 1.25rem; border-top: 1px solid var(--border-color); }

/* Desktop View */
.desktop-container {
    position: relative; width: 100%; height: calc(100vh - 60px); overflow: hidden;
    background-color: var(--bg-secondary);
    background-image: radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Memo Window */
.memo-window {
    position: absolute; background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    min-width: 200px; min-height: 150px; display: flex; flex-direction: column;
}
.memo-window:hover { box-shadow: var(--shadow-xl); }
.memo-window.active { border-color: var(--bg-dark); box-shadow: var(--shadow-xl), 0 0 0 2px rgba(26,26,26,0.1); }
.memo-window.minimized { height: 44px !important; min-height: 44px !important; overflow: hidden; }
.memo-window.minimized .memo-body, .memo-window.minimized .memo-footer, .memo-window.minimized .resize-handle { display: none; }

.memo-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 0.75rem; background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    cursor: move; user-select: none;
}
.memo-title { flex: 1; font-size: 0.875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 0.5rem; }
.memo-title-input { flex: 1; font-size: 0.875rem; font-weight: 500; border: none; background: transparent; outline: none; padding: 0; margin-right: 0.5rem; }
.memo-controls { display: flex; gap: 0.25rem; }
.memo-control-btn { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border: none; background: none; cursor: pointer; border-radius: var(--radius-sm); color: var(--text-secondary); }
.memo-control-btn:hover { background: var(--border-color); }
.memo-control-btn.close:hover { background: var(--accent-red); color: var(--text-inverse); }

.memo-body { flex: 1; padding: 0.75rem; overflow: hidden; }
.memo-content { width: 100%; height: 100%; border: none; resize: none; font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.6; background: transparent; outline: none; }
.memo-content::placeholder { color: var(--text-muted); }

.memo-footer { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0.75rem; border-top: 1px solid var(--border-color); font-size: 0.75rem; color: var(--text-secondary); }
.memo-status { display: flex; align-items: center; gap: 0.5rem; }
.status-indicator { width: 8px; height: 8px; border-radius: 50%; }
.status-indicator.progress { background: var(--accent-yellow); }
.status-indicator.complete { background: var(--accent-green); }
.memo-actions { display: flex; gap: 0.25rem; }

.resize-handle { position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; cursor: nwse-resize; opacity: 0.5; }
.resize-handle::before { content: ''; position: absolute; right: 4px; bottom: 4px; width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); }

/* List View */
.list-container { padding: 1.5rem; max-width: 1200px; margin: 0 auto; }
.memo-list { display: flex; flex-direction: column; gap: 0.75rem; }
.memo-list-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); cursor: pointer; transition: all var(--transition-fast); }
.memo-list-item:hover { border-color: var(--border-dark); box-shadow: var(--shadow-md); }
.memo-list-item .memo-info { flex: 1; min-width: 0; }
.memo-list-item .memo-title { font-weight: 500; margin-bottom: 0.25rem; }
.memo-list-item .memo-preview { font-size: 0.8125rem; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.memo-list-item .memo-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0; }

/* Sidebar */
.sidebar {
    position: fixed; left: 0; top: 60px; width: 280px; height: calc(100vh - 60px);
    background: var(--bg-primary); border-right: 1px solid var(--border-color); z-index: 100;
    transform: translateX(-100%); transition: transform var(--transition-normal);
    display: flex; flex-direction: column;
}
.sidebar.open { transform: translateX(0); }
.sidebar-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); }
.sidebar-body { flex: 1; overflow-y: auto; padding: 1rem; }
.sidebar-section { margin-bottom: 1.5rem; }
.sidebar-section-title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.75rem; }
.sidebar-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.75rem; border-radius: var(--radius-md); cursor: pointer; transition: background var(--transition-fast); font-size: 0.875rem; }
.sidebar-item:hover { background: var(--bg-tertiary); }
.sidebar-item.active { background: var(--bg-dark); color: var(--text-inverse); }
.sidebar-item .icon { width: 18px; height: 18px; flex-shrink: 0; }
.project-color { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; height: 60px;
    background: var(--bg-primary); border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 1.25rem; z-index: 200;
}
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.navbar-brand .logo { width: 32px; height: 32px; }
.navbar-center { display: flex; align-items: center; gap: 0.5rem; }
.navbar-right { display: flex; align-items: center; gap: 0.75rem; }

.search-box { position: relative; width: 280px; }
.search-box .form-control { padding-left: 2.5rem; background: var(--bg-secondary); border-color: transparent; }
.search-box .form-control:focus { background: var(--bg-primary); border-color: var(--border-dark); }
.search-box .search-icon { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }

/* User Menu */
.user-menu { position: relative; }
.user-menu-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.75rem; background: none; border: 1px solid var(--border-color); border-radius: var(--radius-md); cursor: pointer; }
.user-menu-btn:hover { background: var(--bg-tertiary); }
.user-avatar { width: 28px; height: 28px; background: var(--bg-dark); color: var(--text-inverse); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; }
.user-dropdown { position: absolute; top: calc(100% + 0.5rem); right: 0; width: 200px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--transition-fast); z-index: 300; }
.user-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; font-size: 0.875rem; cursor: pointer; }
.user-dropdown-item:hover { background: var(--bg-tertiary); }
.user-dropdown-item.danger { color: var(--accent-red); }
.user-dropdown-divider { height: 1px; background: var(--border-color); margin: 0.25rem 0; }

/* Toolbar */
.toolbar { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.25rem; background: var(--bg-primary); border-bottom: 1px solid var(--border-color); }
.toolbar-group { display: flex; align-items: center; gap: 0.25rem; }
.toolbar-divider { width: 1px; height: 24px; background: var(--border-color); margin: 0 0.5rem; }

/* Filter Bar */
.filter-bar { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1.25rem; background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); flex-wrap: wrap; }
.filter-item { display: flex; align-items: center; gap: 0.5rem; }
.filter-item label { font-size: 0.8125rem; color: var(--text-secondary); }
.filter-item .form-control { width: auto; min-width: 150px; padding: 0.375rem 0.75rem; font-size: 0.8125rem; }

/* Badge */
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem 0.5rem; font-size: 0.6875rem; font-weight: 600; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.03em; }
.badge-primary { background: var(--bg-dark); color: var(--text-inverse); }
.badge-success { background: var(--accent-green); color: var(--text-inverse); }
.badge-warning { background: var(--accent-yellow); color: var(--text-primary); }
.badge-danger { background: var(--accent-red); color: var(--text-inverse); }
.badge-secondary { background: var(--bg-tertiary); color: var(--text-secondary); }

/* Toast */
.toast-container { position: fixed; top: 80px; right: 1.25rem; z-index: 500; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); min-width: 280px; max-width: 400px; animation: slideIn 0.3s ease; }
.toast.success { border-left: 3px solid var(--accent-green); }
.toast.error { border-left: 3px solid var(--accent-red); }
.toast.warning { border-left: 3px solid var(--accent-yellow); }
.toast-message { flex: 1; font-size: 0.875rem; }
.toast-close { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--text-muted); border-radius: var(--radius-sm); }
.toast-close:hover { background: var(--bg-tertiary); }
@keyframes slideIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }

/* Session Warning */
.session-warning { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1.25rem; background: var(--accent-yellow); color: var(--text-primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 400; opacity: 0; visibility: hidden; transition: all var(--transition-normal); }
.session-warning.show { opacity: 1; visibility: visible; }

/* Empty State */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 2rem; text-align: center; }
.empty-state-icon { width: 80px; height: 80px; margin-bottom: 1.5rem; color: var(--text-muted); }
.empty-state-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.empty-state-text { color: var(--text-secondary); margin-bottom: 1.5rem; }

/* File Upload */
.file-dropzone { border: 2px dashed var(--border-dark); border-radius: var(--radius-lg); padding: 2rem; text-align: center; cursor: pointer; transition: all var(--transition-fast); }
.file-dropzone:hover, .file-dropzone.dragover { border-color: var(--bg-dark); background: var(--bg-tertiary); }
.file-dropzone-icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--text-muted); }
.file-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.file-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.75rem; background: var(--bg-tertiary); border-radius: var(--radius-md); }
.file-item-icon { width: 20px; height: 20px; color: var(--text-secondary); }
.file-item-info { flex: 1; min-width: 0; }
.file-item-name { font-size: 0.875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item-size { font-size: 0.75rem; color: var(--text-muted); }
.file-item-remove { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--text-muted); border-radius: var(--radius-sm); }
.file-item-remove:hover { background: var(--accent-red); color: var(--text-inverse); }

/* Version History */
.version-list { display: flex; flex-direction: column; gap: 0.5rem; }
.version-item { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; background: var(--bg-tertiary); border-radius: var(--radius-md); cursor: pointer; }
.version-item:hover { background: var(--border-color); }
.version-info { display: flex; flex-direction: column; gap: 0.125rem; }
.version-number { font-size: 0.875rem; font-weight: 500; }
.version-date { font-size: 0.75rem; color: var(--text-muted); }

/* Trash */
.trash-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); }
.trash-item-info { flex: 1; }
.trash-item-title { font-weight: 500; margin-bottom: 0.25rem; }
.trash-item-meta { font-size: 0.75rem; color: var(--text-muted); }
.trash-item-actions { display: flex; gap: 0.5rem; }

/* Admin */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.25rem; }
.stat-card-label { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 0.375rem; }
.stat-card-value { font-size: 1.75rem; font-weight: 700; }

/* Table */
.table-container { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.table th { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); background: var(--bg-secondary); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-tertiary); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.25rem; padding: 1rem; }
.pagination-item { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 0.5rem; font-size: 0.875rem; border: 1px solid var(--border-color); border-radius: var(--radius-md); cursor: pointer; }
.pagination-item:hover { background: var(--bg-tertiary); }
.pagination-item.active { background: var(--bg-dark); color: var(--text-inverse); border-color: var(--bg-dark); }
.pagination-item.disabled { opacity: 0.5; cursor: not-allowed; }

/* Landing Page */
.landing-page { min-height: 100vh; background: var(--bg-primary); }
.landing-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem; text-align: center; }
.landing-logo { width: 80px; height: 80px; margin-bottom: 1.5rem; }
.landing-title { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.landing-subtitle { font-size: 1.25rem; color: var(--text-secondary); max-width: 500px; margin-bottom: 2.5rem; }
.landing-actions { display: flex; gap: 1rem; }
.landing-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.feature-card { text-align: center; padding: 2rem; }
.feature-icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--text-primary); }
.feature-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-text { color: var(--text-secondary); font-size: 0.9375rem; }

/* Auth Pages */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--bg-secondary); }
.auth-card { width: 100%; max-width: 400px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 2rem; }
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo { width: 48px; height: 48px; margin-bottom: 1rem; }
.auth-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.auth-subtitle { color: var(--text-secondary); font-size: 0.9375rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--text-secondary); }
.auth-footer a { font-weight: 500; }

/* Alert */
.alert { padding: 0.875rem 1rem; border-radius: var(--radius-md); margin-bottom: 1rem; font-size: 0.875rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* Loader */
.loader { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--border-color); border-top-color: var(--bg-dark); border-radius: 50%; animation: spin 0.8s linear infinite; }
.loader.lg { width: 40px; height: 40px; border-width: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
    .navbar { padding: 0 1rem; }
    .search-box { display: none; }
    .landing-title { font-size: 2rem; }
    .landing-subtitle { font-size: 1rem; }
    .landing-actions { flex-direction: column; width: 100%; max-width: 280px; }
    .sidebar { width: 100%; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Utilities */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
