#ps-form-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .45);
    animation: ps-backdrop-in .15s ease;
}
#ps-form-popup.ps-visible {
    display: flex;
}
#ps-form-popup .ps-popup-box {
    background: #fff;
    border-radius: 14px;
    padding: 44px 40px 36px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
    animation: ps-popup-in .2s cubic-bezier(.34,1.56,.64,1);
    position: relative;
}
#ps-form-popup .ps-popup-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    line-height: 1;
}
#ps-form-popup.ps-success .ps-popup-icon {
    background: #e8f7ee;
    color: #27ae60;
}
#ps-form-popup.ps-error .ps-popup-icon {
    background: #fdecea;
    color: #e74c3c;
}
#ps-form-popup .ps-popup-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #222;
}
#ps-form-popup .ps-popup-msg {
    font-size: 15px;
    color: #555;
    margin: 0 0 28px;
    line-height: 1.55;
}
#ps-form-popup .ps-popup-close {
    display: inline-block;
    padding: 11px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--primary, #e05a5a);
    transition: opacity .15s;
}
#ps-form-popup .ps-popup-close:hover {
    opacity: .85;
}
@keyframes ps-backdrop-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes ps-popup-in {
    from { transform: scale(.82); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
