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

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body {
    font-family: 'Inter', sans-serif;
    /* Soft transition for dark mode */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Range Slider */
.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #e5e7eb; /* tailwind gray-200 */
    border-radius: 4px;
    outline: none;
    transition: background 0.2s;
}

.dark .custom-slider {
    background: #374151; /* tailwind gray-700 */
}

/* Webkit (Chrome, Safari) */
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4f46e5; /* tailwind indigo-600 */
    cursor: pointer;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
    border: 3px solid #ffffff;
    transition: transform 0.1s;
}
.dark .custom-slider::-webkit-slider-thumb {
    border-color: #1f2937; /* tailwind gray-800 */
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Firefox */
.custom-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
    border: 3px solid #ffffff;
    transition: transform 0.1s;
}
.dark .custom-slider::-moz-range-thumb {
    border-color: #1f2937;
}

.custom-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

/* Row transition */
.row-transition {
    transition: background-color 0.4s ease, color 0.4s ease;
}
