/**
 * Under Construction Popup Styles
 * WCAG 2.2 Level AA Compliant
 * Developed by AppWT LLC
 */

/* Popup Container */
.banaa-construction-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.banaa-construction-popup.visible {
    opacity: 1;
    visibility: visible;
}

/* Overlay */
.banaa-construction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

/* Popup Content */
.banaa-construction-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 4px solid #003366;
}

/* Close Button */
.banaa-construction-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: #003366;
    color: #FFFFFF;
    border: 2px solid #003366;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.banaa-construction-close:hover,
.banaa-construction-close:focus {
    background: #FFD700;
    color: #003366;
    border-color: #FFD700;
    transform: rotate(90deg);
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

/* Construction Icon */
.banaa-construction-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Title */
.banaa-construction-title {
    color: #003366 !important;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* Message */
.banaa-construction-message {
    color: #444444 !important;
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 0 30px 0;
}

/* Footer */
.banaa-construction-footer {
    color: #666666 !important;
    font-size: 0.95rem;
    padding-top: 20px;
    border-top: 2px solid #E5E7EB;
}

.banaa-construction-footer strong {
    color: #003366 !important;
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .banaa-construction-content {
        padding: 40px 30px;
        width: 95%;
        max-width: 400px;
    }

    .banaa-construction-icon {
        font-size: 4rem;
        margin-bottom: 15px;
    }

    .banaa-construction-title {
        font-size: 1.8rem;
    }

    .banaa-construction-message {
        font-size: 1.05rem;
    }

    .banaa-construction-footer {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .banaa-construction-content {
        padding: 30px 20px;
    }

    .banaa-construction-icon {
        font-size: 3.5rem;
    }

    .banaa-construction-title {
        font-size: 1.6rem;
    }

    .banaa-construction-message {
        font-size: 1rem;
    }

    .banaa-construction-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
        top: 12px;
        right: 12px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .banaa-construction-popup,
    .banaa-construction-close,
    .banaa-construction-icon {
        animation: none !important;
        transition: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .banaa-construction-content {
        border: 4px solid #000000;
    }

    .banaa-construction-title {
        color: #000000 !important;
    }

    .banaa-construction-message {
        color: #000000 !important;
    }

    .banaa-construction-close {
        background: #000000;
        color: #FFFFFF;
        border-color: #000000;
    }

    .banaa-construction-close:hover,
    .banaa-construction-close:focus {
        background: #FFFFFF;
        color: #000000;
    }
}

/* Print - Hide Popup */
@media print {
    .banaa-construction-popup {
        display: none !important;
    }
}

/* © 2025 Copyright | Developed by AppWT LLC */
