/* Custom Styles for AvraVoice */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #38f3ff;
}

/* Gradient Text Utilities */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animation Utilities */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #38f3ff;
    cursor: grab;
    margin-top: -10px;
    box-shadow: 0 0 15px rgba(56, 243, 255, 0.6);
    transition: transform 0.1s ease;
}

input[type=range]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.2);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #4b5563;
    /* Lighter gray for better contrast */
    border-radius: 3px;
}

input[type=range]:focus::-webkit-slider-thumb {
    border: 2px solid white;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #38f3ff;
    outline-offset: 2px;
}