/* -- Popup Modal Styles -- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
}

.popup-close:hover {
    color: var(--danger-color, #ef4444);
}

.popup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.popup-header h3 {
    font-size: 1.5rem;
    color: var(--text-main, #1e293b);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.popup-header p {
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
}

.popup-header .highlight-text {
    color: var(--primary-color, #2563EB);
    font-weight: 700;
}

.popup-form .form-group {
    margin-bottom: 1rem;
}

.popup-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.popup-form input:focus {
    border-color: var(--primary-color, #2563EB);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.popup-form .btn-block {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 1rem;
}