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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #0f172a;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
    border: 1px solid #334155;
}
::-webkit-scrollbar-thumb:hover {
    background: #22d3ee;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.sidebar-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex;
    align-items: center;
    border: 1px solid transparent !important;
    text-decoration: none !important;
    color: #94a3b8 !important;
    cursor: pointer;
}

.sidebar-link:hover {
    background: rgba(34, 211, 238, 0.05) !important;
    color: #ffffff !important;
}
.sidebar-link.active {
    color: #22d3ee !important; 
    background-color: rgba(34, 211, 238, 0.1) !important;
    border-left: 4px solid #22d3ee !important; 
    border-right: 1px solid rgba(34, 211, 238, 0.2) !important;
    border-top: 1px solid rgba(34, 211, 238, 0.2) !important;
    border-bottom: 1px solid rgba(34, 211, 238, 0.2) !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 15px rgba(34, 211, 238, 0.05);
}

.sidebar-link.active i {
    color: #22d3ee !important;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #334155;
    border-radius: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    background: #22d3ee;
    border-radius: 50%;
    margin-top: -6px;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
    cursor: pointer;
    transition: transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #ffffff;
}

#loginOverlay {
    backdrop-filter: blur(25px);
    background: rgba(15, 23, 42, 0.8); 
}

.bg-\[\#1e293b\]\/30, .bg-\[\#1e293b\]\/80 {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
}

.bg-\[\#1e293b\]\/30:hover {
    border-color: rgba(34, 211, 238, 0.4) !important;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 211, 238, 0.1);
}

canvas {
    max-width: 100% !important;
}

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

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

input[type="text"], input[type="password"] {
    transition: all 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus {
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
    background: rgba(15, 23, 42, 0.8);
}