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

:root {
    --primary-blue: rgb(46, 108, 227);
    --hover-blue: rgb(56, 118, 237);
    --active-blue: rgb(36, 98, 217);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-geist-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.bg-gray-750 {
    background-color: #1f2937;
}

/* Custom Slider Styling */
.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: #374151;
    outline: none;
    transition: all 0.2s ease;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.custom-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
    background: var(--hover-blue);
    transform: scale(1.1);
}

.custom-slider::-moz-range-thumb:hover {
    background: var(--hover-blue);
    transform: scale(1.1);
}

.custom-slider:active::-webkit-slider-thumb {
    background: var(--active-blue);
    transform: scale(0.95);
}

.custom-slider:active::-moz-range-thumb {
    background: var(--active-blue);
    transform: scale(0.95);
}

/* Form Elements */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

select:focus, input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(46, 108, 227, 0.2);
}

/* Mobile Optimizations */
@media (max-width: 640px) {
    .custom-slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    .custom-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
    }
}
