/* styles.css */

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
}

.drop-area {
    width: 894px;
    height: 80px;
    border: 2px dashed #D9D9D9;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    padding: 0px;
    flex-direction: column;
}

.drop-area p {
    color: #000AFF;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.drop-area p span {
    text-decoration: underline;
}

.drop-area input {
    display: none;
}

#song-name {
    font-size: 12px;
    color: #D9D9D9;
    text-align: center;
    margin-top: 5px;
}

.container {
    width: 900px;
    height: 540px;
    border-radius: 22px;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.equalizer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#spectrum {
    width: 800px;
    height: 100px;
    background-color: #f0f0f0;
    margin-bottom: 20px;
    border-radius: 10px;
}

.settings {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 20px;
}

#play-button {
    width: 40px;
    height: 40px;
    border: none;
    background: #000AFF url('./media/play.svg') no-repeat center center;
    background-size: 50%;
    border-radius: 50%;
    cursor: pointer;
    margin-right: 10px;
    outline: none;
}

#play-button.pause {
    background: #000AFF url('./media/pause.svg') no-repeat center center;
    background-size: 50%;
}

.progress-bar-container {
    width: 740px;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

#progress-bar {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 16px;
    background: linear-gradient(to right, #000AFF 0%, #000AFF 0%, #ccc 0%, #ccc 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#progress-bar::-webkit-slider-runnable-track {
    width: 100%;
    height: 16px;
    background: transparent;
    border-radius: 8px;
}

#progress-bar::-moz-range-track {
    width: 100%;
    height: 16px;
    background: transparent;
    border-radius: 8px;
}

#progress-bar::-ms-track {
    width: 100%;
    height: 16px;
    background: transparent;
    border-radius: 8px;
    border: none;
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #000AFF;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

#progress-bar::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #000AFF;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

#progress-bar::-ms-thumb {
    width: 16px;
    height: 16px;
    background: #000AFF;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sliders {
    display: flex;
    justify-content: space-around;
    width: 850px;
    margin-bottom: 20px;
}

.slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 250px;
    position: relative;
}

.slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 200px;
    height: 8px;
    background: #ccc;
    border-radius: 4px;
    cursor: pointer;
    writing-mode: bt-lr;
    transform: rotate(270deg);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(270deg);
}

.slider input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: #ccc;
    border-radius: 4px;
}

.slider input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #ccc;
    border-radius: 4px;
}

.slider input[type="range"]::-ms-track {
    width: 100%;
    height: 8px;
    background: #ccc;
    border-radius: 4px;
    border: none;
}

.slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #000AFF;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -4px;
}

.slider input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #000AFF;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

.slider input[type="range"]::-ms-thumb {
    width: 16px;
    height: 16px;
    background: #000AFF;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

.slider span {
    font-size: 10px;
    color: #333;
    text-align: center;
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
}

/* Responsive design for smaller screens */
@media (max-width: 920px) {
    .drop-area, .container {
        width: 95%;
    }

    #spectrum {
        width: 90%;
    }

    .progress-bar-container {
        width: 80%;
    }

    .sliders {
        width: 95%;
        flex-wrap: wrap;
    }

    .slider {
        width: 40px;
        margin: 0 5px;
    }
}