/* ─── FORCE FONT SIZE OVERRIDE — beats WordPress/Elementor ─── */
#uae-verification-wrapper,
#uae-verification-wrapper p,
#uae-verification-wrapper span,
#uae-verification-wrapper label,
#uae-verification-wrapper input,
#uae-verification-wrapper select,
#uae-verification-wrapper textarea,
#uae-verification-wrapper button,
#uae-verification-wrapper div,
#uae-verification-wrapper h4,
#uae-verification-wrapper a {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Keep bigger sizes for headings/titles */
#uae-verification-wrapper h1 { font-size: 24px !important; }
#uae-verification-wrapper h2 { font-size: 22px !important; }
#uae-verification-wrapper h3 { font-size: 18px !important; }
#uae-verification-wrapper .uae-success-title { font-size: 22px !important; }
#uae-verification-wrapper .uae-success-icon { font-size: 36px !important; }
#uae-verification-wrapper #uae-otp-input { font-size: 22px !important; }
#uae-verification-wrapper .uae-upload-btn .uae-upload-icon { font-size: 24px !important; }

/* UAE Verification Form Styles */
#uae-verification-wrapper * {
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

#uae-verification-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* ─── TOP PROGRESS BAR (sticky, shown from step 2 onwards) ─── */
.uae-top-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px 0;
}

.uae-top-progress .uae-progress-label {
    font-size: 16px !important;
    color: #555;
    white-space: nowrap;
    min-width: 130px;
}

.uae-top-progress .uae-progress-track {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.uae-top-progress .uae-progress-fill {
    height: 100%;
    background: #3bbf8c;
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
}

.uae-top-progress .uae-progress-pct {
    font-size: 16px !important;
    color: #333;
    font-weight: 700;
    min-width: 36px;
    text-align: right;
}

/* ─── TWO COLUMN LAYOUT ─── */
.uae-two-col {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.uae-form-box {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.uae-form-box-full {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ─── INFO BOX (right side, step 1) ─── */
.uae-info-box {
    flex: 0 0 280px;
    padding: 4px 0 10px 20px;
}

.uae-info-box h3 {
    font-size: 16px !important;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* BLACK text class — overrides any green */
.uae-black-text {
    color: #222 !important;
    font-size: 16px !important;
    line-height: 1.65;
    margin-bottom: 6px;
}

/* ─── CONTACT INFO ─── */
.uae-contact-info {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.uae-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* SVG icon wrapper — matches text color */
.uae-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uae-contact-icon.email-icon {
    background: #fef3e2;
}

.uae-contact-icon.addr-icon {
    background: #fef3e2;
}

.uae-contact-icon svg {
    width: 18px;
    height: 18px;
}

.uae-contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.uae-contact-text strong {
    display: block;
    font-size: 16px !important;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1px;
}

.uae-contact-text span {
    font-size: 16px !important;
    color: #222;
}

/* ─── FIELD GROUPS ─── */
.uae-field-group {
    margin-bottom: 14px;
}

.uae-field-group label {
    display: block;
    font-size: 16px !important;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.uae-field-group input,
.uae-field-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px !important;
    color: #333;
    outline: none;
    background: #fff;
    transition: border 0.2s;
}

.uae-field-group input:focus,
.uae-field-group select:focus {
    border-color: #3bbf8c;
}

/* Phone prefix */
.uae-phone-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: border 0.2s;
}

.uae-phone-wrap:focus-within {
    border-color: #3bbf8c;
}

.uae-phone-prefix {
    padding: 12px 12px 12px 14px;
    font-size: 16px !important;
    color: #333;
    font-weight: 600;
    background: #f5f5f5;
    border-right: 1px solid #e0e0e0;
    white-space: nowrap;
}

.uae-phone-wrap input {
    flex: 1;
    padding: 12px 14px;
    border: none !important;
    border-radius: 0 !important;
    outline: none;
    font-size: 16px !important;
    color: #333;
}

/* Field error */
.uae-field-error {
    display: block;
    font-size: 16px !important;
    color: #e53935;
    margin-top: 4px;
    min-height: 14px;
}

/* ─── BUTTONS ─── */
.uae-btn-next {
    width: 100%;
    background: #c9861c;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 16px !important;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
    letter-spacing: 0.5px;
}

.uae-btn-next:hover {
    background: #b07515;
}

.uae-btn-verify {
    width: 100%;
    background: #3bbf8c;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px !important;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    transition: background 0.2s;
}

.uae-btn-verify:hover {
    background: #2ea87a;
}

/* ─── BANK LOGOS HEADER ─── */
.uae-bank-logos-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.uae-bank-logos-title {
    font-size: 16px !important;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding: 10px 20px;
    border-top: 2px solid #c9861c;
    border-bottom: 2px solid #c9861c;
    display: inline-block;
}

.uae-logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.uae-logo-item img {
    height: 36px;
    max-width: 100px;
    object-fit: contain;
    filter: none;
}

/* ─── QUESTIONS ─── */
.uae-question-row {
    margin-bottom: 20px;
}

.uae-q-label {
    display: block;
    font-size: 16px !important;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.uae-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.uae-radio-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px !important;
    color: #333;
    cursor: pointer;
}

.uae-radio-label input[type="radio"] {
    accent-color: #3bbf8c;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* Bank Header */
.uae-bank-header {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px !important;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
}

/* ─── CARDS ─── */
.uae-card-block {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
    background: #fafafa;
}

.uae-card-block h4 {
    font-size: 16px !important;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
}

.uae-upload-section {
    margin-bottom: 14px;
}

.uae-upload-section label {
    display: block;
    font-size: 16px !important;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.uae-upload-btns {
    display: flex;
    gap: 10px;
}

.uae-upload-btn {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    font-size: 16px !important;
    color: #555;
    transition: border 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.uae-upload-btn:hover {
    border-color: #3bbf8c;
    background: #f0faf6;
}

.uae-upload-btn .uae-upload-icon {
    font-size: 22px;
}

.uae-upload-success {
    font-size: 16px !important;
    color: #3bbf8c;
    font-weight: 600;
    margin-top: 5px;
}

.uae-manual-field {
    margin-bottom: 12px;
}

.uae-manual-field label {
    display: block;
    font-size: 16px !important;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.uae-manual-field input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    font-size: 16px !important;
    outline: none;
    background: #fff;
}

.uae-manual-field input:focus {
    border-color: #3bbf8c;
}

/* ─── OTP WRAPPER ─── */
.uae-otp-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px 0 20px;
}

.uae-otp-banner {
    background: #fff;
    border-top: 3px solid #c9861c;
    border-bottom: 3px solid #c9861c;
    padding: 14px 20px;
    font-size: 16px !important;
    font-weight: 700;
    color: #1a1a1a;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 0.2px;
}

.uae-otp-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.09);
    padding: 36px 40px;
    text-align: center;
    margin-bottom: 30px;
}

.uae-otp-box p {
    font-size: 16px !important;
    color: #333;
    margin-bottom: 16px;
}

#uae-otp-input {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 20px;
    letter-spacing: 6px;
    text-align: center;
    margin-bottom: 14px;
    outline: none;
}

#uae-otp-input:focus {
    border-color: #3bbf8c;
}

.uae-btn-submit-otp {
    width: 100%;
    background: #3bbf8c;
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 8px;
    font-size: 16px !important;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 1px;
}

.uae-btn-submit-otp:hover {
    background: #2ea87a;
}

/* ─── INFO BOTTOM (OTP page) ─── */
.uae-info-bottom {
    text-align: center;
    padding: 0 20px;
}

.uae-info-bottom h3 {
    font-size: 16px !important;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.uae-info-bottom p.uae-black-text {
    font-size: 16px !important;
    color: #222 !important;
    line-height: 1.7;
    margin-bottom: 4px;
}

/* ─── SUCCESS ─── */
.uae-success-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.uae-success-modal {
    background: #fff;
    border-radius: 14px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.uae-success-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.uae-success-title {
    font-size: 22px;
    font-weight: 700;
    color: #3bbf8c;
    margin-bottom: 8px;
}

.uae-success-msg {
    font-size: 16px !important;
    color: #222 !important;
}

/* ─── CAMERA ─── */
.uae-camera-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.uae-camera-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    min-width: 340px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.uae-camera-box h3 {
    margin-bottom: 14px;
    font-size: 16px !important;
    font-weight: 600;
}

#uae-camera-video {
    width: 100%;
    max-width: 320px;
    border-radius: 8px;
    background: #000;
}

.uae-camera-btns {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    justify-content: center;
}

.uae-btn-capture {
    background: #3bbf8c;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 7px;
    font-size: 16px !important;
    font-weight: 600;
    cursor: pointer;
}

.uae-btn-cancel {
    background: #f0f0f0;
    color: #333;
    border: none;
    padding: 10px 24px;
    border-radius: 7px;
    font-size: 16px !important;
    cursor: pointer;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 680px) {
    .uae-two-col {
        flex-direction: column;
    }
    .uae-info-box {
        flex: none;
        width: 100%;
        padding: 0;
        margin-top: 20px;
    }
    .uae-upload-btns {
        flex-direction: column;
    }
    .uae-logos-row {
        gap: 10px;
    }
    .uae-logo-item img {
        height: 28px;
        max-width: 80px;
    }
    .uae-top-progress {
        flex-wrap: wrap;
        gap: 6px;
    }
    .uae-top-progress .uae-progress-label {
        min-width: auto;
        font-size: 16px !important;
    }
    .uae-otp-box {
        padding: 24px 18px;
    }
    .uae-success-modal {
        padding: 30px 24px;
        margin: 20px;
    }
}

/* ─── CONTACT ICONS — no bg, just bare SVG ─── */
.uae-contact-icon,
.uae-contact-icon.email-icon,
.uae-contact-icon.addr-icon {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}

.uae-contact-svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    max-width: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.uae-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.uae-contact-text strong {
    color: #222;
    font-size: 16px !important;
    font-weight: 700;
}

.uae-contact-text span {
    color: #222;
    font-size: 16px !important;
}

/* ─── REDIRECT MSG ─── */
.uae-redirect-msg {
    font-size: 16px !important;
    color: #888;
    margin-top: 10px;
}


/* ─── MOBILE FONT SIZE INCREASE (max-width: 680px) ─── */
/* Current → New sizes listed below:
   Labels/small text:  11px → 13px
   Body/inputs:        13-14px → 16px
   Buttons:            15px → 17px
   Question labels:    12px → 14px
   OTP input:          20px → 24px
   Progress label:     12px → 13px
*/
@media (max-width: 680px) {

    /* Base wrapper font */
    #uae-verification-wrapper {
        font-size: 16px !important;
    }

    /* Field labels (were 11px) → 16px */
    .uae-field-group label,
    .uae-upload-section label,
    .uae-manual-field label {
        font-size: 16px !important;
    }

    /* Inputs and selects (were 14px) → 16px */
    .uae-field-group input,
    .uae-field-group select,
    .uae-phone-wrap input,
    .uae-manual-field input {
        font-size: 16px !important;
        padding: 14px 14px !important;
    }

    /* Phone prefix (was 14px) → 16px */
    .uae-phone-prefix {
        font-size: 16px !important;
    }

    /* Question labels (were 12px) → 16px */
    .uae-q-label {
        font-size: 16px !important;
    }

    /* Radio labels (were 14px) → 16px */
    .uae-radio-label {
        font-size: 16px !important;
    }

    /* Info box heading (was 15px) → 17px */
    .uae-info-box h3 {
        font-size: 17px !important;
    }

    /* Info box body text (was 13px) → 16px */
    .uae-black-text {
        font-size: 16px !important;
    }

    /* Contact text (was 13px) → 16px */
    .uae-contact-text strong,
    .uae-contact-text span {
        font-size: 16px !important;
    }

    /* Bank header (was 14px) → 16px */
    .uae-bank-header {
        font-size: 16px !important;
    }

    /* Card block title (was 14px) → 16px */
    .uae-card-block h4 {
        font-size: 16px !important;
    }

    /* Upload buttons (was 13px) → 15px */
    .uae-upload-btn {
        font-size: 16px !important;
    }

    /* Upload icon emoji (was 22px) → 26px */
    .uae-upload-btn .uae-upload-icon {
        font-size: 26px !important;
    }

    /* Buttons (were 15px) → 17px */
    .uae-btn-next,
    .uae-btn-verify,
    .uae-btn-submit-otp {
        font-size: 17px !important;
        padding: 16px !important;
    }

    /* OTP box instruction (was 15px) → 17px */
    .uae-otp-box p {
        font-size: 17px !important;
    }

    /* OTP input (was 20px) → 24px */
    #uae-otp-input {
        font-size: 24px !important;
        padding: 16px !important;
    }

    /* OTP banner (was 13px) → 15px */
    .uae-otp-banner {
        font-size: 16px !important;
    }

    /* Progress bar label (was 12px) → 13px */
    .uae-top-progress .uae-progress-label {
        font-size: 16px !important;
    }

    .uae-top-progress .uae-progress-pct {
        font-size: 16px !important;
    }

    /* Info bottom (was 15px) → 17px */
    .uae-info-bottom h3 {
        font-size: 17px !important;
    }

    .uae-info-bottom p.uae-black-text {
        font-size: 16px !important;
    }

    /* Success modal (was 22px title, 14px msg) */
    .uae-success-title {
        font-size: 24px !important;
    }

    .uae-success-msg {
        font-size: 16px !important;
    }

    /* Field error (was 11px) → 13px */
    .uae-field-error {
        font-size: 16px !important;
    }

    /* Upload success tick (was 12px) → 14px */
    .uae-upload-success {
        font-size: 16px !important;
    }
}
