/* ============================================
   Bitsflow EDMS - DocFlow Theme
   Matching BitsFlow Product Design
   ============================================ */

:root {
    --primary: #042b6c;
    --primary-dark: #031d4a;
    --primary-light: #053d8a;
    --sidebar-bg: #ffffff;
    --accent: #4a7cff;
    --accent-hover: #3a6aee;
    --accent-light: #6b9aff;
    --bg: #f5f6fa;
    --bg-secondary: #ffffff;
    --white: #ffffff;
    --text: #334155;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #edf2f7;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;
    --shadow: 0 2px 6px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 6px;
    --radius-lg: 10px;
    --sidebar-width: 110px;
    --header-height: 50px;
    --footer-height: 36px;
    --transition: all 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }

/* ---- Layout ---- */
.layout {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.layout-body {
    display: flex;
    flex: 1;
}

/* ============================================
   SIDEBAR - Narrow Icon-based
   ============================================ */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: visible;
    border-right: 1px solid var(--border);
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
}

.sidebar::-webkit-scrollbar { width: 0; }

.sidebar-nav {
    padding: 8px 0;
    flex: 1;
    margin-top: var(--header-height);
    margin-bottom: var(--footer-height);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 4px;
    color: #4a5568;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(0,0,0,0.05);
    color: #2d3748;
}

.nav-item.active {
    background: #dce6eb;
    color: var(--accent);
    border-left-color: var(--accent);
}

.nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.nav-icon svg { stroke-linecap: round; stroke-linejoin: round; }

.nav-text {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Documents Collapsible Section */
.documents-section {
    position: relative;
}

.documents-section .nav-submenu {
    display: none;
    position: static;
    left: auto;
    top: auto;
    background: #f8fafc;
    border-radius: 0;
    box-shadow: none;
    min-width: auto;
    z-index: auto;
    padding: 4px 0;
    border: none;
    border-left: 3px solid var(--accent);
    margin-left: 8px;
}

.documents-section .nav-submenu.open {
    display: block;
}

.documents-section .nav-submenu .nav-item {
    flex-direction: row;
    padding: 6px 8px;
    gap: 6px;
    border-left: none;
    justify-content: flex-start;
    align-items: flex-start;
    color: #4a5568;
    font-size: 10px;
    line-height: 1.3;
}

.documents-section .nav-submenu .nav-item .nav-icon {
    font-size: 12px;
    margin-bottom: 0;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.documents-section .nav-submenu .nav-item .nav-text {
    font-size: 10px;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    color: #4a5568;
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
    position: relative;
}

.nav-toggle:hover {
    background: rgba(0,0,0,0.05);
    color: #2d3748;
}

.nav-toggle .nav-icon { font-size: 22px; margin-bottom: 4px; }
.nav-toggle .nav-text { font-size: 10px; font-weight: 500; }

.nav-arrow {
    position: absolute;
    right: 4px;
    top: 6px;
    font-size: 8px;
    color: #718096;
    transition: transform 0.2s ease;
}

.nav-arrow.collapsed { transform: rotate(-90deg); }

.nav-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 1000;
    padding: 8px 0;
    border: 1px solid var(--border);
}

.nav-submenu.open {
    display: block;
}

.nav-submenu .nav-item {
    flex-direction: row;
    padding: 10px 16px;
    gap: 10px;
    border-left: none;
    justify-content: flex-start;
    color: #4a5568;
}

.nav-submenu .nav-item .nav-icon {
    font-size: 14px;
    margin-bottom: 0;
    width: auto;
    height: auto;
}

.nav-submenu .nav-item .nav-text {
    font-size: 13px;
    text-align: left;
}

.nav-submenu .nav-item:hover {
    background: rgba(0,0,0,0.05);
    color: #2d3748;
}

.nav-submenu .nav-item.active {
    background: #dce6eb;
    color: var(--accent);
}

/* ============================================
   HEADER - Dark Navy Top Bar
   ============================================ */
.header {
    height: var(--header-height);
    background: var(--primary);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    padding: 0;
}

.header-brand {
    width: var(--sidebar-width);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d9e2f1;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}

.header-brand-text {
    font-size: 20px;
    font-weight: 700;
    color: #042b6c;
    letter-spacing: 0.3px;
    line-height: 1;
    text-align: center;
}

.header-brand-text span {
    color: #6b9aff;
}

.header-logo {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-logo-text {
    font-size: 20px;
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(135deg, #4a7cff, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.header-logo-sub {
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.header-search {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 25px;
    padding: 0 16px;
    width: 100%;
    max-width: 420px;
    transition: var(--transition);
}

.header-search:focus-within {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
}

.header-search .search-icon {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.header-search select {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    outline: none;
    padding: 8px 4px;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.15);
    margin-right: 8px;
}

.header-search select option {
    background: var(--primary);
    color: #fff;
}

.header-search input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 13px;
    outline: none;
    padding: 8px 0;
    flex: 1;
}

.header-search input::placeholder { color: rgba(255,255,255,0.4); }

.header-search button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header-search button:hover { color: #fff; }

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.header-info-item .info-icon {
    font-size: 13px;
}

.header-info-item .info-label {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

.header-settings {
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.header-settings:hover { color: #fff; }

.header-profile {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.2);
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 300;
    border: 1px solid var(--border);
    overflow: hidden;
}

.profile-dropdown.open { display: block; }

.profile-dropdown-header {
    padding: 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.profile-dropdown-header .profile-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.profile-dropdown-header .profile-role {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}

.profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text);
    font-size: 13px;
    transition: var(--transition);
}

.profile-dropdown a:hover {
    background: var(--bg);
    color: var(--accent);
}

.dropdown-divider { border-top: 1px solid var(--border); margin: 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    height: 20px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    z-index: 101;
    border: 0;
    font-size: 9px;
    box-shadow: 0 -1px 3px rgba(0,0,0,0.05);
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: var(--text-light);
    letter-spacing: 0.3px;
}

.footer-brand {
    font-weight: 700;
    background: linear-gradient(135deg, #4a7cff, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 12px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    margin-top: var(--header-height);
    margin-bottom: var(--footer-height);
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

main {
    padding: 24px 28px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    background: var(--bg);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    padding: 0;
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .breadcrumb-sep { color: var(--text-muted); font-size: 10px; }
.breadcrumb .breadcrumb-current { color: var(--text); font-weight: 500; }

/* ---- Page Header ---- */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-header h1 .icon { color: var(--accent); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }

.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c0392b; color: #fff; }

.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #219a52; color: #fff; }

.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 10px 24px; font-size: 15px; }

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    overflow: hidden;
    margin-bottom: 24px;
}

.card-header {
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-body { padding: 20px; }

.card-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-light);
    background: var(--bg);
}

/* ============================================
   STATS CARDS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: var(--transition);
}

.stat-card:hover { box-shadow: var(--shadow-md); }

.stat-card .stat-info { flex: 1; }
.stat-card .stat-info p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
}
.stat-card .stat-info h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    font-family: 'Segoe UI Symbol', 'Apple Color Emoji', sans-serif;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.dashboard-widget .card-header h3 .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.widget-list { list-style: none; }

.widget-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.widget-list li:last-child { border-bottom: none; }
.widget-list .date { color: var(--text-light); font-size: 12px; }
.widget-list .link { color: var(--accent); }

/* ============================================
   TABLES
   ============================================ */
.table-container { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: var(--bg);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
}

table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}

table tr:hover td { background: #fafbfc; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group .help-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-control {
    width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74,124,255,0.1);
}

select.form-control { appearance: auto; }
textarea.form-control { min-height: 100px; resize: vertical; }

.form-actions { display: flex; gap: 8px; margin-top: 20px; }

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    justify-content: center;
}

.pagination a, .pagination span {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text);
}

.pagination a:hover { background: var(--bg); border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================
   TOOLS / SETUP GRID
   ============================================ */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.tool-card {
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.tool-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--accent);
    border-color: var(--accent);
}

.tool-card .tool-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.tool-card .tool-label { font-size: 13px; font-weight: 500; }

/* ============================================
   ACTIONS DROPDOWN
   ============================================ */
.actions-dropdown { position: relative; display: inline-block; }

.actions-dropdown .actions-btn {
    background: none; border: none; cursor: pointer;
    padding: 4px 8px; font-size: 16px; color: var(--text-light); border-radius: var(--radius);
}
.actions-dropdown .actions-btn:hover { background: var(--bg); }

.actions-dropdown .actions-menu {
    display: none; position: absolute; right: 0; top: 100%;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    min-width: 160px; z-index: 50; padding: 4px 0;
}
.actions-dropdown:hover .actions-menu { display: block; }

.actions-menu a { display: block; padding: 8px 14px; color: var(--text); font-size: 13px; }
.actions-menu a:hover { background: var(--bg); }

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 13px;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 400px;
    max-width: 90vw;
    overflow: hidden;
}

.login-header {
    background: var(--primary);
    padding: 30px;
    text-align: center;
    color: #fff;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #4a7cff, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

.login-body { padding: 30px; }
.login-body .form-group label { color: var(--text-light); }
.login-body .btn { width: 100%; justify-content: center; padding: 11px; font-size: 15px; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-light);
}

.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.4; }
.empty-state h3 { font-size: 16px; margin-bottom: 6px; color: var(--text); }
.empty-state p { font-size: 13px; }

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-primary { background: var(--accent); color: #fff; }
.badge-accent { background: var(--accent); color: #fff; }
.badge-success { background: var(--success); color: #fff; }
.badge-danger { background: var(--danger); color: #fff; }

/* ============================================
   TAB NAVIGATION
   ============================================ */
.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}

.tab-nav a {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.tab-nav a:hover { color: var(--text); }
.tab-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ============================================
   UTILITIES
   ============================================ */
.text-muted { color: var(--text-light); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .header-brand { width: auto; padding: 0 12px; }
    .header-info { display: none; }
    .main-wrapper { margin-left: 0; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
