﻿.popup-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.popup-modal {
    background: transparent;
    width: 520px;
    max-width: 90%;
    border-radius: 10px;
    padding: 0;
    position: relative;
    animation: popupFadeIn .25s ease;
}

.popup-content {
    position: relative;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255,255,255,.9);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.popup-text-content {
    background: #fff;
    padding: 18px 20px 20px;
    border-radius: 0 0 10px 10px;
    margin-top: -4px;
    text-align: center;
}

.popup-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 600;
    color: #111827;
}

.popup-message {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.popup-btn {
    display: inline-block;
    background: #111827;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 576px) {
    .popup-modal {
        width: 100%;
        max-width: 95%;
    }

    .popup-title {
        font-size: 18px;
    }

    .popup-message {
        font-size: 13px;
    }
}
