#msFormOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.44);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.ms-form-box {
     background: #ffffff;
    width: 90%;
    max-width: 685px;
    border-radius: 20px;
    padding: 60px 60px 75px 60px;
    position: relative;
    margin: 0 auto;
    top: 14vh;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

:focus-visible
{
    outline: none !important;
}

.ms-step {
    display: none;
}

.ms-step.active {
    display: block;
}

.ms-form-box h2 {
   font-size: 30px;
    margin-bottom: 10px;
    font-family: "Montserrat", Sans-serif;
    font-weight: bolder;
    color: #161E20;
}

.ms-form-box p {
       color: #32484D;
    
    font-family: "Montserrat", Sans-serif;
    
    margin-top: 14px;
    margin-bottom: 15px;
}

.ms-next:focus 
{
 background: #17780d;
}

.ms-submit:focus 
{
 background: #17780d;
}

.ms-back:focus 
{
    background: transparent !important;
}

.ms-back:hover 
{
    background: transparent !important;
    color: #093317;
}

.ms-form-box input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
      background: #F2F2F2;
   
    font-size: 13.5px;
    border: none ! IMPORTANT;
    font-family: "Montserrat", Sans-serif;
    padding: 13px !important;
    border-radius: 7px ! IMPORTANT;
}

.ms-form-box input::placeholder {
    color: #9ca3af;
}

.ms-next, .ms-submit {
       background: #22B712;
    color: #fff;
    padding: 14px 22px;
    border: none;
    font-family: "Montserrat", Sans-serif;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

.ms-next:hover
{
    background: #17780d;
}

.ms-submit:hover
{
    background: #17780d;
}


.ms-back {
    background: none;
    border: none;
      color: #093317;
    font-weight: 700;
    padding: 15px 0px;
    font-size: 15px;
    margin-top: 10px;
    margin-right: 10px;
    font-family: "Montserrat", Sans-serif;
}

.ms-actions {
    display: flex;
    gap: 15px;
    align-items: center;
      margin-top: 20px;
}

.ms-success{
      margin-top: 16px;
      margin-bottom: 16px ;
}

.ms-progress {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

 

.ms-success {
    text-align: center;
}

.ms-success .check {
    background: #22B712;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
}


.ms-progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

 
.ms-progress::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    transform: translateY(-50%);
    z-index: 1;
}

 
.ms-progress span {
    position: relative;
    width: 16px;
    height: 16px;
    background: #d1d5db;
    border-radius: 50%;
    z-index: 2;
}

 
.ms-progress span.active {
    background: #facc15;
}

.ms-error {
    color: #ef4444;
    font-size: 13px;
    
    margin-bottom: 10px;
}

.ms-form-box input.error {
    border: 1px solid #ef4444;
    background: #fef2f2;
}

.ms-step label
{
        display: inline-block;
    line-height: 1.5;
    vertical-align: middle;
    font-family: "Montserrat", Sans-serif;
    color: #32484D;
    margin-bottom: 5px;
    margin-top: 6px;
}

.email-info
{
    font-family: "Montserrat", Sans-serif;
   font-size: 13.1px;
    font-weight: 500;
    margin-top: 9px !important;
        margin-bottom: 17px ! IMPORTANT;
}

.ms-success
{
        display: flex;
        align-items: center;
        gap: 16px;
}

.thankyou-msg
{
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 22px;
}

.thankyou-msg h3
{
     margin: 0px;
    font-family: "Montserrat", Sans-serif;
    font-weight: 600;
    font-size: 27px;
}

 .thankyou-msg p
{
     margin: 0px;
}

.ms-close {
  position: absolute;
    top: 0px;
    right: 10px;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 35px;
    display: none;
    padding: 0px;
    background: transparent ! IMPORTANT;
    color: #000;
}

.ms-close:hover {
    background: transparent ! IMPORTANT;
    color: #000;
}

.ms-close:focus {

    background: transparent ! IMPORTANT;
    color: #000;
}



.ms-submit.loading {
    background: #16a34a;
    opacity: 0.8;
    pointer-events: none;
    position: relative;
}

.ms-submit.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    animation: ms-spin 0.7s linear infinite;
}

@keyframes ms-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}
 
@media(max-width:768px){
    .ms-form-box {
        padding: 20px 25px 40px 25px;
    }
    
.ms-form-box h2
{
       font-size: 28px;
        line-height: 1.38;
}

.ms-form-box p{
        font-size: 16px;
                font-weight: 500;
                 margin-bottom: 15px;
 
    margin-top: 12px;
}

.ms-step{
        margin-bottom: 12px;
}

.email-info{
        font-size: 13.5px ! IMPORTANT;
        margin-bottom: 12px ! IMPORTANT;
        
    margin-top: 7px !important;
}

.ms-progress span{
    width: 14px;
    height: 14px;
}

.ms-actions{
    margin-top: 14px;
}

.ms-form-box h2{
    
    margin-bottom: 16px;
}

.thankyou-msg h3
{
    font-size: 22px;
}

.ms-form-box{
        min-height: 385px;
}

.ms-step label
{
    margin-top: 0px;
}

.ms-progress
{
        margin-top: 16px !important;
}

.ms-step label
{
    font-weight: 500;
}

.ms-success
{
    margin-top: -9px !important;
    margin-bottom: 6px !important;
}

.thankyou-msg p
{
    margin-top: 0px !important;
}

.ms-success .check
{
        padding: 8px;
}

.ms-success
{
    gap: 14px;
}
    
}