:root {
    /* Light Mode Tokens */
    --musicaia-bg: #f8fafc;
    /* slate-50 (Cleaner white) */
    --musicaia-sidebar: #ffffff;
    /* white */
    --musicaia-card: #ffffff;
    /* white */
    --musicaia-hover: #f1f5f9;
    /* slate-100 */
    --musicaia-text: #0f172a;
    /* slate-900 (Deep dark) */
    --musicaia-muted: #475569;
    /* slate-600 (Darker for readability) */
    --musicaia-border: #e2e8f0;
    /* slate-200 */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
}

.dark {
    /* Dark Mode Tokens */
    --musicaia-bg: #18181b;
    /* zinc-900 */
    --musicaia-sidebar: #000000;
    /* black */
    --musicaia-card: #27272a;
    /* zinc-800 */
    --musicaia-hover: #3f3f46;
    /* zinc-700 */
    --musicaia-text: #ffffff;
    /* white */
    --musicaia-muted: #a1a1aa;
    /* zinc-400 */
    --musicaia-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(39, 39, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--musicaia-muted);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Gradient Animation for Packages Button */
@keyframes gradient-x {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 3s ease infinite;
}

/* MusicaIA Advanced Sliders */
.musicaia-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 24px;
    background: #FF3399;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 51, 153, 0.4);
    transition: all 0.2s ease;
}

.musicaia-slider::-webkit-slider-thumb:hover {
    transform: scaleY(1.1);
    background: #ff4da6;
}

.musicaia-slider::-moz-range-thumb {
    width: 14px;
    height: 24px;
    background: #FF3399;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 15px rgba(255, 51, 153, 0.4);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none !important;
    /* IE and Edge */
    scrollbar-width: none !important;
    /* Firefox */
}

html.no-scrollbar,
body.no-scrollbar {
    overflow: -moz-scrollbars-none;
}

/* FORCE EMOJI PICKER Z-INDEX */
.emoji-picker__wrapper {
    z-index: 2147483647 !important;
}