:root {
    --bg-color: #0d0f1a;
    --glass-bg: rgba(20, 24, 44, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-primary: #7c3aed;
    /* Purple */
    --accent-secondary: #3b82f6;
    /* Blue */
    --accent-glow: rgba(124, 58, 237, 0.5);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gold: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
}

/* Glassmorphism utility */
.block-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* App Layout */
.app-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--glass-border);
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    color: #fff;
}

.logo i {
    color: var(--accent-primary);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.sidebar nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar nav li {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar nav li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(5px);
}

.sidebar nav li.active {
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.2), transparent);
    color: #fff;
    border-left: 4px solid var(--accent-primary);
}

.sidebar nav li i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    margin-top: auto;
    padding: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.sidebar-footer:hover {
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 2rem 2rem 2rem;
}

/* Topbar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin: 1.5rem 0 2rem 0;
    border-radius: 16px;
    position: sticky;
    top: 1.5rem;
    z-index: 50;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    width: 300px;
}

.search-bar i {
    color: var(--text-muted);
    margin-right: 0.75rem;
}

.search-bar input {
    background: none;
    border: none;
    color: #fff;
    outline: none;
    width: 100%;
    font-family: inherit;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.notification-bell:hover {
    color: #fff;
}

.badge-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--glass-bg);
}

.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

.avatar-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    object-fit: cover;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.card {
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
    grid-column: span 2;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
    grid-column: span 1;
    grid-row: span 2;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
    grid-column: span 1;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
    grid-column: span 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header h3 i {
    color: var(--accent-primary);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-text:hover {
    color: var(--accent-secondary);
}

/* Profile Card Specifics */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.avatar-container {
    position: relative;
}

.avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(var(--bg-color), var(--bg-color)) padding-box,
        linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) border-box;
    object-fit: cover;
}

.level-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.profile-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Progress Bar */
.progress-section {
    margin-top: auto;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

#xp-text {
    color: var(--text-muted);
}

.progress-bar-container {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    border-radius: 10px;
    position: relative;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--accent-glow);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Missions List */
.missions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.mission-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1rem;
    transition: transform 0.2s, background 0.2s;
}

.mission-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.mission-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.mission-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.mission-xp {
    color: var(--gold);
    font-weight: 800;
    font-size: 0.85rem;
    background: rgba(251, 191, 36, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.mission-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.mission-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mission-progress-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-claim {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
    transition: opacity 0.3s, transform 0.1s;
}

.btn-claim:hover {
    opacity: 0.9;
}

.btn-claim:active {
    transform: scale(0.95);
}

.btn-claim:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Leaderboard */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lb-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s;
}

.lb-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lb-rank {
    width: 30px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
}

.lb-item:nth-child(1) .lb-rank {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    font-size: 1.3rem;
}

.lb-item:nth-child(2) .lb-rank {
    color: #e2e8f0;
}

/* Silver */
.lb-item:nth-child(3) .lb-rank {
    color: #cd7f32;
}

/* Bronze */

.lb-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    margin-left: 0.5rem;
}

.lb-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.lb-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.lb-points {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--accent-secondary);
}

/* Badges */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: transform 0.3s;
}

.badge-item:hover {
    transform: translateY(-5px);
}

.badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.badge-icon.gold {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.badge-icon.purple {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.badge-icon.gray {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.badge-item.locked {
    opacity: 0.5;
    filter: grayscale(1);
}

.badge-item span {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Toasts */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.toast {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--accent-primary);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    animation: slideInRight 0.3s ease-out forwards;
}

.toast i {
    font-size: 1.5rem;
    color: var(--gold);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--text-main);
    transform: rotate(15deg);
}

/* Light Theme Overrides */
body.light-theme {
    --bg-color: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.05);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent-glow: rgba(124, 58, 237, 0.2);
}

body.light-theme .logo {
    color: var(--text-main);
}

body.light-theme .sidebar nav li:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

body.light-theme .sidebar nav li.active {
    color: #fff;
}

/* Keep active purple/white */
body.light-theme .sidebar-footer:hover {
    color: var(--text-main);
}

body.light-theme .search-bar {
    background: rgba(255, 255, 255, 0.5);
}

body.light-theme .search-bar input {
    color: var(--text-main);
}

body.light-theme .notification-bell:hover {
    color: var(--text-main);
}

body.light-theme .stats-row {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .progress-bar-container {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .mission-item {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .mission-item:hover {
    background: rgba(255, 255, 255, 0.9);
}

body.light-theme .btn-claim:disabled {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}

body.light-theme .lb-item {
    background: rgba(255, 255, 255, 0.4);
}

body.light-theme .lb-item:hover {
    background: rgba(255, 255, 255, 0.8);
}

body.light-theme .lb-item:nth-child(2) .lb-rank {
    color: #94a3b8;
}

body.light-theme .badge-item {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .badge-item.locked .badge-icon.gray {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}

body.light-theme .toast {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .level-badge {
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

/* View Management */
.view-section {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.view-section.active {
    display: block;
}

.view-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Store */
.store-header,
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.store-header h2,
.history-header h2 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.store-header h2 i {
    color: var(--accent-primary);
}

.coin-balance {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.balance-amount {
    color: var(--gold);
    font-size: 1.25rem;
}

.text-gold {
    color: var(--gold);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.reward-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.reward-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
}

.reward-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-secondary);
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.reward-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reward-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-redeem {
    width: 100%;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #000;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
}

.btn-redeem:hover {
    opacity: 0.9;
}

.btn-redeem:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.history-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-secondary);
    border: 2px solid var(--bg-color);
}

.history-item.earn::before {
    background: var(--success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.history-item.spend::before {
    background: var(--danger);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.history-item.level::before {
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.history-title {
    font-weight: 600;
    font-size: 1rem;
}

.history-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.history-change {
    font-weight: 800;
    font-size: 1.1rem;
}

.history-change.positive {
    color: var(--success);
}

.history-change.negative {
    color: var(--danger);
}

.history-change.neutral {
    color: var(--accent-primary);
}

body.light-theme .reward-card {
    background: rgba(255, 255, 255, 0.8);
}

body.light-theme .history-item {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card:nth-child(1) {
        grid-column: span 2;
    }

    .card:nth-child(2) {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        overflow-x: auto;
    }

    .sidebar nav ul {
        flex-direction: row;
        gap: 0.25rem;
    }

    .sidebar nav li {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .sidebar-footer,
    .logo span {
        display: none;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .card {
        grid-column: span 1 !important;
    }

    .store-header,
    .history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Login Screen Styles */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.login-box {
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-family: 'Outfit';
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-login img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}

.btn-login.admin img {
    border-color: var(--gold);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 200px;
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
    z-index: 100;
}

.light-theme .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    transition: all 0.2s;
    font-size: 0.9rem;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(124, 58, 237, 0.1);
}

.light-theme .dropdown-item:hover {
    background: rgba(124, 58, 237, 0.05);
}

.dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 0;
}

.text-danger {
    color: var(--danger) !important;
}

.text-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}