/* Download Flipped Audio Dialog Stylesheet */

/* Modal overlay */
.df-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.df-modal-dialog {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 100%;
}

/* Dialog content */
.df-dialog-content {
    padding: 25px;
}

/* Filename container */
.df-filename-container {
    margin-bottom: 25px;
}

.df-filename-container label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.df-filename-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.df-filename-row input[type="text"] {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.df-filename-row input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
}

.df-period {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
}

.df-extension-select {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 100px;
}

.df-extension-select:focus {
    outline: none;
    border-color: #667eea;
}

.df-extension-select:hover {
    border-color: #999;
}

/* Mobile/Phone Responsive Layout */
@media (max-width: 600px) {
    .df-modal-dialog {
        max-width: 90%;
        margin: 0 20px;
    }

    .df-dialog-content {
        padding: 20px;
    }

    .df-filename-row {
        flex-wrap: wrap;
    }

    .df-filename-row input[type="text"] {
        flex: 1 1 100%;
        min-width: 0;
    }

    .df-period {
        display: none;
    }

    .df-extension-select {
        flex: 1 1 100%;
        margin-top: 10px;
    }
}
