.mohesr-theme {
    --ink: #161616;
    --muted: #6b7280;
    --line: #e5e5e5;
    --card-bg: #ffffff;
    --blue: #1a56ff;
    --blue-dark: #0d3fcc;
    --blue-tint: #eaf0ff;
    --green: #12b76a;
    --green-bright: #22c55e;
    --amber: #b8860b;
    --amber-tint: #fdf6e3;
    --red: #e11d48;
    --red-tint: #fbe9ec;
    --gold: #a9822f;
    --gold-dark: #8a6a25;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.06);
    font-family: "Inter",system-ui,-apple-system,sans-serif !important;
    background: var(--page-bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    --page-bg: #f9f9f9;
}

.mohesr-theme * {
    box-sizing: border-box;
}

.mohesr-theme html[dir="ltr"] body, .mohesr-theme html[dir="ltr"] h1, .mohesr-theme html[dir="ltr"] h2, .mohesr-theme html[dir="ltr"] h3, .mohesr-theme html[dir="ltr"] h4, .mohesr-theme html[dir="ltr"] h5, .mohesr-theme html[dir="ltr"] h6, .mohesr-theme html[dir="ltr"] p, .mohesr-theme html[dir="ltr"] span, .mohesr-theme html[dir="ltr"] div {
    font-family: 'Inter',system-ui,-apple-system,sans-serif !important;
}
/* ===== Page shell ===== */
/* ===== Cards / panels ===== */
/* ===== Sidebar nav (Dashboard / My applications / Payments / Start new) ===== */
/* ===== Tabs (Submitted / Drafts) ===== */
/* ===== Application card / progress tracker ===== */
.details-field-value {
    padding-inline-start: 5px;
}
/* ===== Buttons ===== */

@media (max-width: 991px) {
    .mohesr-theme .status-tabs .nav-link {
        margin-right: 1.25rem;
    }

    .mohesr-theme .progress-labels {
        font-size: .58rem;
    }
}

.mohesr-theme a {
    text-decoration: none;
}

    .mohesr-theme a.link {
        color: var(--blue);
        font-weight: 500;
    }

        .mohesr-theme a.link:hover {
            color: var(--blue-dark);
            text-decoration: underline;
        }

.mohesr-theme h1, .mohesr-theme h2, .mohesr-theme h3, .mohesr-theme h4, .mohesr-theme h5 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.mohesr-theme .main-container {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

mohesr-theme h1 {
    font-size: 2.5rem !important;
}
/* ===== breadcrumb strip for demo navigation between pages ===== */

.mohesr-theme .demo-strip a {
    color: #b7b7b7;
    margin-right: 1.1rem;
}

    .mohesr-theme .demo-strip a:hover, .mohesr-theme .demo-strip a.current {
        color: #fff;
    }

.mohesr-theme .demo-strip .tag {
    color: var(--green-bright);
    font-weight: 700;
    margin-right: .4rem;
}
/* ===== Page shell ===== */
.mohesr-theme .page-shell {
    padding: 2.5rem 0 4rem;
}

.mohesr-theme .page-title {
    font-size: 2rem;
    margin-bottom: 1.75rem;
}

    .mohesr-theme .page-title i {
        color: var(--blue);
        font-size: 1rem;
        vertical-align: 2px;
        margin-left: .4rem;
    }

.mohesr-theme .eyebrow {
    font-size: .78rem;
    color: var(--muted);
    text-transform: none;
    margin-bottom: .35rem;
}
/* ===== Cards / panels ===== */
.mohesr-theme .panel {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(16,24,40,.04);
}

.mohesr-theme .panel-pad {
    padding: 1.5rem;
}

.mohesr-theme .help-card a {
    font-weight: 500;
}

.mohesr-theme .help-card span {
    /*color: var(--blue);*/
}

.mohesr-theme .help-card .help-item:hover {
    background-color: #e8f4fd;
}

.mohesr-theme .help-card .help-item i {
    width: 20px;
    color: var(--ink);
    margin-top: 3px;
}

.mohesr-theme .help-card .help-item:last-child {
    margin-bottom: 0;
}
/* ===== Stepper (vertical, wizard) ===== */
.mohesr-theme .v-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .mohesr-theme .v-steps li {
        position: relative;
        padding: 0 0 2.1rem 2.6rem;
        font-weight: 600;
        color: #9ca3af;
    }

        .mohesr-theme .v-steps li:last-child {
            padding-bottom: 0;
        }

        .mohesr-theme .v-steps li::before {
            content: '';
            position: absolute;
            left: 11px;
            top: 26px;
            bottom: 0;
            width: 2px;
            background: var(--line);
        }

        .mohesr-theme .v-steps li:last-child::before {
            display: none;
        }

    .mohesr-theme .v-steps .step-dot {
        position: absolute;
        left: 0;
        top: 0;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 2px solid var(--line);
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .7rem;
        color: #9ca3af;
        font-weight: 700;
    }

    .mohesr-theme .v-steps li.done .step-dot {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }

    .mohesr-theme .v-steps li.done {
        color: var(--ink);
        font-weight: 500;
    }

    .mohesr-theme .v-steps li.active .step-dot {
        background: var(--green-bright);
        border-color: var(--green-bright);
        color: #fff;
    }

    .mohesr-theme .v-steps li.active {
        color: var(--ink);
    }

    .mohesr-theme .v-steps li.final a {
        color: var(--gold);
        font-weight: 600;
    }
/* ===== Numbered steps (vendor login intro) ===== */
.mohesr-theme .n-steps {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

    .mohesr-theme .n-steps li {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: .75rem 0;
        font-weight: 600;
    }

        .mohesr-theme .n-steps li .num {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 1px solid var(--line);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .85rem;
            color: var(--ink);
            flex-shrink: 0;
        }
/* ===== Form ===== */
.mohesr-theme .field-label {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
    font-size: 1.1rem;
    margin-bottom: .4rem;
    display: block;
}

    .mohesr-theme .field-label.link-style {
        color: var(--blue);
    }

    .mohesr-theme .field-label .req {
        color: var(--red);
    }

    .mohesr-theme .field-label i.info {
        color: var(--blue);
        font-size: .78rem;
        margin-left: .25rem;
    }

.mohesr-theme .form-control, .mohesr-theme .form-select {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .65rem .85rem;
    font-size: .95rem;
}

    .mohesr-theme .form-control:focus, .mohesr-theme .form-select:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(26,86,255,.12);
    }

.mohesr-theme .underline-input {
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: .35rem .1rem;
    background: transparent;
}

    .mohesr-theme .underline-input:focus {
        box-shadow: none;
        border-bottom-color: var(--blue);
    }
/*.form-section-title{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1.4rem; }
.form-section-title h5{ display:flex; align-items:center; gap:.6rem; margin:0; font-size:1.05rem; }
.form-section-title .edit-link{ color:var(--blue); font-size:.85rem; font-weight:600; }*/
.mohesr-theme .file-row {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .65rem .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .9rem;
    color: var(--muted);
}

    .mohesr-theme .file-row.filled {
        color: var(--ink);
    }

    .mohesr-theme .file-row .fname {
        display: flex;
        align-items: center;
        gap: .6rem;
    }

.mohesr-theme .hint-text {
    font-size: .82rem;
    color: var(--blue);
    margin-bottom: .5rem;
}

.mohesr-theme .helper-text {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: .5rem;
}
/* ===== Buttons ===== */
.mohesr-theme .btn-primary-blue {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    font-weight: 600;
    padding: .65rem 1.6rem;
    border-radius: 8px;
}

    .mohesr-theme .btn-primary-blue:hover {
        background: var(--blue-dark);
        border-color: var(--blue-dark);
        color: #fff;
    }

    .mohesr-theme .btn-primary-blue:disabled {
        background: #d0d0d0;
        border-color: #d0d0d0;
    }

.mohesr-theme .btn-outline-ink {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    padding: .65rem 1.4rem;
    border-radius: 8px;
}

    .mohesr-theme .btn-outline-ink:hover {
        background: #f7f7f7;
        color: var(--ink);
    }

.mohesr-theme .btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    font-weight: 700;
    padding: .75rem 1.5rem;
    border-radius: 8px;
}

    .mohesr-theme .btn-gold:hover {
        background: var(--gold-dark);
        border-color: var(--gold-dark);
        color: #fff;
    }

.mohesr-theme .btn-link-ink {
    color: var(--ink);
    font-weight: 600;
}

    .mohesr-theme .btn-link-ink i {
        margin-right: .4rem;
    }
/* ===== Sidebar nav (dashboard) ===== */
.mohesr-theme .dash-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .mohesr-theme .dash-nav li a {
        display: flex;
        align-items: center;
        gap: .75rem;
        padding: .9rem 1.5rem;
        color: var(--ink);
        font-weight: 500;
        border-left: 3px solid transparent;
    }

        .mohesr-theme .dash-nav li a.active {
            background: var(--blue-tint);
            border-left-color: var(--blue);
            font-weight: 700;
            color: var(--blue-dark);
        }

        .mohesr-theme .dash-nav li a:hover:not(.active) {
            background: #f7f7f7;
        }

        .mohesr-theme .dash-nav li a.text-link {
            color: var(--blue);
        }

.mohesr-theme .dash-nav-header {
    padding: 1.35rem 1.5rem .5rem;
    font-size: 1.05rem;
    font-weight: 700;
}
/* ===== Tabs (dashboard: Submitted / Drafts) ===== */
.mohesr-theme .status-tabs {
    border-bottom: 1px solid var(--line);
}

    .mohesr-theme .status-tabs .nav-link {
        color: var(--muted);
        font-weight: 600;
        border: none;
        padding: .5rem 0;
        margin-right: 2.5rem;
        border-radius: 0;
    }

        .mohesr-theme .status-tabs .nav-link.active {
            color: var(--ink);
            border-bottom: 3px solid var(--gold);
            background: none;
        }
/* ===== Application card / progress tracker ===== */
.mohesr-theme .app-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

    .mohesr-theme .app-card + .app-card {
        margin-top: 1.25rem;
    }

.mohesr-theme .progress-track {
    position: relative;
    height: 6px;
    background: var(--line);
    border-radius: 99px;
    margin: 1.75rem 0 .5rem;
}

    .mohesr-theme .progress-track .fill {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        background: var(--green);
        border-radius: 99px;
    }

    .mohesr-theme .progress-track .node {
        position: absolute;
        top: 50%;
        transform: translate(-50%,-50%);
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #fff;
        border: 3px solid var(--line);
    }

        .mohesr-theme .progress-track .node.done {
            border-color: var(--green);
        }

.mohesr-theme .progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: .66rem;
    letter-spacing: .03em;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 700;
}

    .mohesr-theme .progress-labels span.active {
        color: var(--green);
    }

.mohesr-theme .status-row {
    background: #fafafa;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
}

    .mohesr-theme .status-row.hold {
        background: var(--red-tint);
    }

.mohesr-theme .status-pill i {
    color: var(--amber);
}

.mohesr-theme .status-pill.hold i {
    color: var(--red);
}

.mohesr-theme .status-pill.verified i {
    color: var(--green);
}

.mohesr-theme .badge-soft {
    background: var(--blue-tint);
    color: var(--blue-dark);
    font-weight: 600;
    padding: .35rem .7rem;
    border-radius: 99px;
    font-size: .75rem;
}
/* ===== MOE application-journey rail ===== */
.mohesr-theme .journey-step {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .5rem 0;
    font-weight: 600;
    color: var(--muted);
    position: relative;
}

    .mohesr-theme .journey-step .jnum {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid var(--line);
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .85rem;
        flex-shrink: 0;
    }

    .mohesr-theme .journey-step.done .jnum {
        background: var(--green);
        border-color: var(--green);
        color: #fff;
    }

    .mohesr-theme .journey-step.done {
        color: var(--green);
    }

    .mohesr-theme .journey-step.active .jnum {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }

    .mohesr-theme .journey-step.active {
        color: var(--ink);
    }

.mohesr-theme .journey-rail {
    position: relative;
}

    .mohesr-theme .journey-rail::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 32px;
        bottom: 32px;
        width: 2px;
        background: var(--line);
        z-index: 0;
    }
/* ===== Package / summary box ===== */
.mohesr-theme .summary-box {
    background: #f7f7f6;
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

    /* The Package/Quantity/Price rows are a plain flex space-between with
no wrapping, so a long package name (e.g. "Educational Certificate
Verification") had nowhere to go and forced the row -- and the
whole box -- wider than its container, which is what produced the
horizontal scrollbar. Let the first column (name/label) grow and
wrap, and keep quantity/price fixed-width and on one line so they
never get squeezed into each other. Works for both the 3-column
item rows and the 2-column subtotal/VAT/total rows. */
    .mohesr-theme .summary-box > .d-flex {
        gap: .5rem;
        flex-wrap: nowrap;
    }

        .mohesr-theme .summary-box > .d-flex > span:first-child {
            flex: 1 1 auto;
            min-width: 0;
            word-break: break-word;
        }

        .mohesr-theme .summary-box > .d-flex > span:nth-child(2),
        .mohesr-theme .summary-box > .d-flex > span:last-child {
            flex: 0 0 auto;
            white-space: nowrap;
        }

            .mohesr-theme .summary-box > .d-flex > span:nth-child(2):not(:last-child) {
                min-width: 60px;
                text-align: center;
            }

        .mohesr-theme .summary-box > .d-flex > span:last-child {
            min-width: 90px;
            text-align: end;
        }

/* ===== Login page ===== */
.mohesr-theme .moe-crest {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg,#c9a24b,#8a6a25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.mohesr-theme .uae-pass-btn {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .9rem;
    background: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}

.mohesr-theme .divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--muted);
    font-size: .85rem;
    margin: 1.75rem 0;
}

    .mohesr-theme .divider-text::before, .mohesr-theme .divider-text::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--line);
    }

.mohesr-theme .illustration-wrap {
    background: #fbfbfa;
    border-radius: var(--radius-lg);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ===== Vendor UAE-Pass card (individual/corporate tabs) ===== */
.mohesr-theme .pill-tabs {
    border-bottom: 1px solid var(--line);
}

    .mohesr-theme .pill-tabs .nav-link {
        color: var(--muted);
        font-weight: 600;
        border: none;
        padding: .6rem 0;
        margin-right: 2.5rem;
        border-radius: 0;
    }

        .mohesr-theme .pill-tabs .nav-link.active {
            color: var(--ink);
            border-bottom: 3px solid var(--gold);
            background: none;
        }

.mohesr-theme .uae-pass-tip {
    background: var(--amber-tint);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: .82rem;
}

.mohesr-theme .fingerprint-icon {
    font-size: 2.4rem;
    color: var(--ink);
}
/* ===== Modal-style overlay pages (for wizard modals shown on MOE site) ===== */
.mohesr-theme .overlay-bg {
    background: #57606f;
    min-height: 100vh;
    padding: 3rem 1rem;
}

    .mohesr-theme .overlay-bg .moe-topbar, .mohesr-theme .overlay-bg .moe-navbar {
        opacity: .35;
        pointer-events: none;
    }

.mohesr-theme .modal-card {
    max-width: 700px;
    margin: 2rem auto 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: 2.1rem;
    position: relative;
}

    .mohesr-theme .modal-card .close-x {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        color: var(--blue);
        font-size: 1.2rem;
        cursor: pointer;
    }

    .mohesr-theme .modal-card h3 {
        color: var(--blue);
    }

        .mohesr-theme .modal-card h3.ink {
            color: var(--ink);
        }
/* ===== Service landing page (public gov page) ===== */
.mohesr-theme .svc-hero-stat {
    text-align: center;
}

    .mohesr-theme .svc-hero-stat i {
        font-size: 1.1rem;
        color: var(--ink);
        margin-bottom: .4rem;
        display: block;
    }

.mohesr-theme .accordion-item {
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: .75rem;
    border: 1px solid var(--line) !important;
}

.mohesr-theme .accordion-button {
    font-weight: 600;
}

    .mohesr-theme .accordion-button:not(.collapsed) {
        background: #fff;
        color: var(--ink);
        box-shadow: none;
    }

    .mohesr-theme .accordion-button:focus {
        box-shadow: none;
    }

.mohesr-theme .sidebar-cta {
    background: #1b2531;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    color: #fff;
}

    .mohesr-theme .sidebar-cta a {
        color: #fff;
    }

.mohesr-theme .required-docs-box {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.mohesr-theme .footer-gov {
    background: #2a3342;
    color: #c7ccd6;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

    .mohesr-theme .footer-gov h6 {
        color: #fff;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .mohesr-theme .footer-gov a {
        color: #c7ccd6;
        display: block;
        margin-bottom: .5rem;
        font-size: .88rem;
    }

        .mohesr-theme .footer-gov a:hover {
            color: #fff;
        }

.mohesr-theme .footer-bottom {
    background: #20283544;
    border-top: 1px solid #3a4456;
    padding: 1rem 0;
    font-size: .82rem;
}

.mohesr-theme footer.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0;
    font-size: .85rem;
    color: var(--muted);
}

    .mohesr-theme footer.site-footer a {
        color: var(--gold);
        margin-left: 1.25rem;
        font-weight: 500;
    }
/* ── Wrapper ───────────────────────────────────────────────── */
.mohesr-theme .govpass-page-wrapper {
    background: var(--page-bg);
    padding: 1.75rem 0 3rem;
}
/* ── Left column ────────────────────────────────────────────── */
.mohesr-theme .govpass-page-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: .35rem;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.mohesr-theme .govpass-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 12px;
    font-family: serif;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}

.mohesr-theme .govpass-intro-text {
    font-size: .9rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

    .mohesr-theme .govpass-intro-text strong {
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
    }
/* Steps */
.mohesr-theme .govpass-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mohesr-theme .govpass-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: var(--text-dark);
    font-weight: 600;
    padding: .45rem 0;
}

.mohesr-theme .govpass-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* Timeline note */
.mohesr-theme .govpass-note {
    font-size: .85rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-top: rem;
    margin-bottom: 2rem;
    padding: 12px 14px;
    background: #e8f4fd;
    border-inline-start: 3px solid var(--primary-color);
    border-radius: 0 6px 6px 0;
}

.mohesr-theme [dir="rtl"] .govpass-note {
    border-radius: 6px 0 0 6px;
}
/* ── Help card — compact width matching screenshot ───────────── */
.mohesr-theme .govpass-help-card {
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: .85rem 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    margin-bottom: 1.25rem;
}

.mohesr-theme .govpass-help-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .mohesr-theme .govpass-help-links a {
        display: flex;
        align-items: center;
        gap: .45rem;
        font-size: .9rem;
        color: var(--primary-color);
        text-decoration: none;
        white-space: nowrap;
        transition: opacity .15s;
        line-height: 2rem;
    }

        .mohesr-theme .govpass-help-links a:hover {
            opacity: .72;
        }

    .mohesr-theme .govpass-help-links i {
        width: 13px;
        text-align: center;
        font-size: .9rem;
    }
/* ── Video player ────────────────────────────────────────────── */
.mohesr-theme .govpass-video-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    background: #111;
    line-height: 0;
}

    .mohesr-theme .govpass-video-wrap video {
        width: 100%;
        display: block;
        aspect-ratio: 16/9;
        object-fit: cover;
        max-height: 400px;
    }
/* ── Right column — card ─────────────────────────────────────── */
.mohesr-theme .govpass-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    overflow: hidden;
}
/* Tabs */
.mohesr-theme .govpass-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.mohesr-theme .govpass-tab {
    padding: 13px 0;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-muted);
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    transition: color .15s;
    font-family: inherit;
}

    .mohesr-theme .govpass-tab.active {
        color: var(--primary-color);
    }

        .mohesr-theme .govpass-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2.5px;
            background: var(--primary-color);
            border-radius: 2px 2px 0 0;
        }
/* Card body */
.mohesr-theme .govpass-card-body {
    padding: 2rem;
}
/* UAE eligibility */
.mohesr-theme .govpass-eligibility {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: center;
}

    .mohesr-theme .govpass-eligibility strong {
        color: var(--text-dark);
    }

.mohesr-theme .frm-govpass {
    display: flex;
    align-items: center;
    flex-direction: column;
}
/* ── GOV PASS button ─────────────────────────────────────────── */
/* Matches DataFlow: white bg, dark border, dark text, inverts on hover */
.mohesr-theme .btn-govpass {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    width: 320px;
    padding: 13px 20px !important;
    background: #fff !important;
    color: #212529 !important;
    border: 2.5px solid #75797c !important;
    border-radius: 15px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease !important;
    text-decoration: none !important;
    font-family: inherit !important;
    letter-spacing: -.2px;
    margin: 1rem 0;
}

    .mohesr-theme .btn-govpass:hover, .mohesr-theme .btn-govpass:focus {
        background: #f5f5f5 !important;
        border-color: #212529 !important;
    }

.mohesr-theme .govpass-icon {
    transition: filter .2s ease;
}
/* GOV PASS footer links */
.mohesr-theme .govpass-footer {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

    .mohesr-theme .govpass-footer p {
        font-size: .82rem;
        color: var(--text-muted);
        margin: 0;
    }

    .mohesr-theme .govpass-footer a {
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
    }

        .mohesr-theme .govpass-footer a:hover {
            text-decoration: underline;
        }
/* ── Standard form ───────────────────────────────────────────── */
.mohesr-theme .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mohesr-theme .forgot-password {
    font-size: .83rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap !important
}

    .mohesr-theme .forgot-password:hover {
        text-decoration: underline;
    }

.mohesr-theme .btn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
    font-family: inherit;
}

    .mohesr-theme .btn-auth:hover {
        background: var(--primary-darker);
        color: #fff;
    }
/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .mohesr-theme .govpass-help-card {
        display: block;
        margin-bottom: 1rem;
    }

    .mohesr-theme .govpass-card-body {
        padding: 1.25rem 1rem 1rem;
    }

    .mohesr-theme .govpass-page-wrapper {
        padding: 1.25rem 0 2rem;
    }
}

@media (max-width: 991px) {
    .mohesr-theme .moe-utility, .mohesr-theme .moe-navbar a:not(:first-child) {
        display: none;
    }
}

@media (min-width: 1400px) {
    .mohesr-theme .container, .mohesr-theme .container-lg, .mohesr-theme .container-md, .mohesr-theme .container-sm, .mohesr-theme .container-xl, .mohesr-theme .container-xxl {
        max-width: 1320px !important;
    }
}
/* ===== [2/3] mohesr-theme.css ===== */
/* =========================================================
   Mohesr design system -- scoped copy of moe-vendor-html-site/assets/style.css
   Every selector is scoped under .mohesr-theme so this file is safe to
   load globally without affecting any other client's styling (there is
   a real collision otherwise -- .journey-step already exists, with
   different rules, in assets/css/style.css used by every other client).
   Wrap mohesr page markup in <div class="mohesr-theme"> to activate it.
   ========================================================= */
/* =========================================================
   Degree Verification & Certificate of Recognition
   Shared design-system stylesheet (Bootstrap 5 + Font Awesome)
   ========================================================= */

/* ===== breadcrumb strip for demo navigation between pages ===== */
.mohesr-theme .demo-strip {
    background: #161616;
    color: #b7b7b7;
    font-size: .8rem;
    padding: .55rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}
/* ===== Vendor site header ===== */
.mohesr-theme .site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
}

    .mohesr-theme .site-header .brand-title {
        font-size: 1.15rem;
        font-weight: 700;
        margin: 0;
    }

    .mohesr-theme .site-header .brand-sub {
        font-size: .8rem;
        color: var(--muted);
        max-width: 520px;
        margin: .15rem 0 0;
    }

.mohesr-theme .avatar-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--ink);
}

.mohesr-theme .accent-star {
    color: var(--green-bright);
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(34,197,94,.35));
}
/* ===== MOE gov site header ===== */
.mohesr-theme .moe-topbar {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.mohesr-theme .moe-crest-icon {
    width: 48px;
    height: 56px;
    border-radius: 6px;
    background: linear-gradient(135deg,#c9a24b,#8a6a25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.mohesr-theme .moe-title {
    color: var(--gold);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.3;
    margin: 0;
    letter-spacing: .02em;
}

.mohesr-theme .moe-utility a {
    color: var(--ink);
    font-size: .85rem;
    font-weight: 500;
    margin-left: 1.5rem;
}

    .mohesr-theme .moe-utility a i {
        margin-right: .35rem;
        color: var(--ink);
    }

.mohesr-theme .moe-navbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .85rem 0;
}

    .mohesr-theme .moe-navbar a {
        color: var(--ink);
        font-weight: 500;
        font-size: .92rem;
        margin-right: 2rem;
    }

        .mohesr-theme .moe-navbar a:first-child {
            margin-right: 2.2rem;
        }

.mohesr-theme .btn-accessibility {
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 8px;
    padding: .4rem 1rem;
    font-weight: 600;
    font-size: .85rem;
}

.mohesr-theme .breadcrumb-strip {
    font-size: .85rem;
    color: var(--muted);
    padding: .9rem 0;
}

    .mohesr-theme .breadcrumb-strip a {
        color: var(--muted);
    }
/* ===== Page shell ===== */
/* ===== Cards / panels ===== */
.mohesr-theme .help-card .help-item {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: .9rem .5rem !important;
}
/* ===== Stepper (vertical, wizard) ===== */
/* ===== Numbered steps (vendor login intro) ===== */
/* ===== Form ===== */
.mohesr-theme .form-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

    .mohesr-theme .form-section-title h5 {
        display: flex;
        align-items: center;
        gap: .6rem;
        margin: 0;
        padding-bottom: .7rem;
        font-size: 1.15rem;
    }

    .mohesr-theme .form-section-title .edit-link {
        color: var(--blue);
        font-size: .85rem;
        font-weight: 600;
    }
/* ===== Buttons ===== */
/* ===== Sidebar nav (dashboard) ===== */
/* ===== Tabs (dashboard: Submitted / Drafts) ===== */
/* ===== Application card / progress tracker ===== */
/* ===== MOE application-journey rail ===== */
/* ===== Package / summary box ===== */
/* ===== Login page ===== */
/* ===== Vendor UAE-Pass card (individual/corporate tabs) ===== */
/* ===== Modal-style overlay pages (for wizard modals shown on MOE site) ===== */
/* ===== Service landing page (public gov page) ===== */
/* ===== [3/3] mohesr-wizard.css ===== */
/* =========================================================
   Mohesr wizard reskin -- AddEditApplicationMohesr.cshtml only
   =========================================================
   or JS in the wizard. The wizard's steps (personal info, education, etc.)
   are rendered dynamically from `form.sections` in the database via a single
   shared Vue template -- there's no separate "Personal Info" or "Education"
   markup block to redesign individually. Instead, this reskins the generic
   classes that every dynamic section/field already renders with
   (.wizard-container, .step-item, .form-label, .form-control, .btn-next, ...),
   so the visual result matches the mohesr design system for however many
   sections a given Form is configured with, without risking the live
   OCR/upload/validation/conditional-field logic baked into that template.

   Scoped under .mohesr-theme, same as mohesr-theme.css, so this cannot
   affect any other client or any other view.

   Covers: wizard shell + stepper sidebar + dynamic field rendering
   (in practice: whichever sections are configured as steps 1-2 onward).
   NOT yet covered: the LOA / Review / Payment panels further down this same
   file (id="loa", id="review", id="payment") -- those are fixed markup
   blocks matching wizard-application-summary.html / wizard-payment.html and
   are the next piece of work.
   ========================================================= */
.mohesr-theme.content-wrapper {
    background: var(--page-bg);
}

.mohesr-theme .breadcrumb-container {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .9rem 0;
}

    .mohesr-theme .breadcrumb-container .breadcrumb-item,
    .mohesr-theme .breadcrumb-container a {
        color: var(--muted);
        font-size: .85rem;
    }

.mohesr-theme .page-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1.75rem 0;
}

    .mohesr-theme .page-header h1 {
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: -0.01em;
        color: var(--ink);
    }

.mohesr-theme .wizard-section {
    background: var(--page-bg);
    padding: 2.5rem 0 4rem;
}

.mohesr-theme .wizard-container.bs-stepper {
    background: transparent;
    border: none;
    box-shadow: none;
}

.mohesr-theme .wizard-body {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
/* Wraps the steps panel + help card as one stacked left column (260px),
   matching the design reference's two-panel sidebar (wizard-personal-info.html). */
.mohesr-theme .wizard-sidebar-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 0 0 260px;
}
/* ===== Stepper sidebar -- mirrors .v-steps from the design reference ===== */
.mohesr-theme .wizard-steps.wizard-steps-vertical {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(16,24,40,.04);
    padding: 1.75rem 1.5rem;
    list-style: none;
    margin-bottom: 1.5rem;
}

.mohesr-theme .wizard-steps-vertical .step-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 0 0 1.9rem 0;
    opacity: 1;
}

    .mohesr-theme .wizard-steps-vertical .step-item::after {
        content: '';
        position: absolute;
        left: 11px;
        top: 26px;
        bottom: 0;
        width: 2px;
        background: var(--line);
    }

    /* RTL: in Arabic mode the step circles render on the right side of each
       row, but the connector line above stays hardcoded to left:11px
       regardless of direction -- misaligning it from the circles it's meant
       to visually connect. */
    .body-ar .mohesr-theme .wizard-steps-vertical .step-item::after {
        left: auto;
        right: 11px;
    }

    .mohesr-theme .wizard-steps-vertical .step-item:last-child::after {
        display: none;
    }

.mohesr-theme .step-circle-vertical {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #fff;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    z-index: 1;
}

.mohesr-theme .step-item.active .step-circle-vertical {
    background: var(--green-bright);
    border-color: var(--green-bright);
    color: #fff;
}

.mohesr-theme .step-item.completed .step-circle-vertical {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
/* Decorative final row ("Get degree verification results") -- not a real
   step, just an end-state label matching wizard-personal-info.html. */
.mohesr-theme .step-item.final {
    cursor: default;
    pointer-events: none;
}

    .mohesr-theme .step-item.final .step-circle-vertical {
        background: transparent;
        border-color: var(--line);
    }

    .mohesr-theme .step-item.final .step-label-vertical,
    .mohesr-theme .step-item.final .step-label-vertical a {
        color: var(--gold);
        font-weight: 600;
        pointer-events: auto;
    }

.mohesr-theme .step-label-vertical {
    font-weight: 600;
    font-size: .92rem;
    color: #9ca3af;
}

.mohesr-theme .step-item.active .step-label-vertical,
.mohesr-theme .step-item.completed .step-label-vertical {
    color: var(--ink);
}

.mohesr-theme .step-desc-vertical {
    font-size: .78rem;
    color: var(--muted);
}
/* ===== Step panel / content card ===== */
.mohesr-theme .wizard-content-vertical {
    flex: 1 1 auto;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(16,24,40,.04);
    padding: 2rem;
}

.mohesr-theme .form-step-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

    .mohesr-theme .form-step-header h3 i {
        color: var(--blue);
        font-size: 1rem;
    }

.mohesr-theme .form-section-title h4 {
    font-size: 1.05rem;
    color: var(--ink) !important;
}

.mohesr-theme .note-info {
    background: var(--blue-tint);
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .85rem;
    color: var(--blue-dark) !important;
}
/* ===== Field controls ===== */
.mohesr-theme .form-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink) !important;
    margin-bottom: .4rem;
}

.mohesr-theme .form-control,
.mohesr-theme .form-select {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .65rem .85rem;
    font-size: .95rem;
}

    .mohesr-theme .form-control:focus,
    .mohesr-theme .form-select:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(26,86,255,.12);
    }

.mohesr-theme .file-preview-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
/* ===== Buttons ===== */
.mohesr-theme .btn-primary,
.mohesr-theme .btn-next {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

    .mohesr-theme .btn-primary:hover,
    .mohesr-theme .btn-next:hover {
        background: var(--blue-dark);
        border-color: var(--blue-dark);
    }

.mohesr-theme .btn-outline-secondary,
.mohesr-theme .btn-prev,
.mohesr-theme .btn-label-secondary {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    border-radius: 8px;
}

    .mohesr-theme .btn-outline-secondary:hover,
    .mohesr-theme .btn-prev:hover {
        background: #f7f7f7;
        color: var(--ink);
    }

.mohesr-theme .btn-outline-primary,
.mohesr-theme .btn-outline-dark {
    background: #fff;
    border: 1px solid var(--blue);
    color: var(--blue);
    font-weight: 600;
    border-radius: 8px;
}

    .mohesr-theme .btn-outline-primary:hover,
    .mohesr-theme .btn-outline-dark:hover {
        background: var(--blue-tint);
    }

@media (max-width: 991px) {
    .mohesr-theme .wizard-body {
        flex-direction: column;
    }

    .mohesr-theme .wizard-sidebar-vertical {
        flex: 1 1 auto;
        width: 100%;
    }
}
/* =========================================================
   Added per request: match v-steps reference styling more closely,
   restyle wizard nav buttons (Go back / Next split left-right, Save
   and continue later link), and style the new subsection headers
   (Personal details / Passport details).
   ========================================================= */
/* The active step was showing a light-blue background box behind
   "Personal information" that doesn't exist in the .v-steps reference
   (which only changes the circle color + text color, no background) --
   forcing it off here since neither mohesr-theme.css nor mohesr-wizard.css
   defines this background, so it's coming from somewhere outside those
   two files (likely bs-stepper's own default CSS or a Bootstrap utility
   class in the markup). */
.mohesr-theme .wizard-steps-vertical .step-item.active {
    background: transparent !important;
    box-shadow: none !important;
}

.mohesr-theme .wizard-subsection-header {
    margin: 1.25rem 0 .5rem;
}

    .mohesr-theme .wizard-subsection-header h5 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--ink);
        display: flex;
        align-items: center;
        gap: .5rem;
        margin-top: .9rem;
        margin-bottom: 0;
    }

        .mohesr-theme .wizard-subsection-header h5 i {
            color: var(--text-dark);
            font-size: 1.05rem;
        }

.mohesr-theme .wizard-nav-block .save-for-later-link {
    color: var(--blue);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}

    .mohesr-theme .wizard-nav-block .save-for-later-link:hover {
        text-decoration: underline;
    }

.mohesr-theme .wizard-nav-block .go-back-link {
    color: var(--muted);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .mohesr-theme .wizard-nav-block .go-back-link:hover {
        color: var(--ink);
    }
/* The generic "Multi CHECKBOX field" Vue template wraps every checkbox-list field in a
   bootstrap .card (border/shadow/padding) with a .card-title heading using the FIELD's
   own label -- for mohesr's single-checkbox fields (e.g. "different name on diploma"),
   that heading duplicates/restates the checkbox's own OPTION label right below it (two
   slightly different sentences for one checkbox). The reference has no heading here at
   all, just the plain checkbox line -- hiding the card box AND the heading, scoped to
   mohesr only, without touching the shared Vue template other clients also use. */
.mohesr-theme .card.border-light.shadow-sm.p-4 {
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

    .mohesr-theme .card.border-light.shadow-sm.p-4 .card-title {
        display: none;
    }

    .mohesr-theme .card.border-light.shadow-sm.p-4 .form-check-label {
        color: var(--ink) !important;
        font-weight: 400 !important;
    }


/* =========================================================
   MOHESR - Corporate Registration
   Scoped only to RegisterCorporate page
   ========================================================= */

.mohesr-register-page {
    width: 100%;
    max-width: 950px !important;
    margin: 30px auto 50px;
    padding: 2rem;
    background: white;
}

    /* Page Header */
    .mohesr-register-page > .page-header,
    .mohesr-register-page .register-header {
        text-align: center;
        margin-bottom: 32px;
    }

        .mohesr-register-page .register-header h1,
        .mohesr-register-page .register-header h2 {
            margin-bottom: 8px;
            font-weight: 700;
        }

        .mohesr-register-page .register-header p {
            margin: 0;
            opacity: .75;
            font-size: 15px;
        }

    /* Sections */
    .mohesr-register-page .card {
        width: 100%;
        border-radius: 16px;
        margin-bottom: 24px;
        margin-top: 24px;
    }

    /* Section title */
    .mohesr-register-page .card-header {
        padding: 20px 24px;
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }

        .mohesr-register-page .card-header h3,
        .mohesr-register-page .card-header h4 {
            margin: 0;
            font-size: 18px;
            font-weight: 700;
        }

    /* Card body */
    .mohesr-register-page .card-body {
        padding: 28px 24px;
    }

    /* Form layout */
    .mohesr-register-page .form-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 24px;
    }

    /* Individual field */
    .mohesr-register-page .form-group {
        width: 100%;
    }

    /* Full width field */
    .mohesr-register-page .full-width {
        grid-column: 1 / -1;
    }

    /* Labels */
    .mohesr-register-page label {
        margin-bottom: 7px;
        font-weight: 600;
        font-size: 14px;
    }

    /* Inputs */
    .mohesr-register-page .form-control,
    .mohesr-register-page .form-select {
        width: 100%;
        min-height: 46px;
        border-radius: 9px;
        padding: 10px 14px;
        font-size: 14px;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        .mohesr-register-page .form-control:focus,
        .mohesr-register-page .form-select:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
        }

    /* Select2 */
    .mohesr-register-page
    .select2-container--default
    .select2-selection--single {
        height: 46px;
        border-radius: 9px;
    }

        .mohesr-register-page
        .select2-container--default
        .select2-selection--single
        .select2-selection__rendered {
            line-height: 44px;
            padding-left: 14px;
        }

        .mohesr-register-page
        .select2-container--default
        .select2-selection--single
        .select2-selection__arrow {
            height: 44px;
        }


    /* Password */
    .mohesr-register-page .input-group.input-group-merge {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: 100%;
    }

    .mohesr-register-page .input-group-merge .form-control {
        width: 100% !important;
        flex: 1 1 auto;
        height: 42px;
    }

    .mohesr-register-page .input-group-merge .input-group-text {
        width: 46px;
        min-width: 46px;
        height: 42px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0 6px 6px 0;
    }

    /* OTP row */
    .mohesr-register-page .otp-row {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
        align-items: end;
    }

    /* CAPTCHA */
    .mohesr-register-page .captcha-section {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 8px;
    }

        .mohesr-register-page .captcha-section img {
            height: 46px;
            border-radius: 8px;
        }


    /* Buttons */
    .mohesr-register-page .register-actions {
        display: flex;
        justify-content: center;
        gap: 14px;
        margin-top: 30px;
    }

        .mohesr-register-page .register-actions .btn {
            min-width: 180px;
            min-height: 46px;
            border-radius: 9px;
            font-weight: 600;
        }
    /* Create button */
    .mohesr-register-page .btn-auth {
        height: 46px;
        min-height: 46px;
        padding: 0 18px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    /* Validation */
    .mohesr-register-page .text-danger {
        font-size: 12px;
        margin-top: 5px;
    }

/* Mobile */
@media (max-width: 768px) {

    .mohesr-register-page {
        max-width: 100% !important;
        padding: 0 16px;
        margin-top: 20px;
    }

        .mohesr-register-page .form-row {
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .mohesr-register-page .full-width {
            grid-column: auto;
        }

        .mohesr-register-page .card-body {
            padding: 20px 16px;
        }

        .mohesr-register-page .captcha-section {
            flex-direction: column;
            align-items: stretch;
        }

        .mohesr-register-page .register-actions {
            flex-direction: column;
        }

            .mohesr-register-page .register-actions .btn {
                width: 100%;
            }
}

/* =========================================================
   MOHESR VERIFY OTP ONLY
   ========================================================= */

.mohesr-otp-page {
    width: 100%;
    min-height: calc(100vh - 190px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 20px;
}

.mohesr-otp-card {
    width: 100%;
    max-width: 620px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.mohesr-otp-header {
    text-align: center;
    padding: 32px 35px 24px;
    border-bottom: 1px solid #eee;
}

.mohesr-otp-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf4ff;
    color: #147dcc;
    font-size: 25px;
}

.mohesr-otp-header h2 {
    margin: 0 0 10px;
    font-size: 25px;
    font-weight: 700;
    color: #172b4d;
}

.mohesr-otp-header p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.mohesr-otp-body {
    padding: 30px 35px 28px;
}


/* Timer */

.mohesr-otp-timer {
    text-align: center;
    margin-bottom: 28px;
}

.mohesr-otp-timer-title {
    color: #172b4d;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mohesr-otp-timer-value {
    display: inline-block;
    background: #147dcc;
    color: #fff;
    padding: 7px 18px;
    border-radius: 20px;
    font-family: "Courier New", monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.mohesr-resend-link {
    display: block;
    margin-top: 12px;
    color: #147dcc;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

    .mohesr-resend-link:hover {
        text-decoration: underline;
    }

/* =========================================================
   MOHESR - Verify OTP
   ========================================================= */

.govpass-otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    direction: ltr;
}

.govpass-otp-input {
    flex: 1 1 0;
    width: 100%;
    height: 48px;
    border: 1px solid #999;
    border-radius: 4px;
    background: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .govpass-otp-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.12);
    }

    .govpass-otp-input.filled {
        border-color: #0d6efd;
    }

.govpass-otp-login-btn {
    width: 100%;
}

/* Mobile */

@media (max-width: 576px) {

    .mohesr-otp-page {
        padding: 25px 12px;
    }

    .mohesr-otp-header,
    .mohesr-otp-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mohesr-otp-inputs {
        gap: 6px;
    }

    .mohesr-otp-input {
        width: 43px;
        height: 50px;
        font-size: 19px;
    }
}

/* Receipt responsive */
@media (max-width: 767.98px) {

    #receiptModal .modal-dialog {
        width: calc(100% - 20px);
        max-width: none;
        margin: 10px auto;
    }

    #receiptModal .receipt-modal-content {
        max-height: calc(100vh - 20px);
        overflow: hidden;
    }

    #receiptModal .modal-body {
        overflow-y: auto;
        max-height: calc(100vh - 120px);
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Keep receipt columns readable */
    #receiptModal .receipt-grid,
    #receiptModal .receipt-table-body {
        min-width: 620px;
    }

    /* Horizontal scroll only for the wide content */
    #receiptModal .receipt-grid,
    #receiptModal .receipt-table-header,
    #receiptModal .receipt-table-body {
        overflow-x: auto;
    }

    #receiptModal .receipt-row,
    #receiptModal .receipt-table-header {
        min-width: 620px;
    }

    #receiptModal .receipt-row {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    #receiptModal .receipt-table-header {
        padding: 10px 12px;
        font-size: 0.78rem;
    }

    #receiptModal .receipt-total-row {
        min-width: 0;
        padding: 12px;
        font-size: 0.9rem;
    }

    #receiptModal .receipt-footer {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

.body-ar .close-x {
    left: 1.5rem !important;
    right: auto !important
}

.body-ar .wizard-steps-vertical .step-item::after {
    left: auto !important;
    right: 11px;
}

.body-ar .form-check .form-check-input {
    float: right !important;
    margin-left: .5rem !important;
}

.dropify-wrapper {
    background-color: #fff !important
}

.nav-menu .btn {
    margin-bottom: .4rem !important
}

.nav-menu .btn-outline-primary {
    padding: 7px 20px;    
}

.nav-menu .dropdown-menu {
    position: absolute !important
}


/* =========================================================
           Receipt RTL / LTR
========================================================= */
.receipt-logo {
    width: auto;
    object-fit: contain;
}

.receipt-grid {
    display: flex;
    flex-direction: column;
}

.receipt-row,
.receipt-table-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.88rem;
}

.receipt-row.header-row,
.receipt-table-header {
    background-color: #f1f3f5;
    font-weight: 700;
    color: #495057;
    border-top: 1px solid #e9ecef;
}

.receipt-row.data-row {
    background-color: #ffffff;
    color: #343a40;
    word-break: break-word;
}

.receipt-row.data-row:nth-child(even) {
    background-color: #f8f9fa;
}

.receipt-total-row {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    background-color: #f8f9fa;
    font-size: 1.05rem;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 8px 8px;
}

.receipt-rtl {
    direction: rtl;
    text-align: right;
}

.receipt-ltr {
    direction: ltr;
    text-align: left;
}

.receipt-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.receipt-ltr .receipt-footer {
    justify-content: flex-end !important;
}

.receipt-rtl .receipt-footer {
    justify-content: flex-start !important;
}