/* منع فراغ/سحب أفقي (كاروسيل، sidebar، إلخ) */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Local Laravel build — slick fallback للأقسام الأخرى (ليس سمات سياحية) */
.section-events .slick-track {
    transform: none !important;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: max-content !important;
    opacity: 1 !important;
}

.section-events .slick-slide {
    width: min(82vw, 320px) !important;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.section-events .slick-arrow {
    display: none !important;
}

.section-events .slick-list {
    overflow-x: auto !important;
    padding: 0 !important;
}

/* سمات هَيّا السياحية — كاروسيل محلي */
.section-tourist .hayya-visa-carousel {
    position: relative;
    direction: ltr;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 56px;
}

@media (max-width: 767.98px) {
    .section-tourist {
        padding-bottom: 40px !important;
    }
}

.section-tourist .hayya-visa-carousel__viewport {
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overflow-anchor: none;
}

.section-tourist.hayya-visa-carousel,
.section-tourist .hayya-visa-carousel {
    overflow-anchor: none;
}

.section-tourist .hayya-visa-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.section-tourist .hayya-visa-carousel__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: max-content;
    padding: 0 50px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    [dir="rtl"] .section-tourist .hayya-visa-carousel__track {
        padding: 0 100px;
    }
}

.section-tourist .hayya-visa-carousel__slide {
    flex: 0 0 300px;
    width: 300px;
    scroll-snap-align: center;
}

@media (min-width: 576px) {
    .section-tourist .hayya-visa-carousel__slide {
        flex: 0 0 378px;
        width: 378px;
    }
}

.section-tourist .hayya-visa-carousel__slide .tourist-slider {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.section-tourist .hayya-visa-carousel__arrow {
    position: absolute;
    bottom: 0;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-tourist .hayya-visa-carousel__arrow--prev {
    left: calc(50% - 56px);
    transform: translateX(-50%);
}

.section-tourist .hayya-visa-carousel__arrow--next {
    left: calc(50% + 56px);
    transform: translateX(-50%);
}

.section-tourist .hayya-visa-carousel__arrow--prev::before,
.section-tourist .hayya-visa-carousel__arrow--next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #8a1538;
    border-right: 2px solid #8a1538;
}

.section-tourist .hayya-visa-carousel__arrow--prev::before {
    transform: rotate(-135deg);
    margin-inline-start: 4px;
}

.section-tourist .hayya-visa-carousel__arrow--next::before {
    transform: rotate(45deg);
    margin-inline-end: 4px;
}

.section-tourist .hayya-visa-carousel__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

/* العربية (RTL) — نفس Hayya: Cairo */
html[dir="rtl"] body {
    font-family: "Cairo", sans-serif !important;
}

.sidebar-layout,
.sidebar-layout-inner,
.sidebar-layout .shadow-box,
.sidebar-layout [data-wizard-step] {
    font-family: "Cairo", sans-serif !important;
}

/* أصول المعالج الجانبي (بديل لـ /_next/static/media) */
.sidebar-layout:before {
    background-image: url(/hayya-assets/info-star-ruby.svg) !important;
}

.star-sec:before {
    background-image: url(/hayya-assets/info-star-ruby.svg) !important;
}

.sidebar-layout:after {
    -webkit-mask-image: url(/hayya-assets/grey-mask.png) !important;
    mask-image: url(/hayya-assets/grey-mask.png) !important;
    -webkit-mask-size: 650px 100% !important;
    mask-size: 650px 100% !important;
    background-color: #f1f1f1 !important;
}

.sidebar-layout .shadow-box:after {
    background-image: url(/hayya-assets/arrow-right-white.svg) !important;
}

html[dir="rtl"] .sidebar-layout .shadow-box:after {
    transform: rotate(180deg);
}

/* بطاقات «رحلتك مع هَيّا» — ظل خفيف دائماً (بدونها تختفي على خلفية بيضاء) */
.sidebar-layout .shadow-box {
    background-color: #fff !important;
    border-radius: 16px !important;
    padding: 28px 26px !important;
    min-height: 104px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
    box-sizing: border-box !important;
}

.sidebar-layout .shadow-box:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

/* «هَيّا للعبور» — شريط برتقالي على بطاقة التصريح */
.sidebar-layout .shadow-box.hayya-crossing-panel {
    border-inline-start: 4px solid #d76b00 !important;
}

/* تنقل بين خطوات المعالج — بدون انتظار transition الشريط الجانبي (0.3s) */
.sidebar-layout.sidebar-layout--instant-step,
.sidebar-layout.sidebar-layout--instant-step::before,
.sidebar-layout.sidebar-layout--instant-step::after {
    transition: none !important;
}

.sidebar-layout .shadow-box .d-flex {
    flex: 1 1 auto;
    gap: 12px;
}

.sidebar-layout .shadow-box h6 {
    font-family: "Cairo", sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #222 !important;
    line-height: 1.55 !important;
    letter-spacing: 0;
    margin: 0 !important;
    text-align: start;
}

.sidebar-layout .shadow-box:after {
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
}

.sidebar-layout .star-sec.star-sec-small,
.sidebar-layout .star-sec.star-sec-small:before {
    width: 48px !important;
    height: 48px !important;
}

.sidebar-layout .star-sec.star-sec-small img {
    width: 26px !important;
    height: 26px !important;
    top: -1px !important;
}

.sidebar-layout [data-wizard-step="journey"] > h3,
.sidebar-layout [data-wizard-step="nationality"] > h3 {
    font-family: "Cairo", sans-serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #00627b !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
}

.sidebar-layout [data-wizard-step="journey"] > p.text-center {
    font-family: "Cairo", sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: #333 !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

.sidebar-layout [data-wizard-step="journey"] .row.pt-32 {
    padding-top: 28px !important;
}

/* خطوة «رحلتك» / «هَيّا للعبور» — توسيط عمودي (بطاقتان/واحدة بدل ثلاث) */
.sidebar-layout [data-wizard-step="journey"].show,
.sidebar-layout [data-wizard-step="hayya-move"].show {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: center;
    min-height: 0;
}

.sidebar-layout [data-wizard-step="journey"] .col-md-12 > .shadow-box:last-child,
.sidebar-layout [data-wizard-step="hayya-move"] .col-md-12 > .shadow-box:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 991.98px) {
    .sidebar-layout [data-wizard-step="journey"] > h3,
    .sidebar-layout [data-wizard-step="nationality"] > h3 {
        font-size: 26px !important;
    }

    .sidebar-layout .shadow-box {
        flex-direction: column !important;
        padding: 26px 22px 22px !important;
        min-height: 128px !important;
        text-align: center;
    }

    .sidebar-layout .shadow-box .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
    }

    .sidebar-layout .shadow-box h6 {
        font-size: 16px !important;
        line-height: 1.55 !important;
        font-weight: 500 !important;
        text-align: center !important;
        max-width: 240px;
        margin-top: 4px !important;
    }

    .sidebar-layout .shadow-box .star-sec.mr-16 {
        margin-inline-end: 0 !important;
        margin-bottom: 10px !important;
    }

    .sidebar-layout .shadow-box:after {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .sidebar-layout .shadow-box h6 {
        font-size: 15px !important;
    }
}

.sidebar-layout .close-btn {
    font-size: 0 !important;
    color: transparent !important;
}

/* خطوة الجنسية — مطابق لـ hayya.qa (react-select → combobox محلي) */
.sidebar-layout [data-wizard-step="nationality"] .form-label {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #222 !important;
    margin-bottom: 10px !important;
}

@media (max-width: 767.98px) {
    .sidebar-layout [data-wizard-step="nationality"] .form-label {
        font-size: 14px !important;
    }
}

.sidebar-layout [data-wizard-step="nationality"] > p.text-center {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #333 !important;
    line-height: 1.55 !important;
}

.sidebar-layout .hayya-nationality-dropdown {
    position: relative;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.sidebar-layout .hayya-nationality-dropdown__control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.sidebar-layout .hayya-nationality-dropdown__value {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    color: #222;
    text-align: start;
}

.sidebar-layout .hayya-nationality-dropdown__placeholder {
    color: #6c757d;
}

.sidebar-layout .hayya-nationality-dropdown__chevron {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url(/hayya-assets/down-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px auto;
    opacity: 0.7;
}

.sidebar-layout .hayya-nationality-dropdown__menu {
    position: absolute;
    z-index: 20;
    inset-inline: 0;
    top: calc(100% + 6px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px;
    max-height: min(480px, 58vh);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hayya-nationality-dropdown__menu--portal {
    position: fixed !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    background: #fff !important;
    border-radius: 8px !important;
    padding: 8px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16) !important;
    z-index: 10060 !important;
}

.hayya-nationality-dropdown__menu--portal[hidden] {
    display: none !important;
}

.hayya-nationality-dropdown__menu--portal .hayya-nationality-dropdown__search {
    font-size: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
}

.hayya-nationality-dropdown__menu--portal .hayya-nationality-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.hayya-nationality-dropdown__menu--portal .hayya-nationality-dropdown__list li {
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    color: #222;
}

.hayya-nationality-dropdown__menu--portal .hayya-nationality-dropdown__list li:hover,
.hayya-nationality-dropdown__menu--portal .hayya-nationality-dropdown__list li:focus {
    background: rgba(215, 107, 0, 0.08);
}

.sidebar-layout .hayya-nationality-dropdown__menu[hidden] {
    display: none !important;
}

.sidebar-layout .hayya-nationality-dropdown__search {
    font-size: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.sidebar-layout .hayya-nationality-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(400px, calc(58vh - 56px));
    -webkit-overflow-scrolling: touch;
}

.sidebar-layout .hayya-nationality-dropdown__list li {
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    color: #222;
}

.sidebar-layout .hayya-nationality-dropdown__list li:hover,
.sidebar-layout .hayya-nationality-dropdown__list li:focus {
    background: rgba(215, 107, 0, 0.08);
}

.sidebar-layout #accordionVisa .accordion-button {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    box-shadow: none;
}

.sidebar-layout #accordionVisa .accordion-body {
    font-size: 15px;
    line-height: 1.55;
    color: #444;
}

.sidebar-layout #accordionVisa .accordion-body .btn-ruby {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
}

.sidebar-layout .hayya-results-subtitle[hidden] {
    display: none !important;
}

.hayya-followup-block[hidden],
.hayya-wizard-loader[hidden] {
    display: none !important;
}

.hayya-wizard-loader {
    padding: 24px 0 8px;
    color: #1b363f;
    font-weight: 600;
}

.sidebar-layout.active .sidebar-layout-inner {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-height: 100dvh;
}

.sidebar-layout [data-wizard-step="nationality"].show {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.sidebar-layout [data-wizard-step="nationality"].show .form1 {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding-inline-end: 12px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.sidebar-layout [data-wizard-step="nationality"].show .form1::-webkit-scrollbar {
    width: 6px;
    background-color: #eee;
}

.sidebar-layout [data-wizard-step="nationality"].show .form1::-webkit-scrollbar-thumb {
    border-radius: 12px;
    background: #d76b00;
}

.sidebar-layout .hayya-followup-field {
    border: 0;
    margin: 0 0 36px !important;
    padding: 0;
    min-width: 0;
}

.sidebar-layout .hayya-followup-field:not([hidden]):last-of-type {
    margin-bottom: 24px !important;
}

.hayya-followup-field[hidden] {
    display: none !important;
}

.hayya-followup-legend {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #222 !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
    float: none;
    width: 100%;
}

.sidebar-layout .hayya-yes-no {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 44px;
    width: 100%;
    padding-inline-start: 2px;
}

.sidebar-layout .hayya-followup-legend,
.sidebar-layout .hayya-followup-field > .form-label.hayya-followup-legend {
    display: block;
    width: 100%;
    margin-bottom: 18px !important;
}

.sidebar-layout .hayya-form-check {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 !important;
    padding: 4px 0;
    min-height: 0;
}

.sidebar-layout .hayya-form-check .form-check-input {
    float: none;
    margin: 0 !important;
    width: 20px;
    height: 20px;
    border: 2px solid #b8b8b8;
    background-color: #fff;
    cursor: pointer;
    box-shadow: none !important;
}

.sidebar-layout .hayya-form-check .form-check-input:checked {
    background-color: #d76b00;
    border-color: #d76b00;
}

.sidebar-layout .hayya-form-check .form-check-input:focus {
    border-color: #d76b00;
    box-shadow: 0 0 0 0.2rem rgba(215, 107, 0, 0.18) !important;
}

.sidebar-layout .hayya-form-check .form-check-label {
    font-size: 16px;
    font-weight: 400;
    color: #222;
    line-height: 1.4;
    cursor: pointer;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.hayya-wizard-confirm {
    margin-top: 20px;
}

.sidebar-layout .hayya-followup-block {
    padding-top: 8px;
}

.hayya-eligible-card .star-sec.star-sec-small {
    margin-inline: auto;
}

.hayya-results-accordion.hayya-results-accordion--idle {
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.hayya-results-accordion:not(.hayya-results-accordion--idle) {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.sidebar-layout #accordionVisa .accordion-collapse {
    transition: none !important;
}

.hayya-results-accordion .hayya-info-bullet {
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.hayya-results-accordion .hayya-info-bullet--pending {
    opacity: 0;
    transform: translateY(4px);
}

.hayya-results-accordion .hayya-info-bullet--shown {
    opacity: 1;
    transform: translateY(0);
}

.hayya-recommended {
    color: #222;
    font-size: 14px;
}

.hayya-results-accordion .accordion-button {
    font-weight: 600;
}

.hayya-results-apply-footer {
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.45s ease;
}

.hayya-results-apply-footer--visible {
    margin-top: 20px;
    max-height: 120px;
    opacity: 1;
}

.hayya-results-apply-footer .hayya-visa-apply-btn--footer {
    width: 100%;
    will-change: transform;
}

.hayya-about-application-page {
    padding-bottom: 80px;
}

.hayya-about-application-page .page-top-container {
    background-color: #fff;
}

.hayya-about-application-page .dashboard-about-application.section {
    padding-bottom: 48px;
}

.hayya-about-application-page .white-box {
    padding: 40px 36px 44px;
}

.hayya-about-application-page .hayya-about-app-head {
    margin-bottom: 32px !important;
}

.hayya-about-application-page .hayya-about-section-title {
    line-height: 1.4;
    padding-inline-end: 8px;
}

@media (min-width: 992px) {
    .hayya-about-application-page .hayya-about-app-head .col-lg-8 {
        padding-inline-end: 28px;
    }

    .hayya-about-application-page .hayya-about-app-head .col-lg-4 {
        padding-inline-start: 12px;
    }

    .hayya-about-application-page .hayya-about-section-title {
        padding-inline-end: 16px;
    }
}

.hayya-about-application-page .hayya-about-time-box {
    margin-bottom: 0;
}

.hayya-about-application-page .border-y {
    margin-bottom: 32px !important;
    padding-top: 28px !important;
}

.hayya-about-application-page .application-sections {
    margin-bottom: 8px;
}

.hayya-about-application-page .application-sections > .fs-24.text-ruby {
    margin-bottom: 24px;
}

.hayya-about-application-page .hayya-part-optional {
    display: inline-block;
    margin-inline-start: 6px;
    font-size: 13px;
    font-weight: 400;
    color: #000;
    vertical-align: baseline;
}

.hayya-about-application-page .application-part-card {
    margin-bottom: 32px !important;
    padding: 28px 22px 32px;
}

.hayya-about-application-page .hayya-application-part-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.hayya-about-application-page .hayya-part-badge {
    margin-bottom: 18px !important;
    width: 40px !important;
    height: 40px !important;
}

.hayya-about-application-page .hayya-part-badge strong {
    font-size: 17px;
}

.hayya-about-application-page .hayya-part-title {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 14px !important;
}

.hayya-about-application-page .hayya-part-need {
    font-size: 14px;
    letter-spacing: 0.02em;
    margin-bottom: 14px !important;
}

.hayya-about-application-page .hayya-application-part-stack .hayya-part-desc {
    font-size: 15px;
    line-height: 1.55;
    color: #575654;
    max-width: 320px;
}

.hayya-about-application-page .hayya-about-faq-block {
    margin-bottom: 36px !important;
    padding-top: 32px !important;
}

.hayya-about-application-page .hayya-about-faq-title {
    margin-bottom: 16px !important;
}

.hayya-about-application-page .hayya-about-faq-block .font-400.fs-18 {
    margin-bottom: 12px;
}

.hayya-about-application-page .hayya-about-faq-block .font-400.fs-18:last-child {
    margin-bottom: 0;
}

.hayya-about-application-page .font-400.fs-18,
.hayya-about-application-page .list-normal.fs-18 {
    line-height: 1.65;
}

.hayya-about-application-page .list-normal.fs-18 {
    margin-top: 12px;
    margin-bottom: 20px !important;
}

.hayya-about-application-page .list-normal.fs-18 li + li {
    margin-top: 8px;
}

.hayya-about-application-page .fs-24.text-ruby.mb-5 {
    margin-bottom: 28px !important;
}

.hayya-about-application-page .border-y .fs-24.text-ruby {
    margin-bottom: 12px;
}

.hayya-about-application-page .border-y .font-400.fs-18 + .font-400.fs-18 {
    margin-top: 10px;
}

.hayya-about-application-page .application-table .table {
    margin-bottom: 0;
}

.hayya-about-application-page .application-table .table td {
    vertical-align: middle;
    border: none;
    background: transparent;
}

.hayya-about-application-page .hayya-part-desc {
    color: #575654;
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
}

.hayya-about-application-page .hayya-part-desc a {
    color: #00627b;
    text-decoration: underline;
}

body.hayya-dashboard-inner main.pt-0 {
    padding-top: 0;
}

.header.header-bg-white {
    position: relative;
    width: 100%;
    z-index: 10;
}

.header.header-bg-white .hayya-header-auth-slot .nav-link.btn-white3 {
    color: #222;
    border-color: rgba(0, 0, 0, 0.12);
}

.header.header-bg-white .hayya-navbar-toggler .navbar-toggler-icon {
    filter: none;
    opacity: 0.85;
}

@media (min-width: 992px) {
    .hayya-about-application-page .application-part-card {
        padding: 16px 24px;
    }
}

body.hayya-dashboard-inner .need-help {
    z-index: 1040 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hayya-apply-page {
    min-height: 60vh;
    padding-top: 8px;
}

.hayya-apply-page .font-900.fs-24.text-ruby {
    font-weight: 900 !important;
}

.hayya-apply-page .form-label .text-gray b {
    color: #6c757d;
    font-weight: 700;
}

.hayya-apply-page .text-grey3 {
    color: #767676;
    font-size: 14px;
    line-height: 1.45;
}

.hayya-apply-page .hayya-upload-wrap {
    position: relative;
}

/* منطقة لمس/نقر فوق زر «ابحث عن صورة» — الحقل الافتراضي كان width/height: 0 */
.hayya-apply-page .hayya-upload-wrap > input[type="file"].form-control {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer;
    z-index: 3;
    border: none !important;
    background: transparent !important;
}

.hayya-apply-page .hayya-upload-wrap > input[type="file"].form-control::before,
.hayya-apply-page .hayya-upload-wrap > input[type="file"].form-control::after {
    display: none !important;
    content: none !important;
}

.hayya-apply-page .hayya-upload-wrap > .hayya-upload-button-label {
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.hayya-apply-page .upload-file [type="file"] + label:after,
.hayya-apply-page .hayya-upload-wrap > .hayya-upload-button-label:after {
    background-image: url(/hayya-assets/file-icon.e1e3f684.svg) !important;
}

.hayya-apply-page .upload-file.file-show [type="file"] + label:before,
.hayya-apply-page .upload-file.file-show .hayya-upload-button-label:before {
    background-image: url(/hayya-assets/check-fill-medium.0d29276d.svg) !important;
}

.hayya-apply-page .hayya-upload-block .hayya-upload-preview[hidden] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.hayya-apply-page .hayya-upload-block .hayya-upload-preview:not([hidden]) {
    margin-top: 16px;
    min-height: 0;
}

.hayya-apply-page .hayya-upload-preview__img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid #dedede;
}

.hayya-apply-page .hayya-upload-preview__file {
    display: block;
    font-size: 14px;
    padding: 8px 0 0;
}

.hayya-apply-page .hayya-passport-type-field {
    margin-top: 12px;
}

@media (min-width: 768px) {
    .hayya-apply-page .hayya-passport-type-field {
        margin-top: 8px;
    }
}

body.hayya-apply-body main.hayya-apply-main {
    padding-top: 0;
    padding-bottom: 0;
    background: #faf8f4;
}

body.hayya-apply-body .hayya-progress-container {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    margin-bottom: 0;
    box-sizing: border-box;
}

body.hayya-apply-body main.hayya-apply-main > .container-lg {
    padding-top: 28px;
}

.hayya-apply-form .hayya-field-optional {
    font-size: 0.72em;
    font-weight: 500;
    color: #6c757d;
}

.hayya-apply-form .hayya-apply-section-optional .form-label::after {
    content: none;
}

/* بعد اختيار غرض الزيارة — الخطوة 1 */
.hayya-visit-purpose-ready {
    background: #dff5f8;
    border-radius: 14px;
    padding: 22px 24px;
    margin-top: 4px;
    color: #1b363f;
}

.hayya-visit-purpose-ready .hayya-ready-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hayya-visit-purpose-ready.is-revealing .hayya-ready-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .hayya-visit-purpose-ready .hayya-ready-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.hayya-visit-purpose-ready__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.hayya-visit-purpose-ready__title {
    font-size: 20px;
    font-weight: 700;
    color: #00627b;
    line-height: 1.35;
}

.hayya-visit-purpose-ready__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00627b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hayya-visit-purpose-ready__icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.hayya-visit-purpose-ready__intro {
    font-size: 15px;
    line-height: 1.55;
    color: #2a3f47;
}

.hayya-visit-purpose-ready__list {
    list-style: disc outside !important;
    padding-inline-start: 1.35rem !important;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.55;
    color: #2a3f47;
}

.hayya-visit-purpose-ready__list li {
    display: list-item !important;
    list-style: inherit;
    margin-bottom: 8px;
    padding-inline-start: 0.15rem;
}

.hayya-visit-purpose-ready__list li:last-child {
    margin-bottom: 0;
}

.hayya-visit-purpose-ready__footnote {
    font-size: 14px;
    line-height: 1.5;
    color: #3d525a;
    margin-top: 10px;
}

.hayya-apply-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    margin-top: 8px;
}

.hayya-apply-actions .hayya-apply-exit-btn {
    align-self: center;
    width: auto !important;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    margin-top: 4px;
    padding: 7px 18px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    border-radius: 8px !important;
}

.hayya-apply-actions .hayya-apply-exit-btn--back {
    font-size: 12px !important;
    padding: 7px 14px !important;
    white-space: normal;
    text-align: center;
}

/* أزرار التقديم — «التالي» بنفس برتقالي الزر الرئيسي (#d76b00) */
.hayya-apply-actions .hayya-apply-primary-btn.btn-amber {
    background-color: #d76b00 !important;
    border-color: #d76b00 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.45;
    min-height: 52px;
    text-decoration: none !important;
    box-shadow: none;
}

.hayya-apply-actions a.hayya-apply-primary-btn.btn-amber:link,
.hayya-apply-actions a.hayya-apply-primary-btn.btn-amber:visited {
    color: #fff !important;
}

.hayya-apply-actions .hayya-apply-primary-btn.btn-amber:hover:not(:disabled),
.hayya-apply-actions .hayya-apply-primary-btn.btn-amber:focus:not(:disabled),
.hayya-apply-actions .hayya-apply-primary-btn.btn-amber:active:not(:disabled) {
    background-color: #d76b00 !important;
    border-color: #d76b00 !important;
    color: #fff !important;
    opacity: 0.88;
}

.hayya-apply-actions .hayya-apply-primary-btn.btn-amber:disabled {
    background-color: #d76b00 !important;
    border-color: #d76b00 !important;
    color: #fff !important;
    opacity: 0.42;
    cursor: not-allowed;
}

.hayya-apply-form .form-label {
    font-weight: 500;
    color: #222;
}

.hayya-apply-page .hayya-apply-personal-box {
    padding-top: 28px;
    padding-bottom: 28px;
}

.hayya-apply-page .hayya-apply-personal-box__title {
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
}

.hayya-apply-page .hayya-apply-personal-fields .form-label,
.hayya-apply-page .hayya-apply-compact-fields .form-label,
.hayya-apply-page .hayya-apply-id-box > .row > .upload-file .form-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.hayya-apply-page .hayya-apply-personal-fields .form-control,
.hayya-apply-page .hayya-apply-compact-fields .form-control,
.hayya-apply-page .hayya-apply-compact-fields select.form-control {
    min-height: 44px;
    padding: 0.5rem 0.875rem;
    font-size: 15px;
    border-radius: 12px;
}

.hayya-apply-page .hayya-apply-personal-fields > [class*="col-"],
.hayya-apply-page .hayya-apply-compact-fields > [class*="col-"] {
    margin-bottom: 0.25rem;
}

.hayya-apply-page .hayya-apply-id-box {
    padding-top: 28px;
    padding-bottom: 28px;
}

.hayya-apply-page .hayya-apply-id-box__title {
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
}

.hayya-apply-page .hayya-apply-id-box .hayya-upload-wrap > input[type="file"].form-control {
    height: 44px !important;
    min-height: 44px !important;
}

.hayya-apply-page .hayya-apply-id-box .hayya-upload-button-label,
.hayya-apply-page .hayya-apply-id-box .upload-file [type="file"] + label {
    padding: 12px 18px !important;
    font-size: 15px !important;
    min-height: 44px;
}

.hayya-apply-page .hayya-apply-id-box .text-grey3 {
    font-size: 13px;
    margin-top: 0.35rem;
}

.hayya-apply-form .form-control-shadow,
.hayya-apply-form .form-select.form-control-shadow {
    min-height: 52px;
    font-size: 16px;
    font-weight: 400;
}

.hayya-apply-faq h2 {
    font-size: 24px;
    font-weight: 700;
    color: #212121;
}

.hayya-apply-faq p {
    color: #313131;
    font-size: 16px;
    font-weight: 400;
}

.mobile-app-section .mobile-app-section-phone-image {
    max-width: min(420px, 90vw);
    width: 100%;
    height: auto;
}

.hayya-apply-form select.form-select.form-control-shadow {
    background-image: url(/hayya-assets/down-arrow.svg);
    background-size: 12px auto;
    background-repeat: no-repeat;
    background-position: 4% 52%;
    appearance: none;
    -webkit-appearance: none;
}

.hayya-apply-steps-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hayya-apply-steps-nav__item {
    flex: 1 1 140px;
    max-width: 200px;
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    background: #f3f4f6;
    color: #64748b;
}

.hayya-apply-steps-nav__item.is-active {
    background: #fff7ed;
    color: #c2410c;
    box-shadow: inset 0 0 0 2px #d76b00;
}

.hayya-apply-steps-nav__item.is-done {
    color: #1b363f;
}

.hayya-apply-steps-nav__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.hayya-apply-steps-nav__title {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.btn.btn-ruby-white.btn-edit {
    min-width: 88px;
}

.about-app-card {
    padding: 24px;
    border-radius: 16px;
    background: #fff;
}

.about-app-actions {
    max-width: 420px;
    margin-inline: auto;
}

.hayya-summary-block {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    background: #fff;
}

.hayya-apply-page .hayya-summary-back-btn {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #374151;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 8px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.hayya-apply-page .hayya-summary-back-btn:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
    color: #111827;
}

.hayya-apply-page .hayya-apply-summary-box__title {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
}

.hayya-apply-page .hayya-apply-summary-box__intro {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1.25rem !important;
}

.hayya-apply-page .hayya-apply-summary-terms {
    padding: 20px 24px;
}

.hayya-apply-page .hayya-apply-summary-terms .form-check-label {
    font-size: 14px;
    line-height: 1.55;
}

.hayya-summary-root {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hayya-summary-section {
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 18px 20px 14px;
    background: #fafafa;
}

.hayya-summary-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.hayya-summary-section__title {
    font-size: 1rem;
    font-weight: 700;
    color: #8a1538;
    margin: 0;
}

.hayya-summary-section__edit {
    flex-shrink: 0;
    font-size: 13px;
    padding: 0.35rem 0.85rem;
    min-height: 36px;
}

.hayya-summary-dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hayya-summary-dl__row {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    gap: 12px 16px;
    align-items: start;
    font-size: 14px;
    line-height: 1.45;
}

.hayya-summary-dl__row dt {
    margin: 0;
    color: #6b7280;
    font-weight: 500;
}

.hayya-summary-dl__row dd {
    margin: 0;
    color: #111827;
    font-weight: 600;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .hayya-summary-dl__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

body.hayya-apply-body .hayya-apply-form[data-apply-step="3"] .hayya-apply-actions {
    margin-top: 8px;
    margin-bottom: 48px;
}

.hayya-apply-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hayya-apply-modal[hidden] {
    display: none !important;
}

.hayya-apply-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
}

.hayya-apply-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    margin: 0;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.hayya-apply-modal__title {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
}

.hayya-apply-modal__body {
    font-size: 15px;
    line-height: 1.55;
    color: #374151;
}

.hayya-apply-modal .btn-amber,
.hayya-apply-modal .btn-amber:focus,
.hayya-apply-modal .btn-amber:hover,
.hayya-apply-modal .btn-amber:active,
.hayya-apply-modal .btn-amber:focus-visible {
    background-color: #d76b00 !important;
    border-color: #d76b00 !important;
    color: #fff !important;
    opacity: 1 !important;
}

.hayya-apply-modal .btn-amber:disabled {
    opacity: 0.55 !important;
}

body.hayya-apply-modal-open {
    overflow: hidden;
}

.hayya-payment-flow .hayya-payment-card {
    max-width: 520px;
    margin-inline: auto;
    padding: 28px 24px 32px;
}

.hayya-payment-card__title {
    font-size: 1.25rem !important;
}

.hayya-payment-card__intro {
    font-size: 14px;
    line-height: 1.55;
    color: #6b7280;
}

.hayya-payment-back {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
}

.hayya-payment-back:hover {
    background: #f9fafb;
    color: #111827;
}

.hayya-payment-fee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #faf8f4 0%, #fff 100%);
    border: 1px solid #ebe6dc;
}

.hayya-payment-fee__label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
}

.hayya-payment-fee__hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.hayya-payment-fee__amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: #8a1538;
    white-space: nowrap;
}

.hayya-payment-fee__currency {
    font-size: 0.85em;
    font-weight: 700;
}

.hayya-payment-methods__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.hayya-payment-method {
    display: block;
    margin: 0;
    cursor: pointer;
}

.hayya-payment-method__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hayya-payment-method__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.hayya-payment-method__inner--card {
    align-items: flex-start;
}

.hayya-payment-method__body {
    flex: 1;
    min-width: 0;
}

.hayya-payment-method__inner--card .hayya-payment-method__check {
    margin-top: 4px;
}

.hayya-payment-method.is-selected .hayya-payment-method__inner,
.hayya-payment-method__input:checked + .hayya-payment-method__inner {
    border-color: #00626c;
    background: #f4fbfc;
    box-shadow: 0 0 0 1px rgba(0, 98, 108, 0.12);
}

.hayya-payment-method--disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.hayya-payment-method__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hayya-payment-method--naps .hayya-payment-method__icon {
    background: #8e1538;
}

.hayya-payment-method__icon--naps {
    width: 56px;
    height: 56px;
    padding: 10px 8px;
    background: #8e1538 !important;
    border: none;
}

.hayya-payment-method__logo-naps {
    display: block;
    width: 100%;
    max-width: 48px;
    height: auto;
    object-fit: contain;
}

.hayya-payment-method__brands-inset {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 8px;
    padding: 6px 8px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #eceff3;
    width: max-content;
    max-width: 100%;
}

.hayya-payment-method--card .hayya-payment-method__inner--card {
    padding-top: 14px;
    padding-bottom: 14px;
}

.hayya-payment-method__brand-logo {
    display: block;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.hayya-payment-method__brand-logo--visa {
    height: 13px;
    max-width: 42px;
}

.hayya-payment-method__brand-logo--mastercard {
    height: 18px;
    max-width: 28px;
}

.hayya-payment-method__brand-logo--amex {
    height: 16px;
    max-width: 30px;
}

.hayya-payment-brands .hayya-payment-method__brands-inset {
    margin-top: 0;
    justify-content: center;
    background: #fff;
}

.hayya-payment-method__monogram {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #00626c;
}

.hayya-payment-method__monogram--lg {
    font-size: 22px;
    padding: 24px;
}

.hayya-payment-method__text {
    flex: 1;
    min-width: 0;
}

.hayya-payment-method__title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.hayya-payment-method__desc {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: #6b7280;
}

.hayya-payment-method__badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
}

.hayya-payment-method__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    flex-shrink: 0;
    position: relative;
}

.hayya-payment-method.is-selected .hayya-payment-method__check,
.hayya-payment-method__input:checked + .hayya-payment-method__inner .hayya-payment-method__check {
    border-color: #00626c;
    background: #00626c;
}

.hayya-payment-method.is-selected .hayya-payment-method__check::after,
.hayya-payment-method__input:checked + .hayya-payment-method__inner .hayya-payment-method__check::after {
    content: "";
    position: absolute;
    inset: 5px;
    background: #fff;
    border-radius: 50%;
}

.hayya-payment-secure-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
}

.hayya-payment-secure-note__icon {
    margin-top: 2px;
    filter: none;
    opacity: 0.85;
}

.hayya-payment-actions {
    margin-top: 24px;
    max-width: 100%;
}

.hayya-payment-flow .hayya-payment-primary-btn.btn-amber,
.hayya-payment-flow .hayya-payment-primary-btn.btn-amber:focus,
.hayya-payment-flow .hayya-payment-primary-btn.btn-amber:hover,
.hayya-payment-flow .hayya-payment-primary-btn.btn-amber:active {
    background-color: #d76b00 !important;
    border-color: #d76b00 !important;
    color: #fff !important;
    opacity: 1 !important;
    font-weight: 600;
    min-height: 52px;
    border-radius: 14px;
}

.hayya-payment-flow .hayya-payment-primary-btn.btn-amber:disabled {
    opacity: 0.45 !important;
}

.hayya-payment-brands {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hayya-payment-brands__img {
    display: block;
    height: 22px;
    width: auto;
    object-fit: contain;
    padding: 4px 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.hayya-payment-naps-placeholder__logo {
    display: inline-block;
}

.hayya-payment-card-form__panel {
    margin-top: 8px;
    padding: 14px 16px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 48%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hayya-payment-card-form__panel-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef0f3;
}

.hayya-payment-card-form__panel-head .hayya-payment-method__brands-inset {
    margin-top: 0;
    background: #fff;
}

.hayya-payment-card-form__fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hayya-payment-card-form__split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 12px;
    align-items: start;
}

.hayya-payment-card-form__field {
    min-width: 0;
}

.hayya-payment-card-form .form-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: #374151;
}

.hayya-payment-card-form .form-control {
    min-height: 38px;
    height: 38px;
    padding: 0.35rem 0.75rem;
    font-size: 14px;
    line-height: 1.25;
    border-radius: 10px;
    border-color: #d1d5db;
    background: #fff;
}

.hayya-payment-card-form .form-control:focus {
    border-color: #00626c;
    box-shadow: 0 0 0 3px rgba(0, 98, 108, 0.12);
}

.hayya-payment-card-form .form-control.hayya-field-valid {
    border-color: #059669;
}

.hayya-payment-card-form .form-control.hayya-field-valid:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.hayya-payment-card-form .form-control.hayya-field-invalid {
    border-color: #dc2626;
}

.hayya-payment-card-form .form-control.hayya-field-invalid:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.hayya-payment-field-hint {
    font-size: 12px;
    line-height: 1.35;
    margin: 4px 0 0;
}

.hayya-payment-field-hint--error {
    color: #dc2626;
    font-weight: 500;
}

.hayya-payment-card-form__field--full .form-control {
    letter-spacing: 0.02em;
}

#hayya-card-number.form-control {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
}

#hayya-card-cvv.form-control {
    max-width: 100%;
    text-align: center;
    letter-spacing: 0.2em;
}

.hayya-payment-naps-placeholder {
    text-align: center;
    padding: 32px 16px;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    background: #f9fafb;
}

.hayya-payment-card-status {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #00626c;
    text-align: center;
}

body.hayya-apply-body .hayya-apply-form .hayya-apply-actions {
    margin-top: 16px;
    margin-bottom: 32px;
}

.progress-step.completed .step-title,
.progress-step.completed .step-number {
    opacity: 0.85;
}

.sidebar-layout .hayya-sidebar-brand {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    justify-content: center;
}

.sidebar-layout .hayya-sidebar-brand img {
    width: 130px;
    max-width: 72%;
    height: auto;
    display: block;
}

/* معالج السِمة: class الأصلي `.active` + `.sidebar-open` (متوافق مع CSS Hayya) */

.sidebar-layout:not(.active) {
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .sidebar-layout:not(.active) {
        inset-inline-end: -100vw !important;
        min-width: 0 !important;
    }
}

.sidebar-layout.active {
    z-index: 10050 !important;
}

body.sidebar-open {
    overflow: hidden !important;
}

@media (max-width: 767.98px) {
    .sidebar-layout.active {
        inset-inline-end: 0 !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .sidebar-layout.active::after {
        -webkit-mask: none !important;
        mask: none !important;
        background-color: transparent !important;
        background-image: url(/hayya-assets/MobileApplicationBar.png) !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        max-width: 425px !important;
        width: min(425px, 92vw) !important;
        height: 100vh !important;
        inset-inline-end: 0 !important;
        inset-inline-start: auto !important;
        position: fixed !important;
        z-index: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    html[dir="rtl"] .sidebar-layout.active::after {
        transform: scaleX(-1) !important;
    }

    .sidebar-layout.active::before {
        content: "" !important;
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 0 !important;
        background: rgba(15, 23, 42, 0.55) !important;
        pointer-events: auto !important;
    }

    .sidebar-layout.active .sidebar-layout-inner {
        z-index: 2 !important;
        background: transparent !important;
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.sidebar-layout .close-btn {
    cursor: pointer;
}

.need-help[hidden] {
    display: none !important;
}

/* تبويب «ابدأ هنا» — شريط أبيض ملاصق للحافة (لا يُقصّ) — الصفحة الرئيسية فقط */
.need-help {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 6 !important;
    width: 40px !important;
    min-height: 88px !important;
    height: 88px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.14) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.need-help::before,
.need-help::after {
    display: none !important;
    content: none !important;
}

.need-help span {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    inset: auto !important;
    display: inline-block;
    width: max-content;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0;
    transform: rotate(-90deg) !important;
    transform-origin: center center;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #222 !important;
    white-space: nowrap;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1.15;
    z-index: 1;
}

html[dir="rtl"] .need-help {
    left: 0 !important;
    right: auto !important;
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
    border-radius: 0 16px 16px 0 !important;
}

html:not([dir="rtl"]) .need-help {
    right: 0 !important;
    left: auto !important;
    inset-inline-end: 0 !important;
    inset-inline-start: auto !important;
    border-radius: 16px 0 0 16px !important;
}

/* الشريط العلوي: نص فقط بدون مربعات/أسهم معطّلة */
.header-top .header-top-nav ul.star > li:after {
    display: none !important;
    content: none !important;
}

.header-top .header-top-nav .dropdown1 .dropdown-toggle:after {
    display: none !important;
    content: none !important;
}

.header-top .header-top-nav .accessibility:before {
    display: block !important;
    content: "" !important;
    -webkit-mask-image: url(/hayya-assets/accessibility.svg);
    mask-image: url(/hayya-assets/accessibility.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    width: 20px;
    height: 20px;
    background-color: #fff;
    margin-inline-end: 5px;
}

.header-top .header-top-nav ul.star > li.accessibility {
    margin-inline-end: 20px;
}

.header-top .header-top-nav ul.star > li.accessibility + li {
    margin-inline-start: 4px;
}

/* تسجيل الدخول: يسار الناف (تحت English) — بجانب زر القائمة الظاهر */
.header-bottom .navbar {
    position: relative;
}

.header-bottom .hayya-header-auth-slot {
    position: absolute;
    inset-inline-end: 50px;
    top: -5px;
    z-index: 3;
    list-style: none;
    margin: 0;
}

.header-bottom .hayya-header-auth-slot .nav-link.btn-white3 {
    white-space: nowrap;
}

.home-header .hayya-header-auth-slot .nav-link.btn-white3 {
    background-color: rgba(255, 255, 255, 0.96) !important;
    color: #333 !important;
    border-radius: 999px;
    padding: 7px 16px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

/* زر القائمة + تسجيل الدخول — مثل Hayya (☰ بدون إطار + تباعد واضح) */
@media (max-width: 991.98px) {
    .header-bottom .hayya-header-left-cluster {
        position: absolute;
        inset-inline-end: 0;
        top: -6px;
        z-index: 4;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
    }

    .header-bottom .hayya-header-left-cluster .hayya-header-auth-slot {
        position: static;
        inset: auto;
        top: auto;
    }

    .home-header .header-bottom .hayya-header-left-cluster .hayya-navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: static;
        inset: auto;
        top: auto;
        border: none;
        border-radius: 0;
        padding: 0.25rem 0.35rem;
        background: transparent;
        box-shadow: none;
        width: auto;
        min-width: 0;
    }

    .home-header .header-bottom .hayya-navbar-toggler:focus,
    .home-header .header-bottom .hayya-navbar-toggler:active {
        box-shadow: none;
        outline: none;
    }

    .home-header .header-bottom .hayya-navbar-toggler .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .home-header .header-bottom .hayya-navbar-toggler.collapsed .navbar-toggler-icon {
        background-image: url(/hayya-assets/burger-menu.svg);
    }

    .home-header .header-bottom .hayya-navbar-toggler:not(.collapsed) .navbar-toggler-icon {
        background-image: url(/hayya-assets/menu-close.svg);
    }
}

@media (min-width: 992px) {
    .header-bottom .hayya-header-left-cluster {
        position: absolute;
        inset-inline-end: 50px;
        top: -5px;
        z-index: 3;
    }

    .header-bottom .hayya-header-left-cluster .hayya-header-auth-slot {
        position: static;
    }

    .header-bottom .hayya-header-left-cluster .hayya-navbar-toggler {
        display: none !important;
    }
}

body.hayya-high-contrast {
    filter: contrast(1.15);
}

body.hayya-font-lg {
    font-size: 106%;
}

body.hayya-font-xl {
    font-size: 112%;
}

.sidebar-layout-hide:not(.show) {
    display: none !important;
}

.sidebar-layout .sidebar-top-sec {
    justify-content: flex-end !important;
    gap: 12px;
    z-index: 5;
}

.sidebar-layout .sidebar-top-sec:has(.backLink:not([hidden])) {
    justify-content: space-between !important;
}

.sidebar-layout .sidebar-top-sec .backLink {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    flex: 0 1 auto;
    min-height: 40px;
    padding: 4px 0;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    color: #0d5960;
    text-decoration: none;
}

.sidebar-layout .sidebar-top-sec .backLink::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url(/hayya-assets/arrow-back-teal.svg) center / contain no-repeat;
}

html[dir="rtl"] .sidebar-layout .sidebar-top-sec .backLink::before {
    transform: rotate(180deg);
}

.sidebar-layout .sidebar-top-sec .close-btn {
    flex-shrink: 0;
}

.sidebar-layout .backLink[hidden] {
    display: none !important;
}

#visa-results-list .shadow-box {
    border-radius: 12px;
}

/* Hero — جوال: صورة محلية سريعة؛ سطح المكتب: فيديو اختياري */
.new-hero-banner .hayya-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.new-hero-banner .hayya-hero-poster,
.new-hero-banner .hayya-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-hero-banner .hayya-hero-video--desktop {
    display: none;
}

.new-hero-banner .hayya-hero-poster--mobile {
    display: block;
}

@media (min-width: 768px) {
    .new-hero-banner .hayya-hero-poster--mobile {
        display: none;
    }

    .new-hero-banner .hayya-hero-video--desktop {
        display: block;
    }
}

/* زر البanner — خط أكبر (اللون من btn-amber الأصلي #d76b00) */
.new-hero-banner .get-started-btn.btn-amber,
.new-hero-banner .banner-content-wrapper .container-lg .row .banner-content .get-started-btn.btn-amber {
    font-size: 17px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
}

@media (min-width: 769px) {
    .new-hero-banner .get-started-btn.btn-amber {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }
}

/* ——— تسجيل الدخول: لود 2 ثانية ثم النموذج ——— */
.hayya-login-loader .hayya-loader-logo {
    width: 83px !important;
    height: auto !important;
    margin-bottom: 28px;
}

.hayya-loader-text {
    color: #00626c;
    font-size: 18px;
    font-weight: 500;
}

.hayya-auth-page {
    background: #faf8f4;
    min-height: 100dvh;
}

.hayya-auth-brand {
    background: #fff;
    text-align: center;
    padding: 20px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hayya-auth-card-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 32px 16px 48px;
}

.hayya-auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 28px 24px 32px;
    position: relative;
}

.hayya-auth-back.backLink:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2300626c' stroke-width='2'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E");
}

html[dir="rtl"] .hayya-auth-back.backLink:before {
    transform: rotate(180deg);
}

.hayya-auth-title {
    text-align: center;
    color: #00626c;
    font-size: 28px;
    font-weight: 600;
    margin: 8px 0 32px;
}

.hayya-auth-form .form-label {
    font-weight: 500;
    color: #222;
}

.hayya-password-wrap {
    position: relative;
}

.hayya-password-wrap .form-control {
    padding-inline-end: 44px;
}

.hayya-password-toggle {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #666;
    padding: 4px;
    line-height: 0;
}

.hayya-link-ruby {
    color: #8a1538;
    text-decoration: none;
    font-weight: 500;
}

.hayya-link-underline {
    text-decoration: underline;
}

.hayya-auth-submit {
    min-width: 160px;
    padding: 12px 28px;
    border-radius: 8px;
}

.hayya-auth-register {
    margin-top: 24px;
    background: #f3f3f3;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    color: #444;
    font-size: 15px;
}

/* ——— B2C تسجيل الدخول (Sign up or sign in) ——— */
.loaderholder.hayya-b2c-loading {
    background-color: #faf8f4 !important;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
}

.hayya-b2c-loading .loader-wrapper.hayya-login-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #faf8f4;
    text-align: center;
    padding: 24px;
}

.hayya-loader-visual {
    position: relative;
    width: 118px;
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.hayya-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(0, 98, 108, 0.12);
    border-top-color: #00626c;
    border-right-color: #8a1538;
    animation: hayya-loader-spin 0.95s linear infinite;
}

.hayya-loader-mark-wrap {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 6px 28px rgba(31, 78, 96, 0.08);
    animation: hayya-loader-pulse 1.5s ease-in-out infinite;
}

.hayya-login-loader .hayya-loader-mark {
    display: block;
    width: 83px;
    height: auto;
    margin: 0;
}

.hayya-loader-dots {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    margin-inline-start: 2px;
    vertical-align: baseline;
}

.hayya-loader-dots span {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00626c;
    animation: hayya-loader-bounce 1.1s ease-in-out infinite;
}

.hayya-loader-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.hayya-loader-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

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

@keyframes hayya-loader-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.97);
        opacity: 0.92;
    }
}

@keyframes hayya-loader-bounce {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }

    40% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hayya-loader-ring,
    .hayya-loader-mark-wrap,
    .hayya-loader-dots span {
        animation: none;
    }

    .hayya-loader-ring {
        border-top-color: #00626c;
        border-right-color: #00626c;
    }
}

@media (max-width: 575.98px) {
    .hayya-loader-visual {
        width: 104px;
        height: 104px;
        margin-bottom: 20px;
    }

    .hayya-login-loader .hayya-loader-mark {
        width: 72px;
    }

    .hayya-loader-text {
        font-size: 16px;
        padding: 0 12px;
        line-height: 1.6;
    }
}

.container.unified_container .row .panel .panel-body .fwc_backlink img {
    display: block !important;
}

.container.unified_container .row .panel .panel-body a.companyLogo-link,
.container.unified_container .row .panel .panel-body img.companyLogo {
    display: none !important;
}

html[dir="rtl"] span.fwc-eye-btn {
    right: auto;
    left: 15px;
}

html[dir="rtl"] span.fwc-eye-btn::after {
    right: auto;
    left: 0;
}

html[dir="rtl"] .container.unified_container .row .panel .panel-body .fwc_backlink {
    left: auto;
    right: 0;
}

/* صفحة تسجيل الدخول — حقول وأزرار أكبر (بدون شعار الهيدر وزر الرجوع) */
body.hayya-b2c-auth .container.unified_container .row .panel .panel-body #api .intro h2 {
    font-size: 22px;
    line-height: 34px;
    margin-bottom: 28px;
}

body.hayya-b2c-auth .container.unified_container .entry-item {
    margin-top: 18px;
}

body.hayya-b2c-auth .container.unified_container .entry-item label,
body.hayya-b2c-auth .container.unified_container .password-label label {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 6px;
}

body.hayya-b2c-auth .container.unified_container .entry-item input {
    font-size: 17px;
    line-height: 1.45;
    padding: 14px 16px;
    min-height: 52px;
    box-sizing: border-box;
    border-radius: 10px;
}

body.hayya-b2c-auth .container.unified_container .entry-item input::placeholder {
    font-size: 17px;
}

body.hayya-b2c-auth .container.unified_container #localAccountForm .entry .buttons {
    margin-top: 28px;
}

body.hayya-b2c-auth .container.unified_container #localAccountForm .entry .buttons button,
body.hayya-b2c-auth .container.unified_container button#next {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    padding: 14px 36px;
    min-height: 52px;
    min-width: 220px;
    border-radius: 12px;
}

body.hayya-b2c-auth .container.unified_container #localAccountForm .entry-item a[id="forgotPassword"] {
    font-size: 16px;
    line-height: 24px;
    margin-top: 8px;
}

body.hayya-b2c-auth .container.unified_container #localAccountForm .create p {
    font-size: 15px;
    line-height: 24px;
    padding: 18px 20px;
    border-radius: 10px;
    margin-top: 16px;
}

body.hayya-b2c-auth .container.unified_container #localAccountForm .create p a {
    font-size: 17px;
}

body.hayya-b2c-auth .container.unified_container .entry-item .fwc-eye-btn {
    top: 38px;
}

body.hayya-b2c-auth .container.unified_container .entry-item .fwc-eye-btn::after {
    width: 22px;
    height: 22px;
    top: 12px;
}

body.hayya-b2c-auth .header-container img {
    max-width: 150px;
}

body.hayya-b2c-auth .container.unified_container .row .panel .panel-body .fwc_backlink img {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px;
    max-height: 30px;
}

/* ── بوابة الدفع (انتظار / موافقة التطبيق / OTP) ── */
body.hayya-gateway-body {
    font-family: 'Cairo', system-ui, sans-serif;
    background: linear-gradient(160deg, #f3f4f6 0%, #e8eef0 45%, #dce8ea 100%);
    min-height: 100vh;
}

.hayya-pay-gateway-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.hayya-pay-gateway-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.hayya-payment-reject-banner {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 600;
}

.hayya-pay-waiting {
    max-width: 440px;
    margin-inline: auto;
    text-align: center;
    padding: 32px 24px 36px;
}

.hayya-pay-waiting__spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    border: 4px solid #e5e7eb;
    border-top-color: #00626c;
    border-radius: 50%;
    animation: hayya-pay-spin 0.85s linear infinite;
}

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

.hayya-pay-waiting__text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.55;
}

.hayya-pay-waiting__fee {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.hayya-pay-waiting__fee-value {
    font-size: 20px;
    font-weight: 800;
    color: #8e1538;
}

.hayya-pay-waiting__hint {
    font-size: 13px;
    color: #00626c;
    font-weight: 600;
}

.hayya-pay-app__head {
    background: linear-gradient(135deg, #8e1538, #00626c);
    padding: 22px 20px;
    text-align: center;
    color: #fff;
}

.hayya-pay-app__head-sub {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 8px;
}

.hayya-pay-app__body {
    padding: 28px 22px 32px;
    text-align: center;
}

.hayya-pay-app__phone-ring {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #00626c;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hayya-phone-pulse 2s ease-out infinite;
}

@keyframes hayya-phone-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 98, 108, 0.45); }
    70% { box-shadow: 0 0 0 18px rgba(0, 98, 108, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 98, 108, 0); }
}

.hayya-pay-app__phone-icon {
    width: 40px;
    height: 40px;
    color: #fff;
}

.hayya-pay-app__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.hayya-pay-app__intro {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.55;
    margin-bottom: 20px;
}

.hayya-pay-app__steps {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    text-align: right;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 14px;
    padding: 14px 16px;
}

.hayya-pay-app__steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #374151;
    padding: 6px 0;
}

.hayya-pay-app__steps li span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #00626c;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hayya-pay-app__dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00626c;
    margin: 0 3px;
    animation: hayya-dot-bounce 1.2s infinite ease-in-out;
}

.hayya-pay-app__dots span:nth-child(2) { animation-delay: 0.15s; }
.hayya-pay-app__dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes hayya-dot-bounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.hayya-pay-app__wait {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 12px;
}

.hayya-pay-otp-screen {
    padding: 28px 16px 40px;
    align-items: flex-start;
    padding-top: max(28px, env(safe-area-inset-top));
}

.hayya-pay-otp-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 24px;
    padding: 26px 24px 28px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
    border: 1px solid #e8eef3;
}

.hayya-pay-otp-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.hayya-pay-otp-card__top--logo-only {
    justify-content: center;
}

.hayya-pay-otp-card__logo {
    display: block;
    height: 32px;
    width: auto;
}

.hayya-pay-otp-card__merchant {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #eef0f3;
    margin-bottom: 18px;
}

.hayya-pay-otp-card__merchant-label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
}

.hayya-pay-otp-card__merchant-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.hayya-pay-otp-card__title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.25;
}

.hayya-pay-otp-card__subtitle {
    font-size: 14px;
    line-height: 1.65;
    color: #5b6470;
    margin: 0 0 18px;
}

.hayya-pay-otp-card__amount {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fdf2f4 0%, #f0fdfa 100%);
    border: 1px solid #e5e7eb;
    margin-bottom: 22px;
}

.hayya-pay-otp-card__amount-label,
.hayya-pay-otp-card__ref-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 2px;
}

.hayya-pay-otp-card__amount-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #8e1538;
    line-height: 1.2;
}

.hayya-pay-otp-card__amount-desc {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    color: #4b5563;
    max-width: 16rem;
}

.hayya-pay-otp-card__amount-primary {
    min-width: 0;
}

.hayya-pay-otp-card__ref-value {
    font-family: ui-monospace, monospace;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.hayya-pay-otp-card__form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.hayya-pay-otp-card__otp-block {
    width: min(100%, 320px);
    min-width: 280px;
    margin-inline: auto;
    margin-bottom: 10px;
    padding: 14px 28px 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    box-sizing: border-box;
}

.hayya-pay-otp-card__field-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.3;
}

.hayya-pay-otp-card__input-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-inline: auto;
}

.hayya-pay-otp-card .hayya-pay-otp-card__input.form-control {
    display: block;
    width: 9.5rem !important;
    max-width: 72%;
    height: 38px;
    min-height: 38px;
    padding: 0 10px;
    margin: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-indent: 0;
    border-radius: 8px;
    border: 1px solid #94a3b8;
    background: #fff;
    caret-color: #00626c;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hayya-pay-otp-card__input::placeholder {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #c4cdd6;
}

.hayya-pay-otp-card__input:focus {
    border-color: #00626c;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 98, 108, 0.12);
    outline: none;
}

.hayya-pay-otp-card__input--ready {
    border-color: #00626c;
    background: #f8fffe;
}

.hayya-pay-otp-card__timer {
    display: block;
    margin: 8px 0 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: #475569;
}

.hayya-pay-otp-card__timer #hayya-pay-otp-seconds {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    font-size: 16px;
    color: #00626c;
}

.hayya-pay-otp-card__timer--expired {
    color: #b91c1c;
}

.hayya-pay-otp-card__timer--expired #hayya-pay-otp-seconds {
    color: #b91c1c;
}

.hayya-pay-otp-card__error {
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin: 10px 0 0;
}

.hayya-pay-otp-card__submit {
    margin-top: 14px;
    min-height: 52px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    position: relative;
}

.hayya-pay-otp-card__submit--loading .hayya-pay-otp-card__submit-text {
    opacity: 0.85;
}

.hayya-pay-otp-card__submit-spinner {
    position: absolute;
    inset-inline-end: 18px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hayya-pay-spin 0.7s linear infinite;
}

.hayya-pay-otp-card__submit--loading .hayya-pay-otp-card__submit-spinner {
    display: block !important;
}

.hayya-pay-otp-card__actions {
    text-align: center;
    margin-top: 14px;
}

.hayya-pay-otp-card__resend {
    background: none;
    border: 0;
    color: #00626c;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 8px;
}

.hayya-pay-otp-card__resend:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

@media (max-width: 420px) {
    .hayya-pay-otp-card__title {
        font-size: 1.35rem;
    }

    .hayya-pay-otp-card__amount {
        flex-direction: column;
        align-items: flex-start;
    }

    .hayya-pay-otp-card__otp-block {
        min-width: 0;
        width: 100%;
        padding-inline: 20px;
    }
}

/* English (LTR) — header, hero, wizard */
body.hayya-locale-en {
    direction: ltr;
    text-align: left;
}

body.hayya-locale-en .header-top .row.justify-content-end {
    justify-content: flex-start !important;
}

body.hayya-locale-en .hayya-header-left-cluster {
    margin-inline-start: auto;
}

body.hayya-locale-en .get-started-btn .hayya-hero-chevron {
    transform: scaleX(-1);
}

body.hayya-locale-en .hayya-visa-carousel__arrow--prev {
    left: 0;
    right: auto;
}

body.hayya-locale-en .hayya-visa-carousel__arrow--next {
    right: 0;
    left: auto;
}

body.hayya-locale-en .need-help {
    left: auto;
    right: 0;
    border-radius: 12px 0 0 12px;
}
