:root {
    --bg-dark: #09090b;
    --sidebar-bg: #121212;
    --card-bg: #1c1c1e;
    --accent-pink: #d1516e;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --input-bg: #2c2c2e;
    --border-color: #3a3a3c;
    --save-btn: #5d435e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden; /* Prevents double scrollbars */
}

.dashboard-container {
    display: flex;
    height: 100vh;
}

/* Sidebar Fixes */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-right: 1px solid var(--border-color);
    flex-shrink: 0;
}

.logo-section { padding: 0 25px 40px; }
.logo-text { font-size: 1.2rem; font-weight: bold; }

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: var(--text-muted);
    text-decoration: none;
    gap: 15px;
    font-size: 0.95rem;
}

.nav-menu a.active {
    background: rgba(209, 81, 110, 0.1);
    color: var(--accent-pink);
    border-right: 3px solid var(--accent-pink);
}

.sidebar-footer { margin-top: auto; padding: 20px; }
.footer-item { padding: 8px 5px; color: var(--text-muted); cursor: pointer; font-size: 0.9rem; }

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    background: var(--input-bg);
    padding: 12px;
    border-radius: 12px;
}

.avatar { 
    width: 32px; height: 32px; 
    background: #a855f7; 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: bold;
}

.user-info .name { font-size: 0.85rem; font-weight: 600; }
.user-info .email { font-size: 0.75rem; color: var(--text-muted); }

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.back-link { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
h1 { margin: 10px 0; font-size: 2rem; }
header p { color: var(--text-muted); margin-bottom: 30px; }

/* Layout Grid */
.grid-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    max-width: 1200px;
}

.card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.card h3 { margin-bottom: 20px; font-size: 1.1rem; }

/* Forms */
label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem; }
input {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    margin-bottom: 15px;
    outline: none;
}

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.btn-add {
    background: transparent;
    color: var(--accent-pink);
    border: 1px solid var(--accent-pink);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 20px; }
.tab {
    padding: 10px 0;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
}
.tab.active { color: var(--accent-pink); border-bottom: 2px solid var(--accent-pink); }

/* Component Item */
.component-item {
    background: #121214;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.comp-header { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 0.9rem; }
.delete-icon { color: #ef4444; cursor: pointer; }

.upload-row { display: flex; gap: 10px; }
.btn-upload { background: var(--input-bg); color: white; border: 1px solid var(--border-color); padding: 10px; border-radius: 8px; flex: 2; cursor: pointer; }
.upload-placeholder { background: var(--input-bg); flex: 1; border-radius: 8px; height: 40px; }

/* Right Column */
.btn-save {
    width: 100%;
    padding: 14px;
    background: var(--save-btn);
    color: white;
    border: none;
    border-radius: 10px;
    margin-bottom: 24px;
    font-weight: 600;
    cursor: pointer;
}

.phone-mockup {
    height: 320px;
    background: #000;
    border: 8px solid #222;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #444;
}
.phone-mockup i { font-size: 3rem; margin-bottom: 10px; }

.stat-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #2c2c2e; font-size: 0.9rem; }
.stat-row:last-child { border: none; }
.val { color: var(--text-main); }
.status-complete { color: #10b981; font-weight: bold; }





















































/* Add these to your existing CSS file */

.subtitle { color: var(--text-muted); margin-bottom: 30px; }

/* Stats Grid - 4 Columns */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.stat-card:hover { transform: translateY(-5px); }

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.pink { background: #ff8fa3; color: #fff; }
.gradient { background: linear-gradient(45deg, #d1516e, #ff758f); color: #fff; }
.purple { background: #a855f7; color: #fff; }
.green { background: #10b981; color: #fff; }

.stat-val { font-size: 2rem; font-weight: bold; margin-bottom: 5px; }
.stat-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.trend { color: #10b981; font-size: 0.8rem; font-weight: 500; }
.trend.neutral { color: var(--text-muted); }

/* Dashboard Grid - 2 Columns */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.activity-list { list-style: none; margin-top: 15px; }
.activity-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.activity-list li i { font-size: 0.4rem; color: var(--accent-pink); }
.activity-list li:last-child { border: none; }

/* Quick Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.btn-action {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-action:hover { opacity: 0.9; }
.purple-btn { background: #6a00f4; }
.red-btn { background: #ef4444; }
.dark-btn { background: #3f3f46; }






























































:root {
    --bg-dark: #09090b;
    --sidebar-bg: #121212;
    --card-bg: #1c1c1e;
    --accent-pink: #d1516e;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --input-bg: #2c2c2e;
    --border-color: #3a3a3c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-dark); color: var(--text-main); font-family: 'Segoe UI', sans-serif; overflow: hidden; }

.dashboard-container { display: flex; height: 100vh; }

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.logo-section { padding: 30px 25px; }
.nav-menu a {
    display: flex; align-items: center; padding: 12px 25px;
    color: var(--text-muted); text-decoration: none; gap: 15px;
}
.nav-menu a.active { background: rgba(209, 81, 110, 0.1); color: var(--accent-pink); border-right: 3px solid var(--accent-pink); }
.sidebar-footer { margin-top: auto; padding: 20px; }
.user-profile { background: var(--input-bg); padding: 12px; border-radius: 12px; display: flex; align-items: center; gap: 10px; margin-top: 15px; }
.avatar { width: 30px; height: 30px; background: #a855f7; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: bold; }

/* Main Area */
.main-content { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }

/* Top Bar */
.top-bar {
    height: 70px; padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-dark);
}
.search-box { background: var(--input-bg); padding: 8px 15px; border-radius: 8px; width: 300px; display: flex; align-items: center; gap: 10px; }
.search-box input { background: none; border: none; color: white; outline: none; width: 100%; }
.header-right { display: flex; align-items: center; gap: 25px; }
.user-profile-header { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.u-meta span { display: block; color: var(--text-muted); font-size: 0.75rem; }

/* Content Grid */
.content-body { padding: 30px 40px; }
.welcome-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.back-link { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; }
.btn-save-main { background: #5d435e; color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: 600; }

.grid-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; }
.card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Forms */
label { display: block; color: var(--text-muted); margin-bottom: 8px; font-size: 0.9rem; }
input { width: 100%; padding: 12px; background: var(--input-bg); border: 1px solid var(--border-color); border-radius: 8px; color: white; margin-bottom: 15px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* Components & Preview */
.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 15px; }
.tab { background: none; border: none; color: var(--text-muted); padding: 8px 0; cursor: pointer; }
.tab.active { color: var(--accent-pink); border-bottom: 2px solid var(--accent-pink); }
.component-item { background: #121214; padding: 15px; border-radius: 12px; }
.comp-header { display: flex; justify-content: space-between; color: var(--text-muted); margin-bottom: 10px; font-size: 0.85rem; }
.btn-send { background: #10b981; color: white; border: none; padding: 10px 20px; border-radius: 8px; margin-top: 10px; cursor: pointer; }

.phone-mockup { height: 300px; background: #000; border-radius: 20px; border: 4px solid #333; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #444; }
.stat-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }
.status-complete { color: #10b981; font-weight: bold; }








































/* System Status Specific Layouts */
.section-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff !important; /* Matches white cards in screenshot */
    color: #121212;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-info p {
    color: #666;
    font-size: 0.9rem;
}

.status-icon {
    font-size: 1.2rem;
}

.status-icon.danger { color: #ef4444; }
.status-icon.success { color: #d1516e; }

/* Buttons from Screenshot */
.btn-danger-outline {
    background: #fff5f5;
    color: #ef4444;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-success {
    background: #d1516e;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Empty States */
.empty-states-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.empty-card {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.empty-card.light { background: #f8fafc !important; color: #1e293b; }
.empty-card.dashed { 
    background: #1c1c1e !important; 
    border: 2px dashed var(--border-color); 
}

.empty-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.red-bg { background: #fee2e2; color: #ef4444; }
.dark-bg { background: #2c2c2e; color: #d1516e; }

.btn-clear {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.mb-30 { margin-bottom: 30px; }

















































/* Reusing your established root variables */

/* Mobile Management Layout */
.version-tag {
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.screen-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0f0f0;
}

.screen-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.purple-bg {
    background: #f3e5f5;
    color: #9c27b0;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.more-icon {
    color: #ccc;
    cursor: pointer;
}

.screen-card h3 {
    color: #111;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.screen-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 20px;
    height: 40px; /* Ensures alignment */
}

.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #bbb;
    margin-bottom: 20px;
    border-top: 1px solid #f9f9f9;
    padding-top: 15px;
}

.btn-edit-screen {
    width: 100%;
    padding: 12px;
    background: #2d1a2d; /* Darker purple from the mockup */
    color: #ff80ab;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-edit-screen:hover {
    background: #3d2a3d;
}

.mt-40 { margin-top: 40px; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .screens-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}




















































































/* Driver List Styles */
.driver-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}
.driver-item.active-driver {
    background: rgba(209, 81, 110, 0.1);
    border-left: 3px solid var(--accent-pink);
}
.driver-info strong { display: block; font-size: 0.9rem; }
.driver-info span { font-size: 0.75rem; color: var(--text-muted); }

/* Verification Details */
.verification-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}
.avatar-lg {
    width: 60px; height: 60px;
    background: #a855f7; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: bold;
}

.doc-verification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}
.preview-img {
    height: 120px;
    background: var(--input-bg);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #444;
}
.doc-btns { display: flex; gap: 8px; margin-top: 10px; }
.btn-check { flex: 1; background: #10b981; color: white; border: none; padding: 8px; border-radius: 6px; }
.btn-cross { flex: 1; background: #ef4444; color: white; border: none; padding: 8px; border-radius: 6px; }

/* Status Badges */
.badge { padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: bold; }
.badge.reviewing { background: #fef3c7; color: #92400e; }
.badge.pending { background: #fee2e2; color: #991b1b; }
.badge.uploaded { background: #dcfce7; color: #166534; }

textarea {
    width: 100%; height: 80px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: white; padding: 12px;
    margin-top: 10px; resize: none;
}

.final-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}
































































/* CRUD Table Styles */
.crud-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.crud-table th {
    text-align: left;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.crud-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

code {
    background: var(--input-bg);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--accent-pink);
    font-family: monospace;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    margin-right: 10px;
    transition: color 0.2s;
}

.btn-icon:hover { color: var(--text-main); }
.btn-icon.delete:hover { color: #ef4444; }

/* Modal Placeholder (for Create/Update) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center;
}





























/* --- Settings Page Specific Styles --- */

/* Responsive Settings Grid (Uses established dashboard grid pattern) */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.settings-card {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

/* Micro-animation: Subtle shadow on card hover */
.settings-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-header-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--text-main);
}
.card-header-icon i {
    font-size: 1.1rem;
    color: var(--accent-pink);
}

/* Setting Item within Cards */
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.setting-item.top-border {
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

.setting-text strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.setting-text p { font-size: 0.8rem; color: var(--text-muted); }

/* --- The Switch / Toggle Switch CSS --- */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.status-label {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-muted);
}
.status-label.active {
    color: var(--accent-pink);
}

/* Micro-animations: Switch labels change color based on input */
input#platformStatus:checked ~ .slider + .private,
input#platformStatus:not(:checked) ~ .slider + .public {
    color: #fff;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switch input { opacity: 0; width: 0; height: 0; }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #2c2c2e; /* Darker grey */
    transition: .4s;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
}

/* Slider circle */
.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Micro-animation: Input focus provides visual feedback */
input:focus + .slider {
    box-shadow: 0 0 1px var(--accent-pink);
}

/* Checked state: Changes background to pink */
input:checked + .slider {
    background-color: var(--accent-pink);
}

/* Checked state: Slider circle moves right with micro-animation */
input:checked + .slider:before {
    transform: translateX(20px);
}

/* Rounded sliders */
.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }


/* Localization Select Styles */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}
.cms-select {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    appearance: none; /* Hide default arrow */
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}
.cms-select:focus {
    border-color: var(--accent-pink);
}
.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.8rem;
    pointer-events: none;
}


/* Save all button - top right */
.btn-save-top {
    background: #5d435e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease, opacity 0.2s ease;
}

/* Micro-animation: Button "clicks" down on active state */
.btn-save-top:active {
    transform: translateY(1px);
}
.btn-save-top:hover {
    opacity: 0.9;
}


/* Danger Card placeholder */
.danger-card {
    border: 1px dashed #ef4444;
}
.danger-card h3 { color: #ef4444; }


/* --- Responsive Breakpoints for Mobile --- */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 20px;
    }
    
    .content-body {
        padding: 20px; /* Reduce padding on smaller screens */
    }
}
































































































/* --- Analytics Specific Styles --- */

/* Date Range Display in Top Bar */
.date-range {
    background: var(--input-bg);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    border: 1px solid var(--border-color);
}

/* Activity Logs */
.activity-log {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.activity-log:last-child {
    border-bottom: none;
}

.log-time {
    font-size: 0.75rem;
    color: var(--accent-pink);
    font-weight: 600;
}

.activity-log p {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.4;
}

.activity-log strong {
    color: #fff;
}

.activity-log i {
    color: var(--text-muted);
}

/* Specific Badge Colors for Analytics */
.badge.reviews {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* Widget Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Responsive adjustments for activity grid */
@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
}












































:root {
    --bg-dark: #09090b;
    --card-bg: #1c1c1e;
    --accent-pink: #d1516e;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --input-bg: #2c2c2e;
    --border-color: #3a3a3c;
}

body.login-page {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.login-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

input {
    width: 100%;
    padding: 14px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: white;
    outline: none;
    transition: 0.2s;
}

input:focus {
    border-color: var(--accent-pink);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: var(--accent-pink);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}

.btn-login:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
}