/**
 * Frontend Popup Styles
 */

/* Popup Overlay */
.wfh-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wfh-popup-overlay.wfh-popup-show {
    opacity: 1;
    visibility: visible;
}

/* Popup Content Box */
.wfh-popup-content {
    background: #ffffff;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.wfh-popup-overlay.wfh-popup-show .wfh-popup-content {
    transform: scale(1);
}

/* Close Button (X) */
.wfh-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: color 0.2s ease;
}

.wfh-popup-close:hover {
    color: #000;
}

/* Popup Title */
.wfh-popup-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

/* Popup Message */
.wfh-popup-message {
    margin: 0 0 25px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Close Button */
.wfh-popup-btn {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.wfh-popup-btn:hover {
    background-color: #555;
}

/* Responsive Design */
@media (max-width: 600px) {
    .wfh-popup-content {
        width: 95%;
        padding: 25px 20px;
    }

    .wfh-popup-title {
        font-size: 20px;
    }

    .wfh-popup-message {
        font-size: 14px;
    }

    .wfh-popup-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}
