/**
 * Advanced Audio Player - Popup Player Styles
 *
 * @since      1.0.0
 */

/* Popup overlay */
.aap-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.aap-popup-overlay.aap-popup-visible {
    opacity: 1;
    visibility: visible;
}

/* Popup container */
.aap-popup-container {
    width: 90%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.aap-popup-visible .aap-popup-container {
    transform: scale(1);
}

/* Popup header */
.aap-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.aap-popup-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.aap-popup-actions {
    display: flex;
}

.aap-popup-minimize,
.aap-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    transition: color 0.2s;
    margin-left: 10px;
}

.aap-popup-minimize:hover {
    color: #007bff;
}

.aap-popup-close:hover {
    color: #dc3545;
}

/* Popup content */
.aap-popup-content {
    padding: 20px;
}

/* Player in popup */
.aap-popup-content .aap-player {
    margin: 0;
    box-shadow: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .aap-popup-container {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .aap-popup-header {
        padding: 10px 15px;
    }
    
    .aap-popup-title {
        font-size: 16px;
    }
    
    .aap-popup-content {
        padding: 15px;
    }
}