/* ===================================
   JMS ELEGANTE ENQUIRY POPUP
=================================== */

.enquiry-popup{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
}

.enquiry-popup.active{
    display:flex !important;
}

.popup-overlay{
    position:absolute;
    inset:0;
    background:rgba(8,18,40,.75);
    backdrop-filter:blur(5px);
}

.popup-box{
    position:relative;
    width:92%;
    max-width:520px;
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    z-index:2;
    box-shadow:0 25px 70px rgba(0,0,0,.35);
    animation:popupScale .35s ease;
}

.popup-header{
    background:linear-gradient(135deg,#123a75,#0b2347);
    padding:35px 30px 25px;
    text-align:center;
    color:#fff;
}

.popup-header h2{
    margin:0;
    font-size:34px;
    font-weight:700;
}

.popup-header p{
    margin-top:10px;
    font-size:15px;
    opacity:.9;
}

.popup-close{
    position:absolute;
    top:18px;
    right:18px;
    width:44px;
    height:44px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:#123a75;
    cursor:pointer;
    font-size:30px;
    line-height:44px;
    transition:.3s;
}

.popup-close:hover{
    transform:rotate(90deg);
}

#popupEnquiryForm{
    padding:30px;
}

.form-group{
    margin-bottom:18px;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:16px 18px;
    border:1px solid #d8e2ef;
    border-radius:12px;
    font-size:15px;
    outline:none;
    transition:.3s;
    background:#f7f9fc;
    box-sizing:border-box;
}

.form-group input:focus,
.form-group textarea:focus{
    background:#fff;
    border-color:#1d5eb8;
    box-shadow:0 0 0 4px rgba(29,94,184,.12);
}

.form-group textarea{
    resize:none;
    min-height:130px;
}

.popup-submit{
    width:100%;
    padding:16px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#1f65c7,#143d73);
    color:#fff;
    cursor:pointer;
    font-size:18px;
    font-weight:700;
    transition:.3s;
}

.popup-submit:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(18,58,117,.3);
}

.popup-submit:disabled{
    opacity:.6;
    cursor:not-allowed;
}

/* SUCCESS MESSAGE */

.popup-success{
    position:fixed;
    top:25px;
    right:25px;
    width:320px;
    background:#fff;
    border-left:5px solid #28a745;
    border-radius:14px;
    box-shadow:0 20px 50px rgba(0,0,0,.25);
    padding:22px;
    transform:translateX(420px);
    transition:.4s;
    z-index:9999999;
}

.popup-success.show{
    transform:translateX(0);
}

.popup-error{
    border-left-color:#dc3545;
}

.success-icon{
    width:56px;
    height:56px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    color:#fff;
    background:#28a745;
    margin-bottom:12px;
}

.popup-error .success-icon{
    background:#dc3545;
}

.popup-success h3{
    margin:0 0 8px;
    color:#123a75;
}

.popup-success p{
    margin:0;
    color:#666;
    line-height:1.6;
}

@keyframes popupScale{
    from{
        transform:translateY(40px) scale(.95);
        opacity:0;
    }
    to{
        transform:translateY(0) scale(1);
        opacity:1;
    }
}

@media(max-width:768px){

.popup-box{
    width:94%;
}

.popup-header{
    padding:28px 18px 22px;
}

.popup-header h2{
    font-size:28px;
}

#popupEnquiryForm{
    padding:20px;
}

.popup-success{
    left:15px;
    right:15px;
    width:auto;
}

}