/* MBA Form Popup Styling */
.form-popup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-popup-modal.show {
    display: block;
    opacity: 1;
}

.form-popup-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.form-popup-modal.show .form-popup-content {
    transform: translateY(0);
}

.form-popup-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 1;
}

.form-popup-close:hover,
.form-popup-close:focus {
    color: #000;
    text-decoration: none;
}

/* Dubai style with brand colors */
.formsubmit.zcwf_button {
    background: linear-gradient(45deg, #0f1e49, #f4c40e) !important;
    color: white !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    max-width: none !important;
    margin-top: 15px !important;
    transition: all 0.3s ease !important;
}

.formsubmit.zcwf_button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

.zcwf_lblLeft .zcwf_title {
    color: #0f1e49 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
}

.zcwf_lblLeft .zcwf_col_lab {
    color: #333 !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
}

.zcwf_lblLeft .zcwf_col_fld input[type="text"] {
    padding: 8px 12px !important;
    border-radius: 4px !important;
    border: 1px solid #ddd !important;
    font-family: 'Inter', sans-serif !important;
}

.zcwf_lblLeft .zcwf_col_fld_slt {
    padding: 8px 12px !important;
    border-radius: 4px !important;
    border: 1px solid #ddd !important;
    font-family: 'Inter', sans-serif !important;
}

@media screen and (max-width: 768px) {
    .form-popup-content {
        margin: 15% auto;
        width: 95%;
        padding: 15px;
    }
    
    .zcwf_lblLeft .zcwf_col_fld input[type="text"],
    .zcwf_lblLeft .zcwf_col_fld_slt {
        width: 100% !important;
    }
}