#mbamingle-verification-overlay {
    position: fixed !important;
    inset: 0 !important;

    display: none;

    width: 100% !important;
    height: 100% !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch !important;

    padding: 20px 16px 40px !important;

    background: rgba(28, 37, 44, 0.62) !important;
    backdrop-filter: blur(3px);

    z-index: 9999999 !important;

    box-sizing: border-box;
}

#mbamingle-verification-overlay.is-open {
    display: block !important;
}

#mbamingle-school-verification {
    position: relative !important;

    width: 100% !important;
    max-width: 560px !important;

    height: auto !important;
    max-height: none !important;

    margin: 20px auto 60px !important;
    padding: 28px !important;

    overflow: visible !important;

    background: #fff !important;
    border-radius: 14px !important;

    box-shadow: 0 18px 55px rgba(0,0,0,.20);

    box-sizing: border-box;
}
.mbamingle-verification-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 700;
    color: #202b34;
}

.mbamingle-verification-intro {
    font-size: 14px;
    line-height: 1.5;
    color: #394851;
}

.mbamingle-doc-list {
    margin: 14px 0;
    padding: 14px 18px 14px 34px;
    border: 1px solid #e1e7ea;
    border-radius: 9px;
    background: #fff;
    color: #303d45;
    font-size: 14px;
    line-height: 1.65;
}

.mbamingle-requirement-box {
    margin: 14px 0 20px;
    padding: 14px 16px;
    border: 1px solid #cae2e9;
    border-radius: 9px;
    background: #f1f8fa;
    color: #28566a;
    font-size: 14px;
    line-height: 1.5;
}

.mbamingle-step-title {
    margin: 18px 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #202b34;
}

.mbamingle-source-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mbamingle-source-btn {
    flex: 1 1 180px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 11px 14px !important;
    margin: 0 !important;
    width: auto !important;
    border: 1px solid #cbd5da !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #26343d !important;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
}

.mbamingle-source-btn:hover {
    border-color: #3f98ae !important;
    background: #f3fafc !important;
}

.mbamingle-source-btn.is-active {
    background: #3f98ae !important;
    border-color: #3f98ae !important;
    color: #fff !important;
}

.mbamingle-source-btn.is-disabled {
    background: #f2f4f5 !important;
    color: #999 !important;
    border-color: #dedede !important;
    cursor: not-allowed;
    opacity: .75;
}

#mbamingle_selected_file {
    margin-top: 8px;
}

#mbamingle_document_preview {
    display: block;
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin: 12px auto !important;
    border: 1px solid #d6dee2 !important;
    border-radius: 9px !important;
}

#mbamingle_document_preview.is-confirmed {
    border: 2px solid #4c9c43 !important;
}

#mbamingle_retake_photo,
#mbamingle_confirm_photo {
    width: auto !important;
    min-width: 120px;
    margin: 0 !important;
    padding: 9px 14px !important;
    border-radius: 7px !important;
}

#mbamingle_photo_confirmed {
    margin-top: 10px !important;
    color: #25872d !important;
    font-weight: 700 !important;
}

#mbamingle_verify_document {
    width: 100% !important;
    min-height: 50px;
    margin-top: 12px !important;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #3f98ae !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
}

#mbamingle_verify_document:disabled {
    background: #b9c7cb !important;
    cursor: not-allowed;
}

#mbamingle_processing {
    margin-top: 14px;
    padding: 18px;
    text-align: center;
    border: 1px solid #cfe1e6;
    border-radius: 9px;
    background: #eef7f9;
    color: #28566a;
}

.mbamingle-spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto 10px;
    border: 3px solid #c9e0e5;
    border-top-color: #3f98ae;
    border-radius: 50%;
    animation: mbamingle-spin .8s linear infinite;
}

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

#mbamingle_verify_status.is-success {
    margin-top: 12px;
    padding: 13px 14px;
    border: 1px solid #9bcea2;
    border-radius: 8px;
    background: #edf8ee;
    color: #297437;
}

#mbamingle_verify_status.is-error {
    margin-top: 12px;
    padding: 13px 14px;
    border: 1px solid #e4aaa5;
    border-radius: 8px;
    background: #fff0ef;
    color: #aa3028;
}

@media (max-width: 600px) {
    #mbamingle-verification-overlay {
        padding: 10px 10px 80px !important;
    }

    #mbamingle-school-verification {
        width: 100% !important;
        padding: 20px !important;
        margin: 10px auto 60px !important;
    }

    .mbamingle-verification-title {
        font-size: 21px;
    }

    .mbamingle-source-row {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .mbamingle-source-btn {
        flex: 1 1 0;
        min-width: 0;
        font-size: 14px;
        padding: 10px 8px !important;
    }
}
/* Photo review action buttons */

#mbamingle_selected_file > div > div:last-child {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 16px !important;
}

#mbamingle_retake_photo,
#mbamingle_confirm_photo {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 11px 14px !important;

    border-radius: 8px !important;

    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    position: static !important;
    transform: none !important;

    cursor: pointer !important;
}

/* Choose Another / Retake */
#mbamingle_retake_photo {
    background: #ffffff !important;
    border: 1px solid #cbd5da !important;
    color: #34434c !important;
}

/* Use This Photo */
#mbamingle_confirm_photo {
    background: #3f98ae !important;
    border: 1px solid #3f98ae !important;
    color: #ffffff !important;
}

#mbamingle_retake_photo:active,
#mbamingle_confirm_photo:active {
    transform: scale(.98) !important;
}

#mbamingle_retake_photo:hover {
    background: #f3f7f8 !important;
    border-color: #9eafb6 !important;
}

#mbamingle_confirm_photo:hover {
    background: #34879c !important;
    border-color: #34879c !important;
}

@media (max-width: 600px) {
    #mbamingle_retake_photo,
    #mbamingle_confirm_photo {
        font-size: 14px !important;
        padding: 11px 8px !important;
        white-space: nowrap !important;
    }
}

/* Go to Validation button */

#mbamingle_go_validation {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 150px !important;

    margin: 0 !important;
    padding: 10px 16px !important;

    border: 1px solid #3f98ae !important;
    border-radius: 8px !important;

    background: #3f98ae !important;
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    white-space: nowrap !important;
    cursor: pointer !important;

    position: static !important;
    transform: none !important;

    transition: all .18s ease;
}

#mbamingle_go_validation:hover {
    background: #34879c !important;
    border-color: #34879c !important;
}

#mbamingle_go_validation:active {
    transform: scale(.98) !important;
}

/* Compact validation warning */

#mbamingle-verification-summary {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 10px !important;

    margin-top: 10px !important;
    padding: 12px 14px !important;

    background: #fff7f6 !important;
    border: 1px solid #e6aaa4 !important;
    border-radius: 8px !important;

    color: #b3261e !important;

    box-sizing: border-box !important;
}

#mbamingle-verification-summary strong {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

#mbamingle_go_validation {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 160px !important;

    margin: 0 !important;
    padding: 9px 14px !important;

    background: #3f98ae !important;
    border: 1px solid #3f98ae !important;
    border-radius: 7px !important;

    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;

    white-space: nowrap !important;
}
/* =========================================================

/* =========================================================
 * MBA Mingle - Verification Code
 * ========================================================= */

/* Grey out normal document-verification path in code mode */
.mbamingle-source-btn.is-disabled {
    opacity: 0.4 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.mbamingle-code-mode-disabled {
    opacity: 0.38 !important;
    pointer-events: none !important;
}


/* OR divider */
.mbamingle-code-divider {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 22px 0 16px;

    color: #9aa3aa;
    font-size: 11px;
    font-weight: 600;
}

.mbamingle-code-divider::before,
.mbamingle-code-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e1e6e9;
}


/* Verification-code checkbox */
.mbamingle-code-option {
    margin-top: 0;
}

.mbamingle-code-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;

    cursor: pointer;

    color: #253746;
    font-size: 14px;
    font-weight: 500;
}

.mbamingle-code-checkbox-label input {
    margin: 0 !important;
}


/* Hidden until checkbox is selected */
#mbamingle-verification-code-panel {
    display: none;

    width: 100%;
    max-width: 100%;

    margin-top: 14px;
    padding: 14px 16px 16px;

    background: #f6fbfc;
    border: 1px solid #d7eaee;
    border-radius: 8px;

    box-sizing: border-box;
}


/* Label */
.mbamingle-code-label {
    display: block;

    margin-bottom: 7px;

    color: #253746;
    font-size: 13px;
    font-weight: 600;
}


/* Input + eye button */
.mbamingle-code-input-row {
    display: flex;
    align-items: stretch;

    width: 100%;
    margin: 0;

    box-sizing: border-box;
}

#mbamingle_verification_code {
    flex: 1 1 auto;

    width: auto !important;
    min-width: 0;
    height: 42px;

    margin: 0 !important;
    padding: 0 12px !important;

    border: 1px solid #bfcdd3 !important;
    border-right: 0 !important;
    border-radius: 6px 0 0 6px !important;

    box-sizing: border-box;

    outline: none !important;
    box-shadow: none !important;
}

#mbamingle_verification_code:focus {
    border-color: #4497ad !important;
}


.mbamingle-code-eye-btn {
    flex: 0 0 44px !important;

    width: 44px !important;
    min-width: 44px !important;
    height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    float: none !important;
    transform: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ffffff !important;

    border: 1px solid #bfcdd3 !important;
    border-left: 0 !important;
    border-radius: 0 6px 6px 0 !important;

    color: #6d7880 !important;

    outline: none !important;
    box-shadow: none !important;
}

.mbamingle-code-eye-btn:hover {
    background: #f3f7f8 !important;
    color: #4497ad !important;
}


/* Apply Code */
.mbamingle-apply-code-btn {
    display: block !important;

    width: 135px !important;
    min-width: 135px !important;
    height: 40px !important;

    margin: 14px auto 0 !important;
    padding: 0 15px !important;

    position: static !important;
    float: none !important;
    transform: none !important;

    background: #4497ad !important;
    border: 1px solid #4497ad !important;
    border-radius: 6px !important;

    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 40px !important;
    text-align: center !important;

    outline: none !important;
    box-shadow: none !important;
}

.mbamingle-apply-code-btn:hover {
    background: #3b879b !important;
    border-color: #3b879b !important;
}


/* Result message */
.mbamingle-code-status {
    margin-top: 9px;

    font-size: 13px;
    line-height: 1.4;
}


/* Mobile */
@media (max-width: 600px) {

    #mbamingle-verification-code-panel {
        padding: 14px;
    }

    .mbamingle-apply-code-btn {
        width: 135px !important;
        min-width: 135px !important;
        margin: 12px auto 0 !important;
    }
}

