/* popup form modal start */

.modal-content {
            background: none !important;
            border: none !important;
        }

/* .modal-dialog{
    margin-top: 10% !important;
} */
.popupmodal .modal-content{
    background: transparent;
    border: 0;
    border-radius: 24px;
    position: relative;
}
.popup-close-btn{
    position: absolute;
    right: -60px;
    top: -20px;
    z-index: 5;
    width: 34px;
    height: 34px;
    padding: 0;
    background: #ffffff;
    opacity: 1;
    /* border: 1px solid #dfe3ea; */
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
}
.popup-close-btn .btn-close{
    position: static;
    padding: 0;
    margin: 0;
    line-height: 0;
    font-size: 0;
    color: #1f2937;
    opacity: 1;
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.popup-close-btn .btn-close svg{
    display: block;
    width: 24px;
    height: 24px;
}
.popupmodal .popup-close-btn .btn-close:focus{
    box-shadow: none;
    outline: none;
    border-radius: 50%;
}
.popupmodal .popup-close-btn:focus-within{
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.12);
    border-radius: 50%;
}
.popupmodal .popup-close-btn .btn-close:focus-visible{
    outline: none;
}
.popupmodal .modal-body.bg-invest-ar{
    background: #F9FBF9;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
}
.popupmodal .popup-content{
    text-align: left;
}
.popupmodal .popup-content h3{
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 20px;
}
.popupmodal .popup-content .accent{
    color: #00b36b;
}
.popupmodal .popup-content p{
    color: #475467;
    opacity: 1;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
    max-width: 420px;
}
.popupmodal .details li{
    color: #344054;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.popupmodal .details li:last-child{
    margin-bottom: 0;
}
.popupmodal .details{
    margin-top: 20px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 14px;
}
.popupmodal .details li::before{
    content: "✓";
    color: #12b76a;
    font-weight: 700;
    line-height: 1.4;
}
.popupmodal .trust-badges{
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: #475467;
    font-size: 13.5px;
    font-weight: 500;
}
.popupmodal .trust-badges span{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.06);
}

@media (max-width: 991px) {
  #popupmodal .mobile-app-model .row > [class*="col-"] + [class*="col-"] {
    margin-top: 22px;
  }
}
#popupmodal .popup-form .modal-customform{
    background: #ffffff;
    border: 1px solid #e6e9f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}
#popupmodal .form-floating .form-control{
    border-radius: 14px;
    border: 1px solid #dfe3ea;
    background: #ffffff;
    height: 56px;
    padding: 14px 18px;
    color: #0f172a;
    font-size: 15px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
#popupmodal .form-floating .form-control::placeholder{
    color: transparent;
}
#popupmodal .form-floating .form-control{
    padding-top: 26px;
}
#popupmodal .form-floating textarea.form-control{
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    resize: none;
    overflow: auto;
    padding-top: 24px;
}
#popupmodal .form-floating label{
    color: #8a93a5;
    font-weight: 500;
    font-size: 15px;
}
#popupmodal .form-floating{
    position: relative;
    margin-bottom: 18px;
}
#popupmodal .form-floating label{
    position: absolute;
    left: 10px;
    top: 17px;
    transform: none;
    background: transparent;
    padding: 0 6px;
    height: auto;
    margin: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}
#popupmodal .form-floating .form-control:focus + label,
#popupmodal .form-floating .form-control:not(:placeholder-shown) + label,
#popupmodal .form-floating textarea.form-control:focus + label,
#popupmodal .form-floating textarea.form-control:not(:placeholder-shown) + label{
    top: 8px;
    font-size: 12px;
    color: #00b36b;
}
#popupmodal .form-floating .form-control:focus{
    border-color: #00b36b;
    box-shadow: 0 0 0 4px rgba(0, 179, 107, 0.18);
    background: #fff;
}
#popupmodal .form-floating .form-control:hover{
    border-color: #00b36b;
    box-shadow: 0 0 0 4px rgba(0, 179, 107, 0.12);
    background: #fff;
}
#popupmodal .form-floating label .red{
    display: inline;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    margin: 0;
    color: #e11d48;
    font-weight: 600;
}
#popupmodal .form-floating .form-control:focus{
    border-color: #18b765;
    box-shadow: 0 0 0 4px rgba(24, 183, 101, 0.18);
}

#popupmodal .btn.btn-primary{
    background: #12b76a;
    border-color: #12b76a;
    color: #ffffff;
    border-radius: 999px;
    padding: 12px 36px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(18, 183, 106, 0.28);
}
#popupmodal .btn.btn-primary:hover{
    background: #0fa15e;
    border-color: #0fa15e;
}
.modal-lg, .modal-xl {
    --bs-modal-width: 700px !important;
}
@media screen and (max-width: 991px){
    .modal-dialog {
        max-width: 600px;

    }
}
@media screen and (max-width: 767px){
      .modal-dialog {
        max-width: 500px;

    }
    #popupmodal .form-floating {
    margin-bottom: 8px !important;
}
    #popupmodal .mobile-app-model .row > [class*="col-"] + [class*="col-"] {
        margin-top: 10px;
    }
}

@media screen and (max-width: 640px){
.popup-close-btn {
    position: absolute;
    right: 5px;
    top: 8px;}
}
@media screen and (max-width: 576px){
   .modal-dialog {
        max-width: 600px;

    }
}
body.modal-open {
            overflow: hidden !important;
            padding-right: 0 !important;
        }

        html.modal-open {
            overflow: hidden !important;
        }
/* popup form modal end */