/* ===== Flatsome Popup Maker - Frontend Styles ===== */

.fsp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    transition: all 0.4s ease;
}

.fsp-popup-overlay.fsp-active {
    background: rgba(0, 0, 0, 0.55);
    visibility: visible;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.fsp-popup-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px 35px 35px;
    max-width: 520px;
    width: 90%;
    position: relative;
    transform: scale(0.7) translateY(30px);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.fsp-popup-overlay.fsp-active .fsp-popup-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.fsp-popup-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    line-height: 1;
}

.fsp-popup-close:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}

.fsp-popup-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    text-align: center;
    font-family: inherit;
}

.fsp-popup-text {
    font-size: 15px;
    font-weight: 400;
    color: #475569;
    line-height: 2;
    text-align: center;
    font-family: inherit;
}

.fsp-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: fspIconPulse 2s ease-in-out infinite;
}

@keyframes fspIconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(99, 102, 241, 0); }
}

.fsp-popup-btn {
    display: block;
    margin: 25px auto 0;
    padding: 12px 40px;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fsp-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.fsp-popup-overlay.fsp-closing {
    background: rgba(0, 0, 0, 0);
}

.fsp-popup-overlay.fsp-closing .fsp-popup-box {
    transform: scale(0.8) translateY(20px);
    opacity: 0;
}
