/* Sistema de Temas - Dark Mode Premium */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1410;
    --bg-tertiary: #251a14;
    --bg-card: rgba(30, 20, 15, 0.8);
    --bg-card-hover: rgba(40, 28, 20, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.05);

    /* Glassmorphism */
    --glass-bg: rgba(20, 15, 12, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Tema Vermelho (Padrão) */
[data-theme="red"], :root {
    --color-primary: #ef4444;
    --color-primary-hover: #dc2626;
    --color-primary-light: rgba(239, 68, 68, 0.15);
    --color-primary-glow: rgba(239, 68, 68, 0.5);
    --color-gradient-start: #f87171;
    --color-gradient-end: #7f1d1d;
    --color-accent: #f87171;
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    --sidebar-bg: linear-gradient(180deg, rgba(26, 10, 10, 0.95) 0%, rgba(13, 5, 5, 0.98) 100%);
    --card-glow: 0 4px 30px rgba(239, 68, 68, 0.2);
}

/* Tema Azul */
[data-theme="blue"] {
    --color-primary: #001aff;
    --color-primary-hover: #2825eb;
    --color-primary-light: rgba(59, 130, 246, 0.15);
    --color-primary-glow: rgba(59, 87, 246, 0.5);
    --color-gradient-start: #3038ad;
    --color-gradient-end: #012a9b;
    --color-accent: #6089fa;
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-info: #06b6d4;
    --sidebar-bg: linear-gradient(180deg, rgba(10, 15, 26, 0.95) 0%, rgba(5, 8, 16, 0.98) 100%);
    --card-glow: 0 4px 30px rgba(59, 130, 246, 0.2);

    --bg-secondary: #0f1520;
    --bg-tertiary: #141c2a;
}

/* Base Styles */
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 20%, var(--color-primary-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--color-gradient-end) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, var(--color-primary) 0%, transparent 40%);
    opacity: 0.15;
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-5%, -5%) rotate(5deg);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 0%, var(--color-primary) 100%);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content stays above background */
.admin-layout,
.admin-sidebar,
.admin-main {
    position: relative;
    z-index: 1;
}

/* Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
}

/* Admin Layout with Sidebar */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.admin-sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 50;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
}

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

.sidebar-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sidebar-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 12px;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 12px;
    margin-bottom: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
}

.sidebar-link:hover {
    background: var(--color-primary-light);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 3px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 0 3px 3px 0;
}

.sidebar-link i {
    width: 20px;
    font-size: 16px;
    text-align: center;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

/* Main Content Area */
.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 24px;
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Header with search */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    width: 320px;
}

.header-search input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 14px;
    width: 100%;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
    cursor: pointer;
}

.header-btn:hover {
    background: var(--bg-tertiary);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.header-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.header-profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

/* Stat Cards */
.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-glow);
    border-color: var(--color-primary);
}

.stat-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stat-card-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
}

.stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-card-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.stat-card-change.positive {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.stat-card-change.negative {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Data Cards / Panels */
.data-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

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

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

.data-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.data-card-body {
    padding: 24px;
}

/* Tables */
.data-table {
    width: 100%;
}

.data-table th {
    text-align: left;
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: var(--bg-tertiary);
}

/* Badges */
.badge,
.badge-primary,
.badge-success,
.badge-warning,
.badge-danger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-primary {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Buttons */
.btn,
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end)) !important;
    color: white !important;
    box-shadow: 0 4px 15px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--color-primary-glow);
    opacity: 0.95;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-primary) !important;
    border-color: var(--color-primary) !important;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.3) !important;
    border-color: #ef4444 !important;
}

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

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

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border-radius: 10px;
}

.btn-sm {
    padding: 8px 16px !important;
    font-size: 13px;
    border-radius: 8px;
}

/* Button as link */
a.btn-primary,
a.btn-secondary,
a.btn-danger {
    text-decoration: none !important;
}

button[type="submit"].btn-primary,
button[type="button"].btn-secondary {
    width: auto;
}

/* Progress Bars */
.progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Score Circle */
.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--color-primary) var(--score-percent), var(--bg-tertiary) var(--score-percent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-circle-inner {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* Mini Bars Chart */
.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
}

.mini-bar {
    width: 24px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-gradient-end) 100%);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.mini-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
    transform-origin: bottom;
}

/* Leaderboard Item */
.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.2s;
}

.leaderboard-item:hover {
    background: var(--bg-tertiary);
}

.leaderboard-rank {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.leaderboard-rank.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
}

.leaderboard-rank.silver {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    color: #000;
}

.leaderboard-rank.bronze {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
}

.leaderboard-rank.default {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

/* Action Items */
.action-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.action-item:last-child {
    border-bottom: none;
}

.action-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
}

.action-dot.red { background: #ef4444; }
.action-dot.orange { background: #f97316; }
.action-dot.yellow { background: #f59e0b; }
.action-dot.green { background: #22c55e; }
.action-dot.blue { background: #3b82f6; }
.action-dot.purple { background: #8b5cf6; }

/* Theme Switcher - Updated */
.theme-switcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: var(--bg-secondary);
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.theme-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-btn.active {
    border-color: white;
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.theme-btn.red {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
}

.theme-btn.blue {
    background: linear-gradient(135deg, #2768d1 0%, #002ab6 100%);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 20px;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;car
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.5;
}

.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-glow);
    border-color: var(--color-primary);
}

.hover-card:hover::before {
    opacity: 1
    box-shadow: var(--card-glow);
    border-color: var(--color-primary);
}

/* Alert Messages */
.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-hover);
}
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-slide-in {
    animation: slideIn 0.4s ease-out forwards;
}

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

/* Glow Effects */
.glow {
    box-shadow: 0 0 30px var(--color-primary-glow);
}

.glow-text {
    text-shadow: 0 0 20px var(--color-primary-glow);
}

/* Chart Placeholder */
.chart-area {
    background: linear-gradient(180deg, transparent 0%, var(--color-primary-light) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent 0%, var(--color-primary) 100%);
    opacity: 0.3;
    clip-path: polygon(0% 100%, 5% 80%, 15% 85%, 25% 60%, 35% 70%, 45% 40%, 55% 50%, 65% 30%, 75% 45%, 85% 20%, 95% 35%, 100% 10%, 100% 100%);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 80px;
    }

    .sidebar-logo-text,
    .sidebar-section-title,
    .sidebar-link span {
        display: none;
    }

    .sidebar-link {
        justify-content: center;
        padding: 14px;
    }

    .admin-main {
        margin-left: 80px;
    }
}

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

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
        padding: 16px;
    }

    .header-search {
        width: 200px;
    }
}

/* Form Inputs */
.form-input,
.input-field {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s;
}

.form-input:focus,
.input-field:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

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

textarea.input-field,
textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

select.input-field,
select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

input[type="file"].input-field,
input[type="file"].form-input {
    padding: 10px 16px;
    cursor: pointer;
}

input[type="file"].input-field::-webkit-file-upload-button,
input[type="file"].form-input::-webkit-file-upload-button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 12px;
    transition: all 0.2s;
}

input[type="file"].input-field::-webkit-file-upload-button:hover,
input[type="file"].form-input::-webkit-file-upload-button:hover {
    background: var(--color-primary-hover);
}

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

/* Satisfaction Gauge */
.gauge-container {
    position: relative;
    width: 160px;
    height: 80px;
    overflow: hidden;
}

.gauge-bg {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(
        var(--color-primary) 0deg calc(var(--gauge-value) * 1.8deg),
        var(--bg-tertiary) calc(var(--gauge-value) * 1.8deg) 180deg,
        transparent 180deg 360deg
    );
}

.gauge-inner {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-secondary);
}

.gauge-value {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* User Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    border-radius: 50%;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--color-accent);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
