.drop-zone {
    max-width: 100%;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    color: #555;
    background-color: #f9f9f9;
    border: 2px dashed #ccc;
    border-radius: 15px;
    transition: border-color 0.3s, background-color 0.3s, transform 0.2s;
}
.drop-zone:hover {
    transform: scale(1.02);
}
.drop-zone__icon {
    width: 50px;
    height: 50px;
    fill: #999;
    margin-bottom: 15px;
    transition: fill 0.3s;
    vertical-align: middle;
}
.drop-zone--over {
    border-color: #5c67f2;
    background-color: #f0f1ff;
}
.drop-zone--over .drop-zone__icon {
    fill: #5c67f2;
}
.editor-panel {
    display: none; /* Hidden by default */
    margin-top: 20px;
}
#waveform {
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.wave-controls {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.wave-controls button {
    padding: 8px 15px;
}
.wave-controls label {
    font-size: 14px;
    margin-right: 5px;
}
.wave-controls > div {
    display: flex;
    align-items: center;
}
#volume-boost-value {
    min-width: 40px;
    text-align: left;
}
.loader {
    display: none;
    text-align: center;
    padding: 20px;
    font-size: 16px;
}
.effects-options {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.effects-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}
.effects-options input {
    margin-right: 8px;
}

/* Button loading state */
#create-btn {
    position: relative;
    transition: all 0.3s ease;
    min-width: 150px; /* Ensure button doesn't shrink */
}

.button__spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#create-btn.button--loading .button__spinner {
    display: block;
}

#create-btn.button--loading .button__text {
    visibility: hidden;
}

@keyframes spin { to { transform: rotate(360deg); } }