/* =====================================================================
   Android OTA Platform - Main Stylesheet
   =====================================================================
   Modern, responsive design with dark/light themes.
   Uses CSS variables for easy theming.
   ===================================================================== */

/* ============ CSS Variables (Light Theme - Default) ============ */
:root {
    --color-primary: #4e73df;
    --color-primary-dark: #224abe;
    --color-primary-light: #eaecfc;
    --color-success: #1cc88a;
    --color-info: #36b9cc;
    --color-warning: #f6c23e;
    --color-danger: #e74a3b;

    --color-bg: #f8f9fc;
    --color-bg-alt: #ffffff;
    --color-bg-sidebar: #1a1f3a;
    --color-bg-sidebar-alt: #232a4d;
    --color-bg-header: #ffffff;

    --color-text: #2e2e3a;
    --color-text-muted: #6c7585;
    --color-text-light: #adb5bd;
    --color-text-sidebar: #c0c8e8;
    --color-text-sidebar-muted: #8a93b8;

    --color-border: #e3e6f0;
    --color-border-light: #f0f2f8;

    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.12);

    --sidebar-width: 250px;
    --sidebar-collapsed: 80px;
    --header-height: 65px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============ Dark Theme ============ */
body.theme-dark,
[data-theme="dark"] {
    --color-primary: #5a7fff;
    --color-primary-dark: #4e73df;
    --color-primary-light: #2c3461;
    --color-bg: #0f1429;
    --color-bg-alt: #1a1f3a;
    --color-bg-sidebar: #0a0e1f;
    --color-bg-sidebar-alt: #161a35;
    --color-bg-header: #1a1f3a;

    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-text-light: #64748b;
    --color-text-sidebar: #c0c8e8;
    --color-text-sidebar-muted: #8a93b8;

    --color-border: #2a3158;
    --color-border-light: #232a4d;

    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.5);
}

/* ============ Reset & Base ============ */
* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.5;
    transition: var(--transition);
}

a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }

/* ============ Layout ============ */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ============ Sidebar ============ */
.sidebar {
    width: var(--sidebar-width);
    background: var(--color-bg-sidebar);
    color: var(--color-text-sidebar);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.sidebar.collapsed {
    margin-left: calc(-1 * var(--sidebar-width));
}

.sidebar-header {
    padding: 18px 20px;
    background: var(--color-bg-sidebar-alt);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    height: var(--header-height);
}

.sidebar-logo {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.sidebar-logo i {
    color: var(--color-primary);
    font-size: 24px;
}

.btn-toggle-sidebar {
    background: transparent;
    border: none;
    color: var(--color-text-sidebar);
    cursor: pointer;
    padding: 5px 10px;
    font-size: 18px;
}

.sidebar-menu {
    flex: 1;
    padding: 15px 0;
}

.sidebar-menu .nav-section-title {
    color: var(--color-text-sidebar-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 22px 8px;
    margin-top: 5px;
}

.sidebar-menu .nav-link {
    color: var(--color-text-sidebar);
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.sidebar-menu .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--color-text-sidebar-muted);
    transition: var(--transition);
}

.sidebar-menu .nav-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.sidebar-menu .nav-link:hover i { color: var(--color-primary); }

.sidebar-menu .nav-link.active {
    background: rgba(78, 115, 223, 0.15);
    color: #fff;
    border-left-color: var(--color-primary);
}

.sidebar-menu .nav-link.active i { color: var(--color-primary); }

.sidebar-footer {
    padding: 15px 20px;
    background: var(--color-bg-sidebar-alt);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-primary);
}

.user-details { flex: 1; min-width: 0; }
.user-name {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-role {
    color: var(--color-text-sidebar-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-user-profile {
    color: var(--color-text-sidebar-muted);
    padding: 5px;
    transition: var(--transition);
}
.btn-user-profile:hover { color: #fff; }

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1039;
}
.sidebar-overlay.show { display: block; }

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

.main-content.expanded { margin-left: 0; }

/* ============ Topbar ============ */
.topbar {
    background: var(--color-bg-header);
    height: var(--header-height);
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: var(--shadow-sm);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.btn-icon {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition);
    position: relative;
}

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

#mobileMenuBtn { display: none; }

/* Theme Toggle */
.theme-dark .sun-icon { display: inline; }
.theme-dark .moon-icon { display: none; }
.sun-icon { display: none; }
.moon-icon { display: inline; }

/* User button */
.btn-user {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-text);
}

.btn-user:hover { background: var(--color-border-light); }

.user-name-display { font-size: 14px; font-weight: 500; }

/* Notifications */
.notify-btn .notify-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    padding: 2px 5px;
    min-width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notification-dropdown {
    width: 350px;
    padding: 0;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-list { max-height: 400px; overflow-y: auto; }

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--color-text-muted);
}
.notification-empty i { font-size: 40px; margin-bottom: 10px; }

.notification-item {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
    transition: var(--transition);
}
.notification-item:hover { background: var(--color-border-light); color: var(--color-text); }
.notification-item.unread { background: var(--color-primary-light); }

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}
.notif-info { background: rgba(54, 185, 204, 0.15); color: var(--color-info); }
.notif-success { background: rgba(28, 200, 138, 0.15); color: var(--color-success); }
.notif-warning { background: rgba(246, 194, 62, 0.15); color: var(--color-warning); }
.notif-error { background: rgba(231, 74, 59, 0.15); color: var(--color-danger); }

.notif-content { flex: 1; min-width: 0; }
.notif-title { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.notif-msg { font-size: 12px; color: var(--color-text-muted); margin-bottom: 4px; }
.notif-time { font-size: 11px; color: var(--color-text-light); }

/* ============ Page Content ============ */
.page-content {
    padding: 25px;
    flex: 1;
}

/* ============ Footer ============ */
.app-footer {
    padding: 15px 25px;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============ Cards ============ */
.card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--color-border);
    padding: 18px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body { padding: 20px; }

/* ============ Stat Cards ============ */
.stat-card {
    background: var(--color-bg-alt);
    border: none;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

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

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
}

.stat-icon.bg-primary-gradient { background: linear-gradient(135deg, #4e73df, #224abe); }
.stat-icon.bg-success-gradient { background: linear-gradient(135deg, #1cc88a, #13855c); }
.stat-icon.bg-info-gradient { background: linear-gradient(135deg, #36b9cc, #258391); }
.stat-icon.bg-warning-gradient { background: linear-gradient(135deg, #f6c23e, #d4ac0d); }
.stat-icon.bg-danger-gradient { background: linear-gradient(135deg, #e74a3b, #c0392b); }
.stat-icon.bg-purple-gradient { background: linear-gradient(135deg, #8e44ad, #6c3483); }

.stat-card .stat-label {
    color: var(--color-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-card .stat-change {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.stat-change.up { color: var(--color-success); }
.stat-change.down { color: var(--color-danger); }

/* ============ Buttons ============ */
.btn { border-radius: var(--radius-sm); font-weight: 500; padding: 8px 16px; transition: var(--transition); }
.btn-primary { background: var(--color-primary); border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn-success { background: var(--color-success); border-color: var(--color-success); }
.btn-danger { background: var(--color-danger); border-color: var(--color-danger); }
.btn-warning { background: var(--color-warning); border-color: var(--color-warning); }

/* ============ Tables ============ */
.table { color: var(--color-text); margin-bottom: 0; }
.table thead th {
    background: var(--color-border-light);
    border-bottom: 2px solid var(--color-border);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    padding: 12px;
}
.table tbody td { padding: 12px; vertical-align: middle; border-color: var(--color-border-light); }
.table-hover tbody tr:hover { background: var(--color-border-light); }

/* DataTables dark mode */
.dataTables_wrapper { color: var(--color-text); }
.dataTables_filter input, .dataTables_length select {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    padding: 5px 10px;
}
.dataTables_paginate .page-link {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}
.dataTables_paginate .page-item.active .page-link {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ============ Badges ============ */
.badge { font-weight: 500; padding: 5px 10px; border-radius: 20px; font-size: 11px; }

/* ============ Forms ============ */
.form-control, .form-select {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    background: var(--color-bg-alt);
    border-color: var(--color-primary);
    color: var(--color-text);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
}
.form-label { font-weight: 500; color: var(--color-text); margin-bottom: 6px; }
.form-text { color: var(--color-text-muted); font-size: 12px; }

/* ============ Login Page ============ */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.3);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    display: flex;
    min-height: 540px;
}

.login-left {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: #fff;
    padding: 50px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-left .icon { font-size: 60px; margin-bottom: 25px; }
.login-left h1 { font-size: 28px; font-weight: 700; margin-bottom: 15px; position: relative; z-index: 1; }
.login-left p { opacity: 0.9; font-size: 15px; line-height: 1.7; position: relative; z-index: 1; }

.login-right {
    padding: 50px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h3 { font-size: 24px; font-weight: 700; color: #2d3748; margin-bottom: 8px; }
.login-right .subtitle { color: #718096; margin-bottom: 30px; }

.login-form .form-group { margin-bottom: 18px; }
.login-form label { font-size: 13px; font-weight: 600; color: #4a5568; margin-bottom: 6px; display: block; }
.login-form .input-group {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s;
}
.login-form .input-group:focus-within { border-color: #4e73df; background: #fff; }
.login-form .input-group-text {
    background: transparent;
    border: none;
    color: #a0aec0;
    padding: 0 15px;
}
.login-form .input-group .form-control {
    background: transparent;
    border: none;
    padding: 12px 0;
    color: #2d3748;
    box-shadow: none;
}
.login-form .input-group .form-control:focus { box-shadow: none; }

/* ============ File Upload (Drag & Drop) ============ */
.upload-zone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 50px 20px;
    text-align: center;
    background: var(--color-border-light);
    transition: var(--transition);
    cursor: pointer;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}

.upload-zone i {
    font-size: 50px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.upload-zone h5 { color: var(--color-text); margin-bottom: 5px; }
.upload-zone p { color: var(--color-text-muted); margin: 0; font-size: 13px; }

.upload-progress {
    margin-top: 20px;
    display: none;
}
.upload-progress.active { display: block; }

.upload-progress .progress {
    height: 25px;
    background: var(--color-border-light);
    border-radius: 12px;
    overflow: hidden;
}
.upload-progress .progress-bar {
    background: linear-gradient(90deg, var(--color-primary), var(--color-success));
    transition: width 0.3s;
}
.upload-progress .progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* ============ App Cards ============ */
.app-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

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

.app-card .app-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    flex-shrink: 0;
}

.app-card .app-info { padding: 16px; }
.app-card .app-name { font-weight: 600; font-size: 15px; color: var(--color-text); margin-bottom: 3px; }
.app-card .app-package { font-size: 12px; color: var(--color-text-muted); margin-bottom: 10px; }

.app-card .app-stats {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--color-border-light);
    font-size: 12px;
    color: var(--color-text-muted);
}

.app-card .app-stats div { text-align: center; }
.app-card .app-stats strong { display: block; color: var(--color-text); font-size: 16px; }

/* ============ Chip badges for hashes ============ */
.hash-chip {
    display: inline-block;
    padding: 3px 8px;
    background: var(--color-border-light);
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
    color: var(--color-text-muted);
    word-break: break-all;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============ Empty states ============ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}
.empty-state i { font-size: 60px; margin-bottom: 15px; opacity: 0.3; }
.empty-state h5 { color: var(--color-text); }

/* ============ Animations ============ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.3s ease-out; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.pulse { animation: pulse 2s infinite; }

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
    .sidebar {
        margin-left: calc(-1 * var(--sidebar-width));
    }
    .sidebar.show { margin-left: 0; }
    .main-content { margin-left: 0; }
    #mobileMenuBtn { display: inline-flex; }
}

@media (max-width: 767.98px) {
    .page-content { padding: 15px; }
    .login-card { flex-direction: column; max-width: 450px; min-height: auto; }
    .login-left { padding: 30px; text-align: center; }
    .login-right { padding: 30px; }
    .notification-dropdown { width: 280px; }
    .topbar { padding: 0 15px; }
    .page-title { font-size: 16px; }
}

@media (max-width: 575.98px) {
    .stat-card .stat-value { font-size: 22px; }
    .app-footer { flex-direction: column; gap: 5px; text-align: center; }
}

/* ============ RTL Support ============ */
[dir="rtl"] .sidebar { left: auto; right: 0; }
[dir="rtl"] .sidebar.collapsed { margin-left: 0; margin-right: calc(-1 * var(--sidebar-width)); }
[dir="rtl"] .main-content { margin-left: 0; margin-right: var(--sidebar-width); }
[dir="rtl"] .main-content.expanded { margin-right: 0; }
[dir="rtl"] .sidebar-menu .nav-link { border-left: none; border-right: 3px solid transparent; }
[dir="rtl"] .sidebar-menu .nav-link.active { border-right-color: var(--color-primary); }
[dir="rtl"] .dropdown-menu-end { left: 0 !important; right: auto !important; }

/* ============ Print ============ */
@media print {
    .sidebar, .topbar, .app-footer, .btn { display: none !important; }
    .main-content { margin: 0 !important; }
}

/* ============ Miscellaneous ============ */
.cursor-pointer { cursor: pointer; }
.text-muted-2 { color: var(--color-text-muted) !important; }
.bg-primary-soft { background: var(--color-primary-light); color: var(--color-primary); }

.divider { height: 1px; background: var(--color-border); margin: 20px 0; }

.list-group-item {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border-color: var(--color-border);
}

.modal-content { background: var(--color-bg-alt); color: var(--color-text); }
.modal-header { border-bottom-color: var(--color-border); }
.modal-footer { border-top-color: var(--color-border); }

/* Pre / code blocks */
pre {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px;
    color: var(--color-text);
    overflow-x: auto;
}

code {
    background: var(--color-border-light);
    color: var(--color-text);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* Toast / alerts */
.alert { border-radius: var(--radius-md); border: none; padding: 15px 20px; }
.alert-info { background: rgba(54, 185, 204, 0.15); color: var(--color-info); }
.alert-success { background: rgba(28, 200, 138, 0.15); color: var(--color-success); }
.alert-warning { background: rgba(246, 194, 62, 0.15); color: var(--color-warning); }
.alert-danger { background: rgba(231, 74, 59, 0.15); color: var(--color-danger); }

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