@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #0B0E14;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #a855f7;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-accent: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --danger: #ef4444;
    --success: #10b981;
}

body.light-mode {
    --bg-dark: #faf5ff;
    --text-main: #000000;
    --text-muted: #1f2937;
    --text-accent: #000000;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(139, 92, 246, 0.15);
    
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --secondary: #db2777;
    
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(236, 72, 153, 0.08), transparent 30%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 30%);
}

body.light-mode .glass-panel {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

body.light-mode .form-input {
    background: #fff;
    color: var(--text-main);
    border-color: #cbd5e1;
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

body.light-mode .sidebar {
    background: rgba(255, 255, 255, 0.65);
    border-right: 1px solid rgba(139, 92, 246, 0.1);
}

body.light-mode .sidebar-link:hover, 
body.light-mode .sidebar-link.active {
    color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

body.light-mode .sidebar-profile-info h4 {
    color: var(--text-accent);
}

body.light-mode .sidebar-category-title:hover {
    color: var(--text-accent);
}

body.light-mode .logo {
    background: linear-gradient(to right, #a855f7, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.15), transparent 25%);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, background-image 0.3s ease;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 115px;
    max-height: 115px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: height 0.3s ease;
}
@media (max-width: 600px) {
    .logo-img {
        height: 80px;
    }
}\n@media (max-width: 600px) {\n  .logo-img {\n    height: 80px;\n  }\n}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Dashboard Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 75px);
    transition: all 0.3s ease;
}

.sidebar {
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    position: sticky;
    top: 75px;
    height: calc(100vh - 75px);
    z-index: 10;
}

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

/* Sidebar Profile */
.sidebar-profile {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 16px;
}

.sidebar-profile img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
    object-fit: cover;
}

.sidebar-profile-info h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 4px;
    white-space: nowrap;
}

.sidebar-profile-stats {
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.stat-badge.streak { color: #f59e0b; background: rgba(245, 158, 11, 0.1); }
.stat-badge.ready { color: var(--success); background: rgba(16, 185, 129, 0.1); }

/* Sidebar Groups */
.sidebar-group {
    margin-bottom: 8px;
}

.sidebar-category-title {
    padding: 8px 24px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.sidebar-category-title:hover {
    color: white;
}

.sidebar-category-title i {
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.sidebar-group-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.sidebar-group.collapsed .sidebar-group-content {
    max-height: 0;
}
.sidebar-group.collapsed .sidebar-category-title i {
    transform: rotate(-90deg);
}

/* Sidebar Links */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
}

.sidebar-link i, .sidebar-link svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    text-align: center;
    color: var(--primary);
    opacity: 0.7;
    transition: all 0.3s;
}

.sidebar-link:hover i, .sidebar-link.active i,
.sidebar-link:hover svg, .sidebar-link.active svg {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px var(--primary));
}

.sidebar-link:hover {
    color: white;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    border-left-color: var(--primary);
}

.sidebar-link.active {
    color: white;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, transparent 100%);
    border-left-color: var(--primary);
    box-shadow: inset 3px 0 10px -3px var(--primary);
}

.sidebar-badge {
    margin-left: auto;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}
.sidebar-badge.new { background: rgba(16, 185, 129, 0.2); color: var(--success); border: 1px solid var(--success); }
.sidebar-badge.rec { background: rgba(99, 102, 241, 0.2); color: var(--primary); border: 1px solid var(--primary); }
.sidebar-badge.alert { background: var(--danger); color: white; box-shadow: 0 0 8px var(--danger); }

/* Sidebar Footer & Utilities */
.sidebar-footer {
    margin-top: auto;
    padding: 24px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.ai-status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
}

/* Compact Mode */
.dashboard-container.compact {
    grid-template-columns: 80px 1fr;
}
.dashboard-container.compact .sidebar-profile-info,
.dashboard-container.compact .sidebar-category-title span,
.dashboard-container.compact .sidebar-link span,
.dashboard-container.compact .sidebar-badge,
.dashboard-container.compact .sidebar-footer p,
.dashboard-container.compact .ai-status span {
    display: none;
}
.dashboard-container.compact .sidebar-category-title {
    justify-content: center;
    padding: 8px 0;
}
.dashboard-container.compact .sidebar-category-title i {
    transform: rotate(0);
}
.dashboard-container.compact .sidebar-link {
    padding: 12px 0;
    justify-content: center;
}
.dashboard-container.compact .sidebar-link i, .dashboard-container.compact .sidebar-link svg {
    margin-right: 0;
    width: 24px;
    height: 24px;
}
.dashboard-container.compact .sidebar-profile {
    padding: 16px 0;
    justify-content: center;
}
.dashboard-container.compact .sidebar-profile img {
    width: 40px;
    height: 40px;
}

/* Collapse Button */
.sidebar-toggle-btn {
    position: absolute;
    right: -15px;
    top: 30px;
    width: 30px;
    height: 30px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}
.sidebar-toggle-btn:hover {
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

/* Mobile Sidebar Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 90;
}
@media (max-width: 768px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: fixed;
        left: -300px;
        width: 260px;
        top: 75px;
        z-index: 1000;
        height: calc(100vh - 75px);
        background: rgba(11, 14, 20, 0.98);
        backdrop-filter: blur(20px);
        transition: left 0.3s ease;
    }
    .sidebar.mobile-open {
        left: 0;
    }
    .mobile-overlay {
        z-index: 900;
    }
    .sidebar.mobile-open + .mobile-overlay {
        display: block;
    }
    .hamburger-btn {
        display: block !important;
    }
    .sidebar-toggle-btn {
        display: none;
    }

    /* Polish navbar and header elements for mobile screens */
    .navbar {
        padding: 12px 16px !important;
    }
    .logo {
        font-size: 1.25rem !important;
    }
    .logo-img {
        height: 75px !important;
    }
    #userName {
        margin-right: 8px !important;
        font-size: 0.85rem !important;
    }
    .navbar .btn-danger {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }

    /* Stack global premium banner elements vertically on mobile */
    #global-premium-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center;
        padding: 20px !important;
        gap: 15px !important;
    }
    #global-premium-banner > div {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 10px !important;
    }
    #global-premium-banner button {
        width: 100% !important;
        margin-top: 5px;
    }

    /* Stack grid containers with large column requirements */
    .main-content div[style*="minmax(350px"],
    .main-content div[style*="minmax(300px"],
    .main-content div[style*="minmax(280px"] {
        grid-template-columns: 1fr !important;
    }

    /* Force learning resource grids to single column */
    #pdfGrid, #videoGrid {
        grid-template-columns: 1fr !important;
    }

    /* Stack form layout grids in settings modal/panels */
    .dashboard-container div[style*="grid-template-columns: 1fr 1fr"],
    .dashboard-container div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    #userName {
        display: none !important; /* Hide username to save horizontal space on small screens */
    }
}

.main-content {
    flex: 1;
    padding: 32px 5%;
    min-width: 0; /* Prevents flex item from blowing out */
    overflow-x: hidden;
    width: 100%;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.category-card {
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Interview Room */
.video-container {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.video-box {
    flex: 1;
    background: #000;
    border-radius: 12px;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.question-box {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.hidden {
    display: none !important;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.data-table th {
    color: var(--text-muted);
    font-weight: 600;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Gamified Dashboard Styles */

/* Heatmap Calendar */
.heatmap-container {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.heatmap-cell {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.2s;
    cursor: pointer;
}

.heatmap-cell:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.heatmap-cell.level-1 { background: rgba(16, 185, 129, 0.3); }
.heatmap-cell.level-2 { background: rgba(16, 185, 129, 0.5); }
.heatmap-cell.level-3 { background: rgba(16, 185, 129, 0.8); }
.heatmap-cell.level-4 { background: #10b981; box-shadow: 0 0 10px rgba(16,185,129,0.5); }

/* Progress Circle */
.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 70%, rgba(255,255,255,0.1) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.progress-circle::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--bg-dark);
    border-radius: 50%;
}

.progress-value {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

/* Linear Progress Bar */
.progress-bar-bg {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    width: 100%;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Badges */
.badge-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid var(--glass-border);
}

.badge-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.badge-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.badge-locked {
    filter: grayscale(100%);
    opacity: 0.6;
    background: rgba(255,255,255,0.02) !important;
}

.badge-locked .badge-icon-wrapper {
    background: rgba(255,255,255,0.05) !important;
    color: var(--text-muted) !important;
}

.badge-unlocked {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.badge-unlocked::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
    z-index: 1;
}

.badge-category-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Stats Box */
.stat-box {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    background: rgba(168, 85, 247, 0.05);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Achievement Popup */
.achievement-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.achievement-popup.show {
    transform: translateX(0);
}

.popup-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Tags */
.level-tag {
    background: linear-gradient(45deg, #f59e0b, #ef4444);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.xp-tag {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--primary);
}

/* Home Dashboard New Styles */
.quick-action-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.quick-action-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
}

.stat-card {
    transition: all 0.3s;
}
.stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

@keyframes pulseGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px #f59e0b); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 10px #f59e0b); }
    100% { transform: scale(1); filter: drop-shadow(0 0 2px #f59e0b); }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.heatmap-cell {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
    transition: 0.2s;
}
.heatmap-cell:hover { transform: scale(1.2); }
.heatmap-cell.level-1 { background: rgba(16, 185, 129, 0.3); }
.heatmap-cell.level-2 { background: rgba(16, 185, 129, 0.6); }
.heatmap-cell.level-3 { background: rgba(16, 185, 129, 1); }

.floating-bot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
    z-index: 999;
    transition: all 0.3s;
    animation: floatAnim 3s ease-in-out infinite;
}
.floating-bot:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.6);
}
@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Mock Interview AI Animations */
.ai-wave-anim {
    animation: pulseAIWave 2s infinite alternate;
}
@keyframes pulseAIWave {
    0% { box-shadow: 0 0 10px rgba(99,102,241,0.2), inset 0 0 10px rgba(99,102,241,0.2); transform: scale(1); }
    100% { box-shadow: 0 0 40px rgba(99,102,241,0.8), inset 0 0 20px rgba(99,102,241,0.5); transform: scale(1.05); }
}
@keyframes pulseGlow {
    0% { opacity: 0.5; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { opacity: 1; box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { opacity: 0.5; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.active-mic {
    background: rgba(239, 68, 68, 0.2) !important;
    border: 1px solid var(--danger);
    color: var(--danger) !important;
    animation: pulseGlow 1.5s infinite;
}

/* Mock Dashboard Redesign Styles */
@keyframes orbPulse {
    0% { box-shadow: 0 0 20px rgba(99,102,241,0.4), inset 0 0 20px rgba(99,102,241,0.4); transform: scale(1); }
    100% { box-shadow: 0 0 60px rgba(168,85,247,0.8), inset 0 0 40px rgba(168,85,247,0.6); transform: scale(1.05); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.lift-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
.lift-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
}
.btn-gradient-animated {
    background: linear-gradient(270deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border: none;
    color: white;
    transition: all 0.3s;
}
.btn-gradient-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.4);
}
.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon-wrapper i {
    position: absolute;
    left: 12px;
    color: var(--primary);
    font-size: 1.1rem;
    pointer-events: none;
}
.input-icon-wrapper select, .input-icon-wrapper input {
    padding-left: 40px;
    transition: all 0.3s;
}
.input-icon-wrapper select:focus, .input-icon-wrapper input:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
    border-color: var(--primary);
}
