/* General Styles */
body {
    font-family: 'Roboto Mono', monospace;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    max-width: 500px;
    width: 100%;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffffff;
}

/* File Input */
.file-input {
    margin-bottom: 20px;
}

.file-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3a3a3a;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

#fileInput {
    display: none;
}

#fileName {
    font-size: 14px;
    color: #bbbbbb;
}

/* Controls */
.controls {
    margin-bottom: 20px;
}

.controls button {
    padding: 10px 20px;
    margin: 0 5px;
    background-color: #3a3a3a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.controls button:disabled {
    background-color: #555555;
    cursor: not-allowed;
}

/* Speed Control */
.speed-control {
    margin-bottom: 20px;
}

.speed-control input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 20px;
}

#progressBar {
    width: 100%;
    height: 10px;
    background-color: #3a3a3a;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

#progress {
    width: 0%;
    height: 100%;
    background-color: #1db954;
    transition: width 0.1s linear;
}

.time-display {
    margin-top: 5px;
    font-size: 14px;
    color: #bbbbbb;
}

/* Status Message */
#statusMessage {
    font-size: 14px;
    color: #1db954;
}

/* Responsive Design */
@media (max-width: 500px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    .controls button {
        padding: 8px 16px;
        margin: 5px 0;
        width: 100%;
    }

    .speed-control input[type="range"] {
        width: 100%;
    }
}
