/**
 * WhoKnew Views - Audio Download Modal Styles
 * 
 * WordPress.org Compliance: Converted from inline <style> tag
 * Original location: includes/admin/audio-download.php lines 273-442
 * 
 * @package WhoKnew_Views
 * @since 4.0
 */

/* Modal Overlay */
.wkviews-audio-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.wkviews-audio-modal-overlay.active {
    display: flex;
}

/* Modal Card */
.wkviews-audio-modal {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: wkviews-modal-slide-in 0.3s ease-out;
    overflow: hidden;
}

@keyframes wkviews-modal-slide-in {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.wkviews-audio-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.wkviews-audio-modal-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.wkviews-audio-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Modal Body */
.wkviews-audio-modal-body {
    padding: 2rem;
    text-align: center;
}

.wkviews-audio-modal-message {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Progress */
.wkviews-audio-modal-progress {
    margin: 1.5rem 0;
    display: none;
}

.wkviews-audio-modal-progress.active {
    display: block;
}

.wkviews-modal-progress-bar {
    background: #ecf0f1;
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.wkviews-modal-progress-fill {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.wkviews-modal-progress-text {
    font-size: 0.875rem;
    color: #95a5a6;
}

/* Buttons */
.wkviews-audio-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.wkviews-audio-modal-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wkviews-audio-modal-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.wkviews-audio-modal-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.wkviews-audio-modal-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wkviews-audio-modal-btn-secondary {
    background: #ecf0f1;
    color: #7f8c8d;
}

.wkviews-audio-modal-btn-secondary:hover {
    background: #bdc3c7;
    color: #2c3e50;
}

/* Status Messages */
.wkviews-audio-status {
    margin: 1rem 0;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.95rem;
    display: none;
}

.wkviews-audio-status.active {
    display: block;
}

.wkviews-audio-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wkviews-audio-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
