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

body {
    font-family: 'Inter', sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

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

::-webkit-scrollbar-track {
    background: #0f172a; 
}

::-webkit-scrollbar-thumb {
    background: #334155; 
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569; 
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #334155; 
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 5px rgba(56, 189, 248, 0.2); }
    50% { opacity: 1; box-shadow: 0 0 15px rgba(56, 189, 248, 0.6); }
}

.neuron-node {
    animation: pulse-glow 3s infinite ease-in-out;
}

/* Range Slider Styling */
input[type=range] {
    -webkit-appearance: none; 
    background: transparent; 
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none; 
}

/* Custom Range Thumb */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #f1f5f9;
    cursor: pointer;
    margin-top: -6px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #334155;
    border-radius: 2px;
}

/* Trait Selection Styles */
.trait-item.selected {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

.trait-item.selected .check-icon {
    opacity: 1;
}

.trait-item.selected .w-8 {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #38bdf8;
}

/* Glassmorphism utility */
.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}