/* #cpf-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

.cpf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
} */


#cpf-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;

    /* REAL CENTERING */
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

#cpf-popup .cpf-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}


/* .cpf-modalold {
    position: relative;
    width: 1135px;
    height: 567px;
    max-width: 95%;
    margin: 5% auto;
    background: #ffffff;
    border: 1px solid #008F8A;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
} */

#cpf-popup .cpf-modal {
    position: relative;
    width: 95%;
    max-width: 980px;
    max-height: 95vh;
    background: #ffffff;
    border: 1px solid #008F8A;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}


/* #cpf-popup .cpf-modal {
    position: relative;
    width: 1000px;        
    max-width: 95%;
    height: auto;
    background: #ffffff;
    border: 1px solid #008F8A;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
} */


/* Background Wave */
#cpf-popup .cpf-bg {
    position: absolute;
    inset: 0;
    background: url('../images/Background.png') no-repeat right center;
    background-size: cover;
    opacity: 0.9;
    z-index: 0;
}

/* #cpf-popup .cpf-container {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    padding: 40px;
} */

/* #cpf-popup .cpf-container2 {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 35px;
} */

#cpf-popup .cpf-container {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 40px;
    gap: 40px;
}



/* LEFT */
/* #cpf-popup .cpf-left {
    width: 40%;
}

#cpf-popup .cpf-left h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 30px 0;
}

#cpf-popup .cpf-event-info {
    margin-top: 20px;
    font-weight: 600;
} */

#cpf-popup .cpf-left {
    width: 40%;
    display: flex;
    flex-direction: column;
}

#cpf-popup .cpf-main-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

#cpf-popup .cpf-left h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 49px;
    margin-bottom: 20px;
}

#cpf-popup .cpf-uitp-logo {
    max-width: 320px;
    margin-bottom: 15px; /* THIS CONTROLS GAP BELOW DUBAI 2026 */
}

#cpf-popup .cpf-event-info {
    /* margin-top: 0; remove extra spacing */

        margin-top: -23px;
    padding-left: 120px;
}

#cpf-popup .cpf-event-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

#cpf-popup .cpf-event-row img {
    width: 22px;
    height: 22px;
}

#cpf-popup .cpf-event-row span {
    font-weight: 600;
    font-size: 16px;
}


/* RIGHT */
#cpf-popup .cpf-right {
    width: 60%;
        align-content: center;
        margin-top: 10%
}

#cpf-popup .cpf-right h3 {
    font-size: 26px;
    margin-bottom: 20px;
}

#cpf-popup .cpf-row {
    display: flex;
    gap: 20px;
}

#cpf-popup .cpf-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    
}

#cpf-popup .cpf-field label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

#cpf-popup .cpf-field input,
#cpf-popup .cpf-field textarea {
    border: 1px solid #278D88;
    padding: 8px 10px;
    font-size: 10px;
    background: #ffffff;
    border-radius: 0px;
}

#cpf-popup .cpf-field textarea {
    height: 100px;
    resize: none;
}

/* #cpf-popup .cpf-submit {
    background: #008E89;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

#cpf-popup .cpf-submit:hover {
    background: #007670;
} */

#cpf-popup .cpf-submit:hover {
    background:  #212121 !important;
}

#cpf-popup .cpf-submit {
    position: relative;
    background: #008E89;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    min-width: 120px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    border-radius: 0px !important;
}

#cpf-popup .cpf-submit:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}
#cpf-popup .cpf-close {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 3;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Bottom Strip */
#cpf-popup .cpf-bottom-strip {
 position: absolute;
bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    background: url('../images/Bottom Element.png') no-repeat center;
    background-size: contain;
    z-index: 1;
    margin-top: 20px;
}

/* Responsive */
@media(max-width: 900px){
    #cpf-popup .cpf-modal {
        height: auto;
    }
    #cpf-popup .cpf-container {
        flex-direction: column;
    }
    #cpf-popup .cpf-left,
    #cpf-popup .cpf-right {
        width: 100%;
    }
}

#cpf-popup .cpf-uitp-logo {
    max-width: 320px;
    margin-top: 20px;
}

/* #cpf-popup .cpf-event-info {
    margin-top: 20px;
} */

#cpf-popup .cpf-event-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

#cpf-popup .cpf-event-row img {
    width: 22px;
    height: 22px;
}

#cpf-popup .cpf-event-row span {
    font-weight: 600;
    font-size: 16px;
    color: #000;
}

#cpf-popup .cpf-event-row sup {
    font-size: 10px;
}

/* Placeholder Styling */
#cpf-popup .cpf-field input::placeholder,
#cpf-popup .cpf-field textarea::placeholder {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 16px;
    color: #666666;
    opacity: 1; /* important to prevent browser fading */
}

/* For better browser compatibility */
#cpf-popup .cpf-field input::-webkit-input-placeholder,
#cpf-popup .cpf-field textarea::-webkit-input-placeholder {
    font-weight: 500;
    font-size: 10px;
    color: #666666;
}

#cpf-popup .cpf-field input::-moz-placeholder,
#cpf-popup .cpf-field textarea::-moz-placeholder {
    font-weight: 500;
    font-size: 10px;
    color: #666666;
}

#cpf-popup .cpf-field input,
#cpf-popup .cpf-field textarea {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 16px;
    color: #000000;
}

/* Loader */
.btn-loader {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: cpf-spin 0.8s linear infinite;
    opacity: 0;
}

@keyframes cpf-spin {
    to { transform: rotate(360deg); }
}

/* Loading state */
#cpf-popup .cpf-submit.loading .btn-text {
    opacity: 0;
}

#cpf-popup .cpf-submit.loading .btn-loader {
    opacity: 1;
}

/* mobile */

@media (max-width: 600px) {

    #cpf-popup .cpf-modal {
        width: 95%;
        max-height: 130vh;
        border-radius: 8px;
    }
    
    #cpf-popup .cpf-bg{
   height: 93vh;
  }
    
  
    #cpf-popup .cpf-event-info {
    margin-top: -23px;
    padding-left: 85px;
}

    #cpf-popup .cpf-container {
        padding: 18px;
        gap: 0px!important;
    }

    #cpf-popup .cpf-main-logo {
        max-width: 170px;
        margin-bottom: 3px;
        padding-top: 5px;
    }

    #cpf-popup .cpf-left h2 {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    #cpf-popup .cpf-uitp-logo {
        max-width: 210px;
            margin-top: 0px;
    }

    #cpf-popup .cpf-event-row span {
        font-size: 14px;
    }

    #cpf-popup .cpf-row {
        flex-direction: column;
        gap: 0px;
    }

    #cpf-popup .cpf-submit {
        width: 100%;
    }

    #cpf-popup .cpf-close {
        top: 15px;
        right: 12px;
        font-size: 20px;
    }

    #cpf-popup .cpf-right {
   
    margin-top: 0%;
}
 #cpf-popup .cpf-bottom-strip {
        
        /* background-size: cover; */
        margin-top: 0px;
            bottom: -20px;
    }
    
    #cpf-popup {
   
    align-items: normal;
    
}
}



@media (max-width: 1024px) {

    #cpf-popup .cpf-container {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    #cpf-popup .cpf-left,
    #cpf-popup .cpf-right {
        width: 100%;
    }

    #cpf-popup .cpf-left h2 {
        font-size: 32px;
        line-height: 40px;
    }

    #cpf-popup .cpf-right h3 {
        font-size: 22px;
    }
}
/* @media (max-width: 600px) {
    #cpf-popup .cpf-bg {
        opacity: 0.15; 
        background-position: repeat;
       
    }
} */

@media (max-width: 400px) {

    #cpf-popup .cpf-bottom-strip {
        height: 20px;
        /*background-size: cover;*/
                bottom: -77px;
    }
       #cpf-popup .cpf-modal {
        max-height: 105vh;
        border-radius: 12px;
    }
    #cpf-popup .cpf-container {
    padding-bottom: 12px;
}

 #cpf-popup .cpf-submit {
        
        margin-bottom: 16px;
    }
  #cpf-popup .cpf-bg{
   height: 110vh;
  }

}