.yt-mp3-download-container {
    padding: 20px 0;
}

.yt-mp3-download-form {
    background-color: #ffffff;
    max-width: 568px;
    border-top: 3px #f4114a solid;
    border-radius: 12px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    padding: 16px;
}

.label {
    color: #1f1f1f;
    line-height: 16px;
    font-family: Arial, sans-serif;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}

.yt-mp3-label {
    min-height: 24px;
    margin-bottom: 16px;
}


.yt-mp3-input {
    display: flex;
}

input.url {
    color: #666666;
    background-color: #fcfcfc;
    font-family: Arial, sans-serif;
    font-size: 16px;
    width: 81.69014084507042%;
    height: 48px;
    border: 1px #e5e8eb solid;
    border-radius: 8px;
    padding: 0 8px;
    box-sizing: border-box;
    outline: none;
}

.yt-mp3-button,
.yt-mp3-convert-btn {
    margin-left: 15px;
    color: #ffffff;
    background-color: #f4114a;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    height: 48px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.yt-mp3-button-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.yt-mp3-final-btn {
    max-width: 200px;
}

.yt-mp3-next-btn {
    max-width: 80px;
}

.yt-mp3-final-btn,
.yt-mp3-next-btn {
    flex: 1;
    height: 48px;
    border-radius: 8px;
    background: #f4114a;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background 0.3s ease;
    margin: 0;
}

.yt-mp3-final-btn:hover,
.yt-mp3-next-btn:hover {
    background: #d60e41;
}


.mp3-spinner {
    display: none;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#progressSpinner {
    width: 16px;
    height: 16px;
    border: 2px transparent solid;
    border-top: 2px #f4114a solid;
    border-bottom: 2px #f4114a solid;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

#progressMessages {
    width: 100%;
    color: #666666;
    background-color: #fcfcfc;
    font-size: 16px;
    height: 48px;
    border: 1px #e5e8eb solid;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 8px;
}

button:hover {
    background-color: #3f4047 !important;
    border: none;
}