/* Custom CSS overrides */
body {
    background-color: #FDFCF8;
}

/* Glassmorphism Class */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #800020;
    border: 2px solid white;
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

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

input[type=range]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border: 2px solid white;
    border-radius: 50%;
    background: #800020;
    cursor: pointer;
}

/* Loading Spinner */
.loader-spin {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #800020;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Smooth Hide/Show classes */
.step-transition {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hidden-step {
    opacity: 0;
    transform: translateX(-20px);
    position: absolute;
    pointer-events: none;
}

.active-step {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}