﻿.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay {
    display: none;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 700px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    animation: popupFade .3s ease;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-header {
    background: #b91c1c;
    color: #fff;
    padding: 18px 30px;
}

.popup-header h2 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.2;
    display: inline-block;
    align-items: center;
    gap: 12px;
}

.popup-wrapper {
    padding: 30px;
}

.popup-wrapper p {
    margin: 0 0 15px;
    line-height: 1.7;
    color: #333;
}

.security-box {
    background: #fafafa;
    border-left: 5px solid #b91c1c;
    padding: 20px;
    margin: 25px 0;
}

.security-box h3 {
    margin: 0 0 15px;
    font-size: 1.1rem;
    color: #111;
}

.security-box ul {
    margin: 0;
    padding-left: 18px;
}

.security-box li {
    margin-bottom: 10px;
}

.verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 14px 24px;
    background: #b91c1c;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: .2s;
}

.verify-btn:hover {
    background: #991b1b;
    color: #fff;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    line-height: 1;
}

.mobile-version {display:none;}	
	.desktop-version {display:block;}	

@media (max-width: 768px) {

    .popup-header {
        padding: 16px 20px;
    }

    .popup-header h2 {
        font-size: 1.3rem;
    }

    .popup-wrapper {
        padding: 20px;
    }
}



@media (max-width: 550px) {

	.mobile-version {display:block;}	
	.desktop-version,.popup-header span {display:none;}	
}