/**
 * Popup Module Version 2 Styles
 * Provides styles for displaying customizable popups with enhanced animations and mobile responsiveness
 *
 * @package fong_de_lms
 * @subpackage utils
 * @since 1.0.0
 *
 * @related_files
 * - public/js/modules/utils/popup-2.js                  Main popup functionality
 * - public/js/modules/utils/module-disabled-scroll.js    Scroll management functionality
 * - public/js/fong-script-tu-dien-frontend.js           Frontend dictionary script using popups
 * - modules/thi-thu/frontend/js/fong-thi-thu-timer.js   Exam timer using popups
 */

/* Overlay styles */
.fong-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

/* Main popup container */
.fong-popup2 {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-width: 90%;
    width: auto;
    text-align: center;
}

/* Button container */
.fong-popup2-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: nowrap;
}

/* Button styles */
.fong-popup2-button {
    font-family: montserrat-bold, sans-serif;
    text-transform: uppercase;
    min-width: 140px;
    font-size: 13px;
    border: 1px solid rgba(33, 167, 168, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(33, 167, 168, 0.8);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 24px;
    cursor: pointer;
}

.fong-popup2-button i {
    font-size: 16px;
    color: #ffffff;
}

.fong-popup2-button:hover {
    background-color: rgb(33, 167, 168);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.fong-popup2-button.secondary {
    background-color: rgba(0, 39, 72, 0.8);
    border: 1px solid rgba(0, 39, 72, 0.2);
}

.fong-popup2-button.secondary:hover {
    background-color: rgb(0, 39, 72);
    color: #ffffff;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .fong-popup2 {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        margin: 0 !important;
        border-radius: 8px 8px 0 0 !important;
    }

    .fong-popup2-buttons {
        flex-direction: row;
    }

    .fong-popup2-button {
        width: auto;
        margin: 0;
        min-width: 120px;
        padding: 10px 16px !important;
    }
}
