:root {
    --rt-primary: #0e3a5d;
    --rt-primary-dark: #0a2c47;
    --rt-accent: #d9a441;
    --rt-accent-dark: #b98a2f;
    --rt-bg: #f4f7fa;
    --rt-card: #ffffff;
    --rt-text: #20303f;
    --rt-muted: #6b7c8c;
    --rt-success: #1e8e5a;
    --rt-danger: #c04545;
}

html, body {
    background: var(--rt-bg);
    color: var(--rt-text);
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
    /* حارس عام: لا تمدد أفقي للصفحة مهما كان المحتوى —
       clip (وليس hidden) حتى لا يكسر position:sticky في الترويسة والفلاتر */
    overflow-x: hidden;
    overflow-x: clip;
}

/* ---------- header ---------- */
.rt-header {
    background: linear-gradient(135deg, var(--rt-primary) 0%, var(--rt-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(10, 44, 71, .35);
}

.rt-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    text-decoration: none;
}

.rt-brand small { display: block; font-size: .7rem; opacity: .75; letter-spacing: .12em; }
.rt-brand-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--rt-accent); color: var(--rt-primary-dark);
    font-size: 1.4rem;
}

.rt-nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.rt-nav a {
    color: rgba(255,255,255,.85); text-decoration: none;
    padding: .4rem .8rem; border-radius: 8px; font-size: .95rem;
}
.rt-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.rt-nav a.active { background: var(--rt-accent); color: var(--rt-primary-dark); font-weight: 600; }

.rt-badge {
    position: absolute; top: -6px; left: -6px;
    background: var(--rt-danger); color: #fff;
    border-radius: 50%; font-size: .65rem; padding: 1px 6px;
}

.rt-auth { display: flex; align-items: center; gap: .5rem; }
.rt-user { font-size: .85rem; opacity: .9; }

.rt-main { min-height: 60vh; }

/* ---------- hero ---------- */
.rt-hero {
    background: linear-gradient(160deg, var(--rt-primary) 0%, #14517f 60%, #1b6aa5 100%);
    color: #fff; padding: 3.5rem 0 6rem;
    position: relative; overflow: hidden;
}
.rt-hero::after {
    content: "✈"; position: absolute; font-size: 14rem; opacity: .06;
    top: -2rem; left: 4rem; transform: rotate(-15deg);
}
.rt-hero h1 { font-weight: 800; }
.rt-hero p { opacity: .85; }

/* ---------- search card ---------- */
.rt-search-card {
    margin-top: -4rem; position: relative; z-index: 5;
    background: var(--rt-card); border-radius: 18px;
    box-shadow: 0 18px 45px rgba(10, 44, 71, .18);
    padding: 1.5rem;
}

.rt-tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.rt-tabs button {
    border: none; background: #eef3f7; color: var(--rt-muted);
    padding: .55rem 1.4rem; border-radius: 999px; font-weight: 600;
}
.rt-tabs button.active { background: var(--rt-primary); color: #fff; }

.form-label { font-weight: 600; font-size: .85rem; color: var(--rt-muted); }

.btn-rt {
    background: var(--rt-accent); color: var(--rt-primary-dark);
    font-weight: 700; border: none; border-radius: 10px;
    padding: .65rem 2rem;
}
.btn-rt:hover { background: var(--rt-accent-dark); color: #fff; }

/* ---------- generic cards ---------- */
.rt-card {
    background: var(--rt-card); border-radius: 14px;
    box-shadow: 0 6px 18px rgba(16, 42, 67, .08);
    padding: 1.25rem; margin-bottom: 1rem;
    border: 1px solid rgba(14, 58, 93, .06);
}

.rt-section-title {
    font-weight: 800; color: var(--rt-primary);
    border-right: 4px solid var(--rt-accent);
    padding-right: .75rem; margin-bottom: 1.25rem;
}

/* ---------- flight cards ---------- */
.rt-flight { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rt-flight .airline { min-width: 130px; }
.rt-flight .airline strong { color: var(--rt-primary); }
.rt-time { text-align: center; }
.rt-time .t { font-size: 1.15rem; font-weight: 800; color: var(--rt-primary); }
.rt-time .a { font-size: .78rem; color: var(--rt-muted); }
.rt-path {
    flex: 1; min-width: 120px; display: flex; align-items: center; gap: .5rem;
    color: var(--rt-muted); font-size: .75rem;
}
.rt-path .line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #c3cfda 0 6px, transparent 6px 12px); }

.rt-fare {
    border: 1.5px solid #dbe4ec; border-radius: 12px;
    padding: .6rem .9rem; text-align: center; cursor: pointer;
    transition: all .15s ease; min-width: 130px;
}
.rt-fare:hover { border-color: var(--rt-accent); }
.rt-fare.selected { border-color: var(--rt-accent); background: #fdf6e7; }
.rt-fare .price { font-weight: 800; color: var(--rt-primary); font-size: 1.05rem; }
.rt-fare .band { font-size: .75rem; color: var(--rt-muted); }
.rt-fare.unavailable { opacity: .45; cursor: not-allowed; }

.rt-provider-tag {
    display: inline-block; font-size: .72rem; background: #eef3f7;
    color: var(--rt-muted); border-radius: 999px; padding: .15rem .7rem;
}

/* ---------- status pills ---------- */
.rt-status { font-size: .78rem; border-radius: 999px; padding: .2rem .75rem; font-weight: 700; }
.rt-status.ok { background: #e4f5ec; color: var(--rt-success); }
.rt-status.hold { background: #fdf3dd; color: var(--rt-accent-dark); }
.rt-status.bad { background: #fbe7e7; color: var(--rt-danger); }
.rt-status.info { background: #e7f0fb; color: var(--rt-primary); }

/* ---------- wallet ---------- */
.rt-wallet-hero {
    background: linear-gradient(135deg, var(--rt-primary), #1b6aa5);
    color: #fff; border-radius: 16px; padding: 1.75rem;
}
.rt-wallet-hero .amount { font-size: 2.2rem; font-weight: 800; }
.rt-loyalty {
    background: linear-gradient(135deg, var(--rt-accent), var(--rt-accent-dark));
    color: var(--rt-primary-dark); border-radius: 16px; padding: 1.75rem;
}

/* ---------- umrah ---------- */
.rt-umrah-card img, .rt-umrah-hero {
    border-radius: 14px 14px 0 0;
}
.rt-umrah-hero {
    background: linear-gradient(135deg, #14532d, #1e7a45);
    color: #fff; padding: 1.5rem; text-align: center;
}
.rt-price-from { font-size: 1.4rem; font-weight: 800; color: var(--rt-primary); }

/* ---------- footer ---------- */
.rt-footer { background: var(--rt-primary-dark); color: rgba(255,255,255,.8); margin-top: 4rem; }
.rt-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.rt-footer a:hover { color: var(--rt-accent); }
.rt-footer hr { border-color: rgba(255,255,255,.15); }

/* ---------- misc ---------- */
.rt-empty { text-align: center; padding: 3rem 1rem; color: var(--rt-muted); }
.rt-summary-bar {
    position: sticky; bottom: 0; background: var(--rt-primary);
    color: #fff; border-radius: 14px; padding: .9rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 -6px 25px rgba(10,44,71,.3); margin-top: 1.5rem;
}

.table thead th { background: #eef3f7; color: var(--rt-primary); font-size: .85rem; }

/* ---------- mobile navigation (right-side slide-down panel) ---------- */
.rt-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 40px;
    padding: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 10px;
    cursor: pointer;
}
.rt-menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.rt-head-links { display: flex; align-items: center; gap: 1rem; flex: 1; justify-content: space-between; }

@media (max-width: 992px) {
    .rt-header { position: relative; }
    .rt-menu-btn { display: flex; }
    .rt-head-links {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline-start: 0;   /* right in RTL — panel anchors to the right edge */
        width: min(320px, 88vw);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        background: var(--rt-primary-dark, #0b3d66);
        border-radius: 0 0 0 16px;
        box-shadow: 0 18px 40px rgba(0,0,0,.35);
        padding: 1rem;
        z-index: 1000;
    }
    html[dir="ltr"] .rt-head-links { border-radius: 0 0 16px 0; }
    .rt-head-links.open { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
    .rt-head-links .rt-nav { flex-direction: column; width: 100%; gap: .35rem; }
    .rt-head-links .rt-nav a {
        display: block;
        padding: .7rem 1rem;
        border-radius: 10px;
        text-align: start;
        font-size: 1.02rem;
    }
    .rt-head-links .rt-auth {
        flex-direction: column;
        align-items: stretch;
        border-top: 1px solid rgba(255,255,255,.18);
        padding-top: .9rem;
        gap: .6rem;
    }
    .rt-head-links .rt-auth .btn { width: 100%; padding: .6rem; }
    .rt-head-links .rt-user { text-align: center; }
}


/* ---------- language toggle ---------- */
.rt-lang-btn { border-radius: 20px; font-weight: 700; min-width: 64px; letter-spacing: .03em; }

/* ---------- WhatsApp floating button ---------- */
.rt-whatsapp {
    position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 1050;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
    text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.rt-whatsapp:hover { transform: translateY(-3px) scale(1.05); color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.34); }

/* ---------- LTR adjustments ---------- */
html[dir="ltr"] body { font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
html[dir="ltr"] .rt-brand small { letter-spacing: .18em; }

/* ---------- home extras ---------- */
.rt-stats { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.rt-stat {
    min-width: 150px; padding: 1.1rem 1.4rem; border-radius: 14px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    text-align: center; color: #fff;
}
.rt-stat strong { display: block; font-size: 1.7rem; color: var(--rt-accent); }
.rt-feature-card {
    background: var(--rt-card); border-radius: 14px; padding: 1.4rem; height: 100%;
    box-shadow: 0 2px 10px rgba(14,58,93,.07); border: 1px solid rgba(14,58,93,.06);
    transition: transform .15s ease, box-shadow .15s ease;
}
.rt-feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(14,58,93,.12); }
.rt-feature-card .rt-feature-icon {
    width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-dark)); color: #fff;
    margin-bottom: .8rem;
}
.rt-dest-card {
    border-radius: 14px; overflow: hidden; position: relative; height: 170px;
    display: flex; align-items: flex-end; color: #fff; text-decoration: none;
    background: linear-gradient(135deg, var(--rt-primary) 0%, var(--rt-primary-dark) 100%);
    box-shadow: 0 4px 14px rgba(14,58,93,.18); transition: transform .15s ease;
}
.rt-dest-card:hover { transform: translateY(-4px); color: #fff; }
.rt-dest-card .rt-dest-body { padding: 1rem 1.2rem; width: 100%; background: linear-gradient(transparent, rgba(10,44,71,.85)); }
.rt-dest-card .rt-dest-icon { position: absolute; top: 14px; inset-inline-start: 16px; font-size: 2rem; opacity: .9; }
.rt-testimonial {
    background: var(--rt-card); border-radius: 14px; padding: 1.3rem; height: 100%;
    border: 1px solid rgba(14,58,93,.06); box-shadow: 0 2px 10px rgba(14,58,93,.06);
}
.rt-testimonial .rt-stars { color: var(--rt-accent); letter-spacing: .15em; }
.rt-section-title { font-weight: 800; color: var(--rt-primary-dark); margin-bottom: .4rem; }
.rt-section-sub { color: var(--rt-muted); margin-bottom: 1.6rem; }

/* ---------- Airport picker ---------- */
.rt-airport-picker { position: relative; }
.rt-airport-dropdown {
    position: absolute; top: 100%; inset-inline: 0; z-index: 1050;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    box-shadow: 0 12px 32px rgba(14,58,93,.18); max-height: 320px; overflow-y: auto; margin-top: 4px;
}
.rt-airport-item { display: flex; align-items: center; gap: .875rem; padding: .7rem 1rem; cursor: pointer; border-bottom: 1px solid #f3f4f6; transition: background .15s; }
.rt-airport-item:last-child { border-bottom: 0; }
.rt-airport-item:hover { background: #eff6ff; }
.rt-airport-code { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#0E3A5D,#1d6fa5); color: #fff; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: .5px; }
.rt-airport-info { display: flex; flex-direction: column; min-width: 0; }
.rt-airport-name { color: #1f2937; font-weight: 600; font-size: .92rem; }
.rt-airport-city { color: #6b7280; font-size: .8rem; }
.rt-airport-empty { padding: 1rem; text-align: center; color: #6b7280; }
.rt-swap-btn { border-radius: 50%; width: 44px; height: 44px; padding: 0; font-size: 1.1rem; }

/* ---------- Date range picker ---------- */
.rt-daterange { position: relative; }
.rt-daterange-field { display: flex; align-items: center; gap: .5rem; text-align: start; background: #fff; width: 100%; }
.rt-daterange-value { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.rt-daterange-sep { color: #6b7280; }
.rt-daterange-pop {
    position: absolute; top: 100%; inset-inline-start: 0; z-index: 1060;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
    box-shadow: 0 16px 48px rgba(14,58,93,.22); padding: 1rem; margin-top: 6px;
    width: max-content; max-width: 95vw;
}
.rt-daterange-nav { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.rt-dr-navbtn { border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; width: 36px; height: 36px; font-size: 1.2rem; line-height: 1; }
.rt-dr-navbtn:hover:not(:disabled) { background: #eff6ff; }
.rt-dr-navbtn:disabled { opacity: .35; }
.rt-daterange-months { display: flex; gap: 1.5rem; }
.rt-dr-month-title { text-align: center; font-weight: 700; color: #0E3A5D; margin-bottom: .5rem; }
.rt-dr-grid { display: grid; grid-template-columns: repeat(7, 38px); gap: 2px; }
.rt-dr-weekdays span { text-align: center; font-size: .75rem; color: #6b7280; padding: .25rem 0; }
.rt-dr-day { border: 0; background: transparent; border-radius: 8px; height: 38px; font-size: .9rem; color: #1f2937; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; gap: 1px; }
.rt-dr-daynum { font-size: .85rem; }
.rt-dr-price { font-size: .6rem; font-weight: 700; color: #6b7280; }
.rt-dr-price.cheap { color: #16a34a; }
.rt-dr-price.exp { color: #dc2626; }
.rt-dr-day:hover:not(:disabled) { background: #dbeafe; }
.rt-dr-day:disabled { color: #cbd5e1; }
.rt-dr-empty { background: transparent; }
.rt-dr-today { border: 1px dashed #1d6fa5; }
.rt-dr-start, .rt-dr-end { background: #0E3A5D !important; color: #fff !important; border-radius: 8px; }
.rt-dr-inrange { background: #dbeafe; border-radius: 0; }
.rt-daterange-hint { margin-top: .75rem; padding-top: .5rem; border-top: 1px solid #f3f4f6; color: #6b7280; font-size: .8rem; text-align: center; }
@media (max-width: 768px) {
    .rt-daterange-months { flex-direction: column; gap: 1rem; }
    .rt-daterange-pop { inset-inline: 0; width: 100%; }
}

/* ---------- Contact page ---------- */
.rt-contact-hero { background: linear-gradient(135deg,#0E3A5D,#1d6fa5); color: #fff; padding: 4rem 0 3rem; }
.rt-contact-hero h1 { font-weight: 800; }
.rt-contact-hero p { opacity: .9; font-size: 1.1rem; }
.rt-contact-card { display: block; background: #fff; border: 1px solid #eef2f6; border-radius: 16px; padding: 1.5rem 1rem; text-align: center; text-decoration: none; color: inherit; height: 100%; transition: transform .2s, box-shadow .2s; }
.rt-contact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(14,58,93,.12); color: inherit; }
.rt-contact-icon { font-size: 2rem; margin-bottom: .5rem; }
.rt-contact-card h5 { color: #0E3A5D; font-weight: 700; }
.rt-contact-card p { color: #6b7280; margin: 0; font-size: .92rem; }
.rt-contact-whatsapp { border-color: #25d36655; }
.rt-contact-list { list-style: none; padding: 0; margin: 0; }
.rt-contact-list li { padding: .55rem 0; border-bottom: 1px dashed #eef2f6; display: flex; gap: .6rem; align-items: center; }
.rt-contact-list li:last-child { border-bottom: 0; }
.rt-social-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.rt-social-btn { background: #0E3A5D; color: #fff; border-radius: 999px; padding: .4rem 1.1rem; text-decoration: none; font-size: .9rem; transition: background .2s; }
.rt-social-btn:hover { background: #1d6fa5; color: #fff; }
.rt-map iframe { width: 100%; height: 240px; border: 0; border-radius: 12px; }

/* ---------- airline branding in results ---------- */
.rt-airline-logo {
    width: 44px; height: 44px; object-fit: contain;
    border-radius: 10px; background: #fff; padding: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    flex-shrink: 0;
}
.rt-airline-fallback {
    width: 44px; height: 44px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--rt-primary, #0d47a1), #1976d2);
    color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .5px;
    flex-shrink: 0;
}

/* ---------- expandable flight details ---------- */
.rt-flight-details {
    display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
    margin-top: .75rem; padding: .75rem 1rem;
    background: rgba(13, 71, 161, .05);
    border-radius: 10px; font-size: .85rem;
}

/* ---------- summary bar polish ---------- */
.rt-summary-bar { z-index: 1030; }

/* ---------- round-trip combined card ---------- */
.rt-combo { position: relative; }
.rt-combo-chosen {
    border: 2px solid var(--rt-success) !important;
    box-shadow: 0 4px 18px rgba(30, 142, 90, .18) !important;
}
.rt-combo-leg { position: relative; padding-top: 1.1rem; }
.rt-leg-badge {
    position: absolute; top: -0.55rem; inset-inline-start: 0;
    background: var(--rt-primary); color: #fff;
    font-size: .72rem; font-weight: 700;
    padding: .1rem .6rem; border-radius: 999px;
}
.rt-leg-badge-ret { background: var(--rt-accent); color: var(--rt-primary-dark); }
.rt-combo-divider {
    border-top: 1px dashed rgba(13, 58, 93, .25);
    margin: .9rem 0 0;
}
.rt-combo-total {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    margin-top: 1rem; padding-top: 1rem;
    border-top: 1px solid rgba(13, 58, 93, .12);
}
.rt-combo-price {
    font-size: 1.6rem; font-weight: 800; color: var(--rt-primary);
    line-height: 1.1;
}
.rt-combo-price small { font-size: .9rem; color: var(--rt-muted); font-weight: 600; }

/* ---------- booking page total banner ---------- */
.rt-book-total {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    background: linear-gradient(135deg, #eaf3fb, #f7fbff);
    border-inline-start: 4px solid var(--rt-accent) !important;
}
.rt-book-total-price {
    font-size: 1.5rem; font-weight: 800; color: var(--rt-primary);
}

/* ---------- mobile responsiveness ---------- */
@media (max-width: 768px) {
    .container { padding-inline: .75rem; }

    /* flight rows: stack into a compact grid */
    .rt-flight {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: .5rem;
    }
    .rt-flight .airline {
        grid-column: 1 / -1;
        margin-bottom: .25rem;
    }
    .rt-airline-logo, .rt-airline-fallback { width: 34px; height: 34px; }
    .rt-time .t { font-size: 1.05rem; }
    .rt-time .a { font-size: .8rem; }

    /* fare tiles scroll horizontally instead of wrapping forever */
    .rt-card .d-flex.gap-2.mt-3 {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        padding-bottom: .35rem;
        -webkit-overflow-scrolling: touch;
    }
    .rt-fare { min-width: 130px; flex-shrink: 0; }

    /* combo cards */
    .rt-combo-total { flex-direction: column; align-items: stretch; text-align: center; }
    .rt-combo-total .btn { width: 100%; }
    .rt-combo-price { font-size: 1.35rem; }

    /* summary bar stays usable on small screens */
    .rt-summary-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center;
        gap: .6rem !important;
    }
    .rt-summary-bar .btn { width: 100%; }

    /* headings + cards breathe less */
    .rt-section-title { font-size: 1.15rem; }
    .rt-card { padding: .9rem !important; }

    /* search form fields full width */
    .rt-hero .btn, .rt-hero .form-select, .rt-hero .form-control { font-size: .95rem; }
}

@media (max-width: 400px) {
    .rt-time .t { font-size: .95rem; }
    .rt-combo-price { font-size: 1.2rem; }
}

/* ---------- FAQ ---------- */
.rt-faq summary {
    cursor: pointer; font-weight: 700; color: var(--rt-primary);
    list-style: none; position: relative; padding-inline-end: 1.6rem;
}
.rt-faq summary::after {
    content: "▼"; position: absolute; inset-inline-end: 0;
    font-size: .7rem; color: var(--rt-muted); transition: transform .2s;
}
.rt-faq[open] summary::after { transform: rotate(180deg); }
.rt-faq summary::-webkit-details-marker { display: none; }

/* ---------- results filters sidebar ---------- */
.rt-filters { position: sticky; top: 90px; }
.rt-filter-group {
    padding: .75rem 0;
    border-top: 1px solid rgba(13, 58, 93, .1);
}
.rt-filter-group:first-of-type { border-top: 0; }
.rt-filter-title { font-weight: 700; font-size: .88rem; margin-bottom: .5rem; color: var(--rt-primary); }
.rt-filter-check {
    display: flex; align-items: center; gap: .5rem;
    font-size: .87rem; padding: .18rem 0; cursor: pointer;
}
.rt-filter-logo { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; background: #fff; }

/* ---------- one-way result card ---------- */
.rt-oneway { position: relative; }
.rt-oneway-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    margin-top: .9rem; padding-top: .9rem;
    border-top: 1px solid rgba(13, 58, 93, .12);
}
.rt-best-badge {
    position: absolute; top: -0.6rem; inset-inline-end: 1rem;
    background: var(--rt-accent); color: var(--rt-primary-dark);
    font-size: .75rem; font-weight: 800;
    padding: .15rem .7rem; border-radius: 999px;
    box-shadow: 0 2px 8px rgba(217, 164, 65, .5);
}

@media (max-width: 991px) {
    .rt-filters { position: static; }
}
@media (max-width: 768px) {
    .rt-oneway-bottom { flex-direction: column; align-items: stretch; text-align: center; }
    .rt-oneway-bottom .btn { width: 100%; }
    .rt-oneway-bottom .d-flex { justify-content: center; }
}


/* ---------- confirmed-price badge (VRS QQ quote) ---------- */
.rt-quote-badge {
    display: inline-block;
    background: rgba(30, 142, 90, .15); color: var(--rt-success);
    border: 1px solid rgba(30, 142, 90, .4);
    font-size: .75rem; font-weight: 700;
    padding: .1rem .6rem; border-radius: 999px;
}

/* ---------- fare rules + baggage (classbands cbtext) ---------- */
.rt-fare-rules {
    margin-top: .5rem; padding: .55rem .7rem;
    background: rgba(212, 175, 55, .08);
    border: 1px solid rgba(212, 175, 55, .35);
    border-radius: 10px; font-size: .82rem;
}
.rt-fare-rule { color: var(--rt-text-muted, #5b6b7b); padding: .08rem 0; }

/* ticket-view fare rules list */
.rt-ticket-rules { grid-column: 1 / -1; font-size: .82rem; }
.rt-ticket-rules > span { font-weight: 700; }

/* baggage icons shown directly on result cards — أيقونات صغيرة بلا خلفية */
.rt-baggage-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    margin-top: .2rem; margin-inline-end: .6rem;
    padding: 0;
    background: none;
    color: #5b7288; font-size: .8rem; font-weight: 700;
}
.rt-bag-ico { font-size: .85rem; }

/* مؤشر الدرجة أمام خط السير — صغير وواضح (ليست عنصراً رئيسياً) */
.rt-class-mini {
    font-size: .74rem; font-weight: 700; color: #0e3a5d;
    white-space: nowrap; align-self: center;
}

/* وصول في اليوم التالي — شارة صغيرة فوق وقت الوصول */
.rt-plusday { color: #b45309; font-weight: 800; font-size: .72rem; margin-inline-start: 2px; }

/* شارة «باقي X مقاعد فقط» — استعجال العميل عند قلة المقاعد */
.rt-seats-low {
    display: inline-block;
    padding: .05rem .5rem; border-radius: 999px;
    background: #fdecea; color: #b3261e;
    font-size: .75rem; font-weight: 700;
}

/* شارة «دولية» بجانب رقم الرحلة */
.rt-intl-badge {
    display: inline-block; margin-inline-start: .35rem;
    padding: 0 .45rem; border-radius: 999px;
    background: rgba(14, 90, 138, .10);
    color: #0e5a8a; font-size: .72rem; font-weight: 700;
}

/* ---------- e-ticket (printable) ---------- */
.rt-ticket {
    max-width: 920px; margin: 0 auto;
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 44, 71, .14);
    border: 1px solid rgba(13, 58, 93, .12);
}
.rt-ticket-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--rt-primary), var(--rt-primary-dark));
    color: #fff; padding: 1.1rem 1.4rem;
}
.rt-ticket-brand { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; }
.rt-ticket-brand .rt-brand-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--rt-accent); color: var(--rt-primary-dark); font-size: 1.2rem;
}
.rt-ticket-doctype { font-weight: 800; font-size: 1.05rem; letter-spacing: .5px; }

.rt-ticket-pnr {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    padding: 1rem 1.4rem;
    background: rgba(217, 164, 65, .1);
    border-bottom: 2px dashed rgba(13, 58, 93, .25);
}
.rt-ticket-label { font-size: .75rem; color: var(--rt-muted); font-weight: 600; }
.rt-ticket-pnr-code {
    font-size: 1.9rem; font-weight: 800; letter-spacing: 6px;
    color: var(--rt-primary); line-height: 1.1;
}
.rt-barcode {
    width: 170px; height: 46px; border-radius: 4px;
    background: repeating-linear-gradient(90deg,
        var(--rt-primary-dark) 0 2px, transparent 2px 5px,
        var(--rt-primary-dark) 5px 6px, transparent 6px 11px,
        var(--rt-primary-dark) 11px 14px, transparent 14px 17px,
        var(--rt-primary-dark) 17px 18px, transparent 18px 22px,
        var(--rt-primary-dark) 22px 25px, transparent 25px 27px,
        var(--rt-primary-dark) 27px 29px, transparent 29px 33px,
        var(--rt-primary-dark) 33px 36px, transparent 36px 38px,
        var(--rt-primary-dark) 38px 39px, transparent 39px 44px);
}
.rt-ticket-meta { font-size: .82rem; }
.rt-ticket-meta span { color: var(--rt-muted); }

.rt-ticket-section { padding: 1.1rem 1.4rem; }
.rt-ticket-section + .rt-ticket-section { border-top: 1px solid rgba(13, 58, 93, .1); }
.rt-ticket-sec-title {
    font-weight: 800; color: var(--rt-primary); margin-bottom: .8rem;
    padding-inline-start: .6rem; border-inline-start: 4px solid var(--rt-accent);
}
.rt-ticket-seg {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    padding: .9rem 1rem; border-radius: 12px;
    background: var(--rt-bg); margin-bottom: .7rem;
}
.rt-ticket-airline { display: flex; align-items: center; gap: .6rem; min-width: 170px; }
.rt-ticket-route { display: flex; align-items: center; gap: 1rem; flex: 1; justify-content: center; }
.rt-ticket-point { text-align: center; }
.rt-ticket-time { font-weight: 800; font-size: 1.15rem; color: var(--rt-primary); }
.rt-ticket-ap { font-size: .8rem; font-weight: 700; color: var(--rt-muted); }
.rt-ticket-path { text-align: center; font-size: .72rem; color: var(--rt-muted); min-width: 110px; }
.rt-ticket-path .line {
    height: 2px; margin: .3rem 0;
    background: linear-gradient(90deg, var(--rt-accent), var(--rt-primary));
    border-radius: 2px; position: relative;
}
.rt-ticket-path .line::after {
    content: "✈"; position: absolute; top: -0.85rem; inset-inline-start: 50%;
    transform: translateX(-50%); font-size: .8rem; color: var(--rt-primary);
}
.rt-ticket-seg-info { font-size: .82rem; min-width: 130px; }
.rt-ticket-seg-info span { color: var(--rt-muted); }

.rt-ticket-pax th { font-size: .78rem; color: var(--rt-muted); border-bottom-width: 2px; }
.rt-ticket-pax td { font-size: .9rem; vertical-align: middle; }

.rt-ticket-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    padding: 1.1rem 1.4rem;
    border-top: 2px dashed rgba(13, 58, 93, .25);
}
.rt-ticket-totalbox {
    display: flex; align-items: center; gap: .8rem;
    background: rgba(30, 142, 90, .08); border: 1px solid rgba(30, 142, 90, .3);
    padding: .55rem 1rem; border-radius: 12px;
}
.rt-ticket-totalbox span { font-size: .82rem; color: var(--rt-muted); }
.rt-ticket-totalbox strong { font-size: 1.25rem; color: var(--rt-success); }
.rt-ticket-contact { font-size: .85rem; }
.rt-ticket-contact span:first-child { color: var(--rt-muted); }

.rt-ticket-notes {
    padding: .9rem 1.4rem 1.2rem; font-size: .76rem; color: var(--rt-muted);
    background: rgba(13, 58, 93, .03);
}
.rt-ticket-notes ul { margin: .3rem 0 0; padding-inline-start: 1.1rem; }

@media (max-width: 768px) {
    .rt-ticket-pnr { flex-direction: column; text-align: center; }
    .rt-ticket-seg { flex-direction: column; text-align: center; }
    .rt-ticket-seg-info { text-align: center; }
    .rt-ticket-foot { flex-direction: column; text-align: center; }
    .rt-ticket-pnr-code { font-size: 1.5rem; letter-spacing: 4px; }
}

/* ---------- print: ticket only, no site chrome ---------- */
@media print {
    .rt-header, .rt-footer, .rt-ticket-actions { display: none !important; }
    body { background: #fff !important; }
    .rt-main { padding: 0 !important; }
    .rt-ticket-page { padding: 0 !important; max-width: 100% !important; }
    .rt-ticket {
        box-shadow: none !important; border-radius: 0 !important;
        max-width: 100% !important; border: none !important;
    }
    .rt-ticket-seg { break-inside: avoid; }
    .rt-ticket-head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- collapsible modify-search card (results page) ---------- */
.rt-modify-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.rt-modify-wrap.open { grid-template-rows: 1fr; position: relative; z-index: 1070; }
.rt-modify-inner { overflow: hidden; min-height: 0; }
/* عند الفتح: السماح لقوائم المطارات والتقويم بالظهور فوق الكارت ونتائج البحث */
.rt-modify-wrap.open .rt-modify-inner { overflow: visible; }
.rt-modify-card { border: 2px solid var(--rt-primary, #1a6de0); position: relative; z-index: 30; }

/* ---------- occupancy picker (rooms / adults / children ages) ---------- */
.rt-occ-pop {
    position: absolute; top: calc(100% + 6px); inset-inline: 0; z-index: 1060;
    background: #fff; border: 1px solid #d7e5e2; border-radius: 14px; padding: 14px;
    min-width: 280px; max-height: 380px; overflow-y: auto;
}
.rt-occ-room { border-bottom: 1px dashed #e0ebe8; padding: 10px 0; }
.rt-occ-room:first-of-type { padding-top: 0; }
.rt-stepper { display: flex; align-items: center; gap: 10px; }
.rt-step-btn {
    width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--rt-primary, #1a6de0);
    background: #fff; color: var(--rt-primary, #1a6de0); font-weight: bold; line-height: 1;
}
.rt-step-btn:disabled { opacity: .35; }
.rt-step-btn:not(:disabled):hover { background: var(--rt-primary, #1a6de0); color: #fff; }

/* ---------- hotel filters bar ---------- */
.rt-filter-bar { background: #fff; border: 1px solid #d7e5e2; border-radius: 14px; padding: 12px 16px; }
.rt-filter-bar .form-control, .rt-filter-bar .form-select { border-radius: 10px; }
.rt-filter-label { font-size: .8rem; color: #5b7672; font-weight: 600; margin-bottom: 4px; }

/* ---------- hotel cards polish ---------- */
.rt-hotel-card { transition: transform .18s ease, box-shadow .18s ease; }
.rt-hotel-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(21, 60, 60, .14); }
.rt-hotel-img-wrap { position: relative; height: 170px; overflow: hidden; }
.rt-hotel-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rt-hotel-card:hover .rt-hotel-img-wrap img { transform: scale(1.05); }
.rt-stars-badge {
    position: absolute; top: 10px; inset-inline-start: 10px;
    background: rgba(21, 60, 60, .85); color: #ffd873; padding: 2px 10px;
    border-radius: 999px; font-size: .8rem; letter-spacing: 1px;
}

/* ---------- loading skeleton ---------- */
.rt-skeleton {
    border-radius: 14px; min-height: 210px;
    background: linear-gradient(90deg, #eef4f3 25%, #e0eae8 50%, #eef4f3 75%);
    background-size: 200% 100%; animation: rt-shimmer 1.3s infinite;
}
@keyframes rt-shimmer { to { background-position: -200% 0; } }

/* ---------- section header with source badge ---------- */
.rt-src-badge {
    display: inline-block; font-size: .72rem; padding: 2px 10px; border-radius: 999px;
    vertical-align: middle; margin-inline-start: 8px; font-weight: 700;
}
.rt-src-badge.local { background: #d9f2e5; color: #0d7a4f; }
.rt-src-badge.global { background: #dbeafe; color: #1d4ed8; }
.rt-src-badge.country { background: #fdf1d7; color: #92610a; font-weight: 700; }

/* ---------- company logo ---------- */
.rt-brand-logo { height: 44px; width: auto; max-width: 140px; object-fit: contain; }
.rt-ticket-logo { height: 48px; width: auto; max-width: 160px; object-fit: contain; }
@media print { .rt-ticket-logo { print-color-adjust: exact; -webkit-print-color-adjust: exact; } }

/* ============================================================
   v75 — ترقية التصميم الشاملة + خدمة الشرائح الإلكترونية
   ============================================================ */
:root {
    --rt-grad-hero: linear-gradient(150deg, #0a2c47 0%, #0e3a5d 38%, #145e96 72%, #1b7fbf 100%);
    --rt-grad-accent: linear-gradient(135deg, #e8b654 0%, #d9a441 55%, #c78f2c 100%);
    --rt-radius-lg: 20px;
    --rt-shadow-card: 0 8px 28px rgba(10, 44, 71, .09);
    --rt-shadow-lift: 0 20px 48px rgba(10, 44, 71, .18);
    --rt-ring: 0 0 0 4px rgba(27, 111, 168, .14);
}

/* ---------- الترويسة: زجاجية ثابتة ---------- */
.rt-header {
    background: rgba(10, 44, 71, .92);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    position: sticky; top: 0; z-index: 1080;
    box-shadow: 0 6px 24px rgba(6, 25, 42, .35);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.rt-nav a { transition: background .2s ease, color .2s ease, transform .15s ease; }
.rt-nav a:hover { transform: translateY(-1px); }
.rt-nav a.active { background: var(--rt-grad-accent); box-shadow: 0 4px 14px rgba(217, 164, 65, .4); }
.rt-brand-icon { background: var(--rt-grad-accent); box-shadow: 0 4px 12px rgba(217, 164, 65, .45); }

/* ---------- الواجهة الرئيسية: تدرج حي مع أشكال عائمة ---------- */
.rt-hero {
    background: var(--rt-grad-hero);
    padding: 4.5rem 0 7rem;
}
.rt-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(420px 280px at 88% -8%, rgba(217, 164, 65, .22), transparent 60%),
        radial-gradient(520px 340px at -6% 108%, rgba(27, 127, 191, .35), transparent 60%);
}
.rt-hero::after { animation: rt-float 9s ease-in-out infinite; }
.rt-hero h1 { letter-spacing: -.5px; text-shadow: 0 2px 18px rgba(6, 25, 42, .4); }
.rt-hero .lead { font-size: 1.15rem; }
@keyframes rt-float {
    0%, 100% { transform: rotate(-15deg) translateY(0); }
    50% { transform: rotate(-12deg) translateY(14px); }
}

.rt-stat {
    background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px; padding: .7rem 1.1rem; backdrop-filter: blur(6px);
    transition: transform .2s ease, background .2s ease;
}
.rt-stat:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .15); }

/* ---------- بطاقة البحث والتبويبات ---------- */
.rt-search-card {
    border-radius: var(--rt-radius-lg);
    box-shadow: var(--rt-shadow-lift);
    border: 1px solid rgba(14, 58, 93, .07);
}
.rt-tabs { background: #eef3f8; padding: .35rem; border-radius: 999px; display: inline-flex; }
.rt-tabs button { transition: all .2s ease; }
.rt-tabs button.active {
    background: var(--rt-grad-hero); color: #fff;
    box-shadow: 0 6px 16px rgba(10, 44, 71, .3);
}
.rt-tabs button:not(.active):hover { color: var(--rt-primary); background: rgba(14, 58, 93, .08); }

/* ---------- الحقول والأزرار ---------- */
.form-control, .form-select {
    border-radius: 12px; border-color: #dde6ee; padding: .6rem .9rem;
    transition: box-shadow .18s ease, border-color .18s ease;
}
.form-control:focus, .form-select:focus { border-color: #1b6fa8; box-shadow: var(--rt-ring); }

.btn { border-radius: 12px; font-weight: 600; transition: transform .15s ease, box-shadow .2s ease; }
.btn-primary {
    background: var(--rt-grad-hero); border: none;
    box-shadow: 0 6px 16px rgba(14, 58, 93, .28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(14, 58, 93, .34); }
.btn-rt { background: var(--rt-grad-accent); box-shadow: 0 6px 16px rgba(217, 164, 65, .4); }
.btn-rt:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(217, 164, 65, .5); }

/* ---------- البطاقات العامة ---------- */
.rt-card {
    border-radius: var(--rt-radius-lg);
    box-shadow: var(--rt-shadow-card);
    transition: transform .22s ease, box-shadow .25s ease;
}
.rt-card:hover { transform: translateY(-4px); box-shadow: var(--rt-shadow-lift); }

.rt-section-title {
    border-right: 5px solid transparent;
    border-image: linear-gradient(180deg, #e8b654, #c78f2c) 1;
    font-size: 1.35rem;
}

/* ---------- صفحة الخدمات (الرئيسية) ---------- */
.rt-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.rt-service {
    position: relative; overflow: hidden; display: block; text-decoration: none;
    border-radius: var(--rt-radius-lg); padding: 1.6rem 1.4rem; color: #fff;
    min-height: 170px; box-shadow: var(--rt-shadow-card);
    transition: transform .25s ease, box-shadow .3s ease;
}
.rt-service:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--rt-shadow-lift); color: #fff; }
.rt-service .ic { font-size: 2.4rem; margin-bottom: .6rem; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.rt-service h4 { font-weight: 800; margin-bottom: .35rem; }
.rt-service p { opacity: .88; font-size: .88rem; margin: 0; }
.rt-service .go {
    position: absolute; bottom: 1rem; inset-inline-start: 1.4rem;
    font-size: .82rem; font-weight: 700; opacity: .9;
}
.rt-service.flight { background: linear-gradient(150deg, #0e3a5d, #1b6aa5); }
.rt-service.hotel { background: linear-gradient(150deg, #6b3fa0, #9b6bd0); }
.rt-service.umrah { background: linear-gradient(150deg, #14634b, #1e8e5a); }
.rt-service.esim { background: linear-gradient(150deg, #a05a1b, #e0912f); }
.rt-service.visa { background: linear-gradient(150deg, #0f5e52, #1a9c85); }
.rt-service.tour { background: linear-gradient(150deg, #5d3a0e, #b5761f); }
.rt-service::after {
    content: ""; position: absolute; top: -40px; inset-inline-end: -40px;
    width: 130px; height: 130px; border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

/* ---------- الشرائح الإلكترونية ---------- */
.rt-esim-hero {
    background: linear-gradient(150deg, #5c3009 0%, #a05a1b 55%, #e0912f 100%);
    color: #fff; padding: 3rem 0; position: relative; overflow: hidden;
}
.rt-esim-hero::after {
    content: "📱"; position: absolute; font-size: 11rem; opacity: .08;
    top: -1rem; left: 3rem; animation: rt-float 8s ease-in-out infinite;
}
.rt-esim-hero h1 { font-weight: 800; }
.rt-esim-hero p { opacity: .92; max-width: 640px; }

.rt-esim-picker {
    background: var(--rt-card); border-radius: var(--rt-radius-lg);
    box-shadow: var(--rt-shadow-card); padding: 1.4rem;
    margin-top: -2.5rem; position: relative; z-index: 5;
}
.rt-esim-country-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.rt-esim-country {
    display: inline-flex; align-items: center; gap: .45rem;
    border: 1.5px solid #e2e9f0; background: #fff; color: var(--rt-text);
    border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .92rem;
    transition: all .18s ease;
}
.rt-esim-country small { color: var(--rt-muted); font-weight: 400; }
.rt-esim-country .flag { font-size: 1.15rem; }
.rt-esim-country:hover { border-color: #e0912f; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(160, 90, 27, .16); }
.rt-esim-country.active {
    background: linear-gradient(135deg, #a05a1b, #e0912f); color: #fff; border-color: transparent;
    box-shadow: 0 8px 18px rgba(160, 90, 27, .35);
}
.rt-esim-country.active small { color: rgba(255, 255, 255, .85); }

.rt-esim-plan {
    background: var(--rt-card); border-radius: var(--rt-radius-lg);
    box-shadow: var(--rt-shadow-card); padding: 1.4rem; height: 100%;
    display: flex; flex-direction: column; border: 1px solid rgba(14, 58, 93, .06);
    transition: transform .22s ease, box-shadow .25s ease;
}
.rt-esim-plan:hover { transform: translateY(-5px); box-shadow: var(--rt-shadow-lift); }
.rt-esim-plan-data {
    font-size: 1.7rem; font-weight: 800;
    background: linear-gradient(135deg, #a05a1b, #e0912f);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rt-esim-plan-name { color: var(--rt-muted); font-size: .88rem; margin-bottom: .7rem; }
.rt-esim-plan-feats { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--rt-text); }
.rt-esim-plan-feats li { padding: .2rem 0; }
.rt-esim-plan-price { margin-top: auto; font-size: 1.35rem; font-weight: 800; color: var(--rt-primary); margin-bottom: .8rem; }
.rt-esim-plan-price small { font-size: .8rem; color: var(--rt-muted); font-weight: 500; }

.rt-esim-order {
    background: var(--rt-card); border-radius: var(--rt-radius-lg);
    box-shadow: var(--rt-shadow-card); padding: 1.3rem; margin-bottom: 1rem;
    border: 1px solid rgba(14, 58, 93, .06);
}
.rt-esim-qr-block {
    display: flex; gap: 1rem; align-items: flex-start;
    background: #faf6ee; border: 1px dashed #e0912f; border-radius: 14px;
    padding: 1rem; margin-top: .8rem;
}
.rt-esim-qr { width: 150px; height: 150px; border-radius: 12px; background: #fff; padding: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }

.rt-how-card {
    background: var(--rt-card); border-radius: var(--rt-radius-lg);
    box-shadow: var(--rt-shadow-card); padding: 1.5rem; text-align: center; height: 100%;
    border: 1px solid rgba(14, 58, 93, .06);
}
.rt-how-card .ic { font-size: 2.2rem; margin-bottom: .5rem; }
.rt-how-card p { color: var(--rt-muted); font-size: .9rem; margin: 0; }

/* ---------- النوافذ المنبثقة ---------- */
.rt-modal-backdrop {
    position: fixed; inset: 0; z-index: 1090;
    background: rgba(6, 25, 42, .55); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 1rem;
    animation: rt-fade .2s ease;
}
.rt-modal {
    background: #fff; border-radius: var(--rt-radius-lg); padding: 1.6rem;
    width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 30px 80px rgba(6, 25, 42, .45);
    animation: rt-pop .25s cubic-bezier(.2, .9, .3, 1.2);
}
.rt-modal-wide { max-width: 560px; }
@keyframes rt-fade { from { opacity: 0; } }
@keyframes rt-pop { from { opacity: 0; transform: translateY(18px) scale(.96); } }

/* ---------- لمسات عامة ---------- */
::selection { background: rgba(217, 164, 65, .35); }
.rt-footer { background: linear-gradient(160deg, #0a2c47, #0e3a5d); }
.rt-footer a { transition: color .18s ease; }
.rt-footer a:hover { color: var(--rt-accent) !important; }
.alert { border-radius: 14px; border: none; box-shadow: var(--rt-shadow-card); }
.badge { border-radius: 8px; font-weight: 600; }

@media (max-width: 767.98px) {
    .rt-hero { padding: 3rem 0 6rem; }
    .rt-hero h1 { font-size: 1.7rem; }
    .rt-esim-hero h1 { font-size: 1.5rem; }
    .rt-esim-qr { width: 120px; height: 120px; }
    .rt-esim-qr-block { flex-direction: column; align-items: center; text-align: center; }
}

/* ============ v80: الدخول الاجتماعي ============ */
.rt-social-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 18px 0 14px; color: #8496a8; font-size: 13px;
}
.rt-social-divider::before, .rt-social-divider::after {
    content: ""; flex: 1; height: 1px; background: #dfe7ee;
}
.rt-btn-social {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    border: 1.5px solid #dfe7ee; border-radius: 12px; padding: 10px;
    font-weight: 600; color: #22303f; background: #fff;
    transition: box-shadow .2s, transform .2s;
}
.rt-btn-social:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(14,58,93,.12); color: #22303f; }
.rt-social-icon {
    width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff; font-size: 15px;
}
.rt-btn-google .rt-social-icon { background: #ea4335; }
.rt-btn-facebook .rt-social-icon { background: #1877f2; }

/* ===== v82 fixes ===== */
/* إزالة إطار التركيز الذي يظهر فوق العنوان الرئيسي */
.rt-hero h1:focus, .rt-hero h1:focus-visible,
.rt-hero:focus, .rt-hero:focus-visible { outline: none !important; box-shadow: none !important; }
:focus:not(:focus-visible) { outline: none !important; }
/* شعار الهيدر: خلفية داكنة حتى لا يظهر مربع أبيض مع الشعار الشفاف */
.rt-brand-logo { background: #0B2D4D; border-radius: 10px; padding: 4px 6px; object-fit: contain; }

/* ===== Footer v82 ===== */
.rt-footer { padding-bottom: 8px; }
.rt-footer-cols h6.rt-footer-title { color: #D9A441; font-weight: 700; margin-bottom: 14px; position: relative; padding-bottom: 8px; }
.rt-footer-cols h6.rt-footer-title::after { content: ""; position: absolute; bottom: 0; right: 0; width: 34px; height: 2px; background: #D9A441; border-radius: 2px; }
.rt-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rt-footer-logo { height: 46px; width: auto; background: #0B2D4D; border-radius: 10px; padding: 4px 8px; object-fit: contain; }
.rt-footer-about { opacity: .75; font-size: .92rem; line-height: 1.9; }
.rt-footer-links li, .rt-footer-contact li { margin-bottom: 8px; }
.rt-footer-links a, .rt-footer-contact a { color: inherit; opacity: .82; text-decoration: none; transition: opacity .2s, padding .2s; }
.rt-footer-links a:hover, .rt-footer-contact a:hover { opacity: 1; color: #D9A441; padding-right: 4px; }
.rt-footer-contact li { opacity: .85; font-size: .93rem; }
.rt-footer-hr { opacity: .15; margin: 20px 0 14px; }
.rt-footer-bottom { font-size: .88rem; opacity: .8; }
.rt-footer-secure { color: #D9A441; }

/* ---------- Footer v84: مجموعات مضغوطة متجاوبة ---------- */
.rt-footer-top {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.rt-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 0; min-width: 260px; flex: 1 1 300px; }
.rt-footer-brand h5 { color: #fff; margin: 0; }
.rt-footer-about { opacity: .7; font-size: .85rem; line-height: 1.7; }
.rt-footer-contact-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rt-footer-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    color: #fff !important; border-radius: 999px; padding: 6px 14px;
    font-size: .85rem; transition: background .2s, border-color .2s;
}
.rt-footer-chip:hover { background: rgba(217,164,65,.18); border-color: #D9A441; color: #D9A441 !important; }
.rt-footer-groups {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 12px 24px; padding: 16px 0 6px;
}
.rt-footer-group h6.rt-footer-title {
    color: #D9A441; font-weight: 700; font-size: .9rem; margin-bottom: 8px;
}
.rt-footer-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.rt-footer-tags a {
    color: rgba(255,255,255,.75) !important; font-size: .86rem; white-space: nowrap;
    transition: color .18s;
}
.rt-footer-tags a:hover { color: #D9A441 !important; }
.rt-footer-hr { opacity: .12; margin: 10px 0 12px; }
@media (max-width: 767.98px) {
    .rt-footer-groups { grid-template-columns: repeat(2, 1fr); }
    .rt-footer-top { flex-direction: column; align-items: flex-start; }
}

/* ===== v85: grouped nav dropdowns ===== */
.rt-dd { position: relative; }
.rt-dd-btn {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .45rem .8rem; border-radius: 8px; border: 0; cursor: pointer;
    color: rgba(255,255,255,.92); background: transparent;
    font: inherit; transition: background .2s ease, color .2s ease;
}
.rt-dd-btn:hover, .rt-dd.open .rt-dd-btn { background: rgba(255,255,255,.12); color: #fff; }
.rt-dd-caret { font-size: .7em; opacity: .8; transition: transform .2s ease; }
.rt-dd.open .rt-dd-caret { transform: rotate(180deg); }
.rt-dd-menu {
    display: none; position: absolute; top: calc(100% + 6px); inset-inline-start: 0;
    min-width: 210px; background: #fff; border-radius: 12px; padding: .4rem;
    box-shadow: 0 12px 32px rgba(0,0,0,.18); z-index: 1200;
    flex-direction: column; gap: 2px;
}
.rt-dd.open .rt-dd-menu, .rt-dd:hover .rt-dd-menu { display: flex; }
.rt-dd-menu a {
    display: flex; align-items: center; gap: .5rem;
    padding: .5rem .75rem; border-radius: 8px;
    color: #1f2937 !important; text-decoration: none; font-size: .92rem;
}
.rt-dd-menu a:hover { background: #f3f4f6; color: #111827 !important; transform: none; }
.rt-dd-menu a.active { background: #eef2ff; color: var(--rt-primary) !important; font-weight: 600; box-shadow: none; }
.rt-dd-menu .rt-badge { margin-inline-start: auto; }
@media (max-width: 992px) {
    .rt-head-links .rt-nav .rt-dd { width: 100%; }
    .rt-head-links .rt-nav .rt-dd-btn { width: 100%; justify-content: space-between; padding: .55rem .8rem; color: #fff; }
    .rt-head-links .rt-nav .rt-dd-menu {
        position: static; display: none; box-shadow: none; margin: .25rem 0 0;
        background: rgba(255,255,255,.08); border-radius: 10px;
    }
    .rt-head-links .rt-nav .rt-dd.open .rt-dd-menu { display: flex; }
    .rt-head-links .rt-nav .rt-dd:hover .rt-dd-menu { display: none; }
    .rt-head-links .rt-nav .rt-dd.open:hover .rt-dd-menu { display: flex; }
    .rt-head-links .rt-nav .rt-dd-menu a { color: #fff !important; }
    .rt-head-links .rt-nav .rt-dd-menu a:hover { background: rgba(255,255,255,.12); color: #fff !important; }
    .rt-head-links .rt-nav .rt-dd-menu a.active { background: var(--rt-grad-accent); color: var(--rt-primary-dark) !important; }
}

/* ===== v89: تباعد القائمة عن الشعار ===== */
@media (min-width: 993px) {
    .rt-nav { margin-inline-start: 2.5rem; }
}

/* ---------- v90: بطاقات آخر بحث ---------- */
.rt-recent-card {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    width: 100%; text-align: start; background: #fff;
    border: 1px solid var(--rt-border, #e3eaf1); border-radius: .9rem;
    padding: .7rem .9rem; margin-bottom: .5rem; cursor: pointer;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.rt-recent-card:hover { border-color: var(--rt-primary-mid, #0e3a5d); box-shadow: 0 4px 14px rgba(11,45,77,.10); }
.rt-recent-route { display: flex; align-items: center; gap: .45rem; }
.rt-recent-chip {
    background: var(--rt-primary, #0b2d4d); color: #fff; font-weight: 800;
    border-radius: .5rem; padding: .2rem .6rem; font-size: .85rem; letter-spacing: .5px;
}
.rt-recent-arrow { color: var(--rt-primary-mid, #0e3a5d); font-weight: 800; }
.rt-recent-meta { display: flex; gap: .8rem; color: #6b7a8c; font-size: .8rem; white-space: nowrap; }
@media (max-width: 576px) { .rt-recent-meta { flex-direction: column; gap: .15rem; } }

/* ---------- v91: بطاقة جدول الرحلات ---------- */
.rt-service.schedule { background: linear-gradient(150deg, #5b2d8e, #8b5cf6); }
.rt-schedule-table thead th { background: var(--rt-primary, #0b2d4d); color: #fff; white-space: nowrap; font-size: .85rem; }

/* ================= v100: تجاوب شامل مع متصفحات الهاتف ================= */
@media (max-width: 767.98px) {
    /* الحاويات: هوامش مريحة بدل الالتصاق بالأطراف */
    .container, .container-lg, .container-md, .container-sm { padding-inline: 14px !important; }

    /* الجداول: تمرير أفقي ناعم بدل تشوه الصفحة */
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table.table { min-width: 560px; }
    .rt-schedule-table { min-width: 520px; }

    /* النماذج والبطاقات بعرض كامل */
    .card { border-radius: 14px; }
    .row > [class*="col-"] { margin-bottom: .35rem; }
    .btn-lg, .btn { min-height: 44px; } /* لمس مريح */

    /* عناوين أصغر على الشاشات الضيقة */
    h1 { font-size: 1.55rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.15rem; }
    .display-4 { font-size: 2.2rem; }

    /* شبكات النتائج والخدمات: عمود واحد */
    .rt-services { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .rt-service { padding: .85rem; }
    .rt-service h5 { font-size: .95rem; }

    /* بطاقات نتائج الطيران/الفنادق: محتوى مرن */
    .rt-flight-row, .rt-hotel-card { flex-wrap: wrap; }
    .rt-flight-row .rt-price, .rt-hotel-card .rt-price { width: 100%; text-align: start; }

    /* صور الفنادق بارتفاع ثابت متناسق */
    .rt-hotel-card img { width: 100%; height: 160px; object-fit: cover; }

    /* الفلاتر الجانبية تنزل فوق النتائج */
    .rt-filters { position: static !important; width: 100% !important; }

    /* التذاكر والفاوتشرات */
    .rt-ticket, .rt-voucher { padding: 14px !important; }
    .rt-ticket-route { font-size: 1.05rem; }

    /* الحوارات المنبثقة بعرض الشاشة */
    .modal-dialog { margin: .5rem; }
}

/* ---------- v142: عنوان صفحة النتائج على الهاتف — وحدات لا تنكسر ---------- */
.rt-results-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; }
.rt-results-token { white-space: nowrap; font-weight: 800; }
@media (max-width: 767.98px) {
    .rt-results-title { font-size: 1.15rem; line-height: 1.6; }
}

/* هواتف صغيرة جداً */
@media (max-width: 400px) {
    .rt-services { grid-template-columns: 1fr; }
    /* 12px هو الحد الأدنى الذي يعوّض الهوامش السالبة لصفوف g-4 (-12px) —
       أي قيمة أقل تكسر العرض وتدفع الصفحة كلها للتمدد الأفقي */
    .container, .container-lg { padding-inline: 12px !important; }
}

/* ================================================================
   v107 — طبقة التجميل الاحترافية + بطاقات الجداول للهاتف
   ================================================================ */

/* سلاسة عامة وظلال أعمق */
.rt-card {
    border: 1px solid rgba(14,58,93,.07) !important;
    box-shadow: 0 2px 14px rgba(14,58,93,.06);
    transition: box-shadow .25s ease, transform .25s ease;
}
a.rt-card:hover, .rt-card.rt-lift:hover {
    box-shadow: 0 10px 30px rgba(14,58,93,.12);
    transform: translateY(-2px);
}

/* عناوين الأقسام بشريط ذهبي */
.rt-section-title {
    position: relative;
    padding-inline-start: 14px;
    font-weight: 800;
}
.rt-section-title::before {
    content: "";
    position: absolute;
    inset-inline-start: 0; top: .2em; bottom: .2em;
    width: 5px; border-radius: 4px;
    background: linear-gradient(180deg, var(--rt-accent), var(--rt-accent-dark));
}

/* الهيدر: لمعان خفيف وظل */
.rt-header {
    box-shadow: 0 6px 24px rgba(10,44,71,.25);
    position: relative;
    z-index: 50;
}
.rt-nav a { border-radius: 10px; transition: background .2s, color .2s, transform .2s; }
.rt-nav a:hover { transform: translateY(-1px); }

/* الهيرو: توهجات ناعمة */
.rt-hero {
    position: relative;
    overflow: hidden;
}
.rt-hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(600px 260px at 85% -10%, rgba(217,164,65,.25), transparent 60%),
        radial-gradient(700px 300px at 10% 110%, rgba(79,163,227,.22), transparent 60%);
    pointer-events: none;
}

/* الأزرار الرئيسية: تدرج وظل تفاعلي */
.btn-rt {
    background: linear-gradient(135deg, var(--rt-accent) 0%, var(--rt-accent-dark) 100%);
    color: #fff !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(217,164,65,.35);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-rt:hover, .btn-rt:focus {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(217,164,65,.45);
}
.btn-rt:active { transform: translateY(0); }

/* الحقول: تركيز أنيق */
.form-control, .form-select {
    border-radius: 12px;
    border-color: #d8e2ec;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--rt-accent);
    box-shadow: 0 0 0 .2rem rgba(217,164,65,.18);
}

/* شارات الحالة */
.rt-status {
    border-radius: 999px;
    padding: .3em .9em;
    font-weight: 700;
    letter-spacing: .01em;
}

/* الجداول على الكمبيوتر */
.rt-cards-table { border-collapse: separate; border-spacing: 0; }
.rt-cards-table thead th {
    background: #f0f5fa;
    color: #41576c;
    font-size: .82rem;
    border-bottom: 2px solid #e2eaf2 !important;
    white-space: nowrap;
}
.rt-cards-table tbody tr { transition: background .15s; }
.rt-cards-table tbody tr:hover { background: #f7fafd; }

/* حركة ظهور ناعمة للبطاقات */
@keyframes rtFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
.rt-card, .rt-empty { animation: rtFadeUp .35s ease both; }
@media (prefers-reduced-motion: reduce) {
    .rt-card, .rt-empty { animation: none; }
}

/* ---------- الهاتف: الجداول تتحول إلى بطاقات ---------- */
@media (max-width: 767.98px) {
    .rt-cards-table thead { display: none; }
    .rt-cards-table, .rt-cards-table tbody,
    .rt-cards-table tr, .rt-cards-table td { display: block; width: 100%; }

    .rt-cards-table { background: transparent; }
    .rt-cards-table tbody tr {
        background: #fff;
        border: 1px solid #e6edf4;
        border-radius: 16px;
        box-shadow: 0 3px 12px rgba(14,58,93,.07);
        padding: 10px 14px;
        margin-bottom: 14px;
    }
    .rt-cards-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 14px;
        border: 0 !important;
        padding: 7px 0;
        text-align: start;
    }
    .rt-cards-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #5b6b7c;
        font-size: .85rem;
        flex-shrink: 0;
    }
    .rt-cards-table td[data-label=""] { padding-top: 10px; }
    .rt-cards-table td[data-label=""]::before { display: none; }
    .rt-cards-table td[data-label=""] .d-flex { width: 100%; }
    .rt-cards-table td[data-label=""] .btn { flex: 1; }

    /* بطاقات «حجوزاتي» تظهر بوصفها قائمة بطاقات كاملة العرض */
    .table-responsive.rt-card {
        background: transparent;
        border: none !important;
        box-shadow: none;
        padding: 0;
        overflow: visible;
    }
}

/* ---------- v112: قائمة «خدماتي» الضخمة (mega-menu) ---------- */
.rt-svc-menu {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px; min-width: 540px; padding: 14px;
}
.rt-dd.open .rt-svc-menu, .rt-dd:hover .rt-svc-menu { display: grid; }
.rt-svc-menu a.rt-svc-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 18px 10px; border-radius: 16px;
    background: linear-gradient(180deg, #f8fbfe, #eef4fa);
    border: 1px solid #e2ecf6; text-align: center;
    color: #0b3b5e !important; font-weight: 700; font-size: .95rem; line-height: 1.4;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rt-svc-menu a.rt-svc-btn:hover {
    background: #fff; border-color: var(--rt-gold, #d4af37);
    transform: translateY(-3px); box-shadow: 0 10px 22px rgba(14, 90, 138, .14);
    color: #0b3b5e !important;
}
.rt-svc-menu a.rt-svc-btn.active { border-color: var(--rt-gold, #d4af37); background: #fffdf5; }
.rt-svc-ico {
    font-size: 28px; width: 54px; height: 54px; display: grid; place-items: center;
    background: #fff; border-radius: 16px; box-shadow: 0 3px 10px rgba(11, 59, 94, .10);
}
@media (max-width: 992px) {
    .rt-svc-menu { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; }
    .rt-head-links .rt-nav .rt-dd.open .rt-svc-menu { display: grid; }
    .rt-svc-menu a.rt-svc-btn { background: rgba(255,255,255,.95); }
}

/* خدمات إضافية في الصفحة الرئيسية */
.rt-service.cars { background: linear-gradient(150deg, #7a1f2b, #c0392b); }
.rt-service.transfer { background: linear-gradient(150deg, #146c94, #19a7ce); }
.rt-service.activities { background: linear-gradient(150deg, #b45309, #f59e0b); }
.rt-service.insurance { background: linear-gradient(150deg, #0f766e, #14b8a6); }
.rt-service.raffle { background: linear-gradient(150deg, #9d174d, #ec4899); }

/* ============================================================
   ✨ طبقة UX احترافية — خانات الإدخال والقوائم المنسدلة والأزرار
   (إضافة نهائية — تتفوق على كل القواعد السابقة دون تعديلها)
   ============================================================ */

/* ---------- الحقول: شكل موحد فاخر ---------- */
.form-control,
.form-select {
    min-height: 46px;
    padding: .62rem 1rem;
    border: 1.5px solid #d7e1ec;
    border-radius: 14px;
    background-color: #fbfdff;
    color: var(--rt-text);
    font-size: .95rem;
    line-height: 1.5;
    box-shadow: inset 0 1px 2px rgba(10, 44, 71, .04);
    transition: border-color .2s ease, box-shadow .25s ease, background-color .2s ease;
}
.form-control:hover:not(:disabled):not([readonly]),
.form-select:hover:not(:disabled) {
    border-color: #b9cbe0;
    background-color: #fff;
}
.form-control::placeholder { color: #9db0c2; font-weight: 400; }
.form-control:focus,
.form-select:focus {
    border-color: #1b6fa8;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(27, 111, 168, .14), 0 2px 10px rgba(10, 44, 71, .06);
    outline: none;
}
.form-control:disabled, .form-control[readonly], .form-select:disabled {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

/* ---------- القوائم المنسدلة (ComboBox): سهم مخصص أنيق ---------- */
.form-select {
    --rt-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e3a5d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-image: var(--rt-select-arrow);
    background-repeat: no-repeat;
    background-position: left .9rem center;   /* RTL: السهم في الطرف الأيسر */
    background-size: 16px;
    padding-left: 2.6rem;
    padding-right: 1rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
[dir="ltr"] .form-select {
    background-position: right .9rem center;
    padding-right: 2.6rem;
    padding-left: 1rem;
}
.form-select:focus { background-image: var(--rt-select-arrow); }

/* ---------- التسميات ---------- */
.form-label, .rt-search-card label, label {
    font-weight: 600;
    font-size: .85rem;
    color: #33475c;
    margin-bottom: .35rem;
}

/* ---------- مربعات الاختيار والراديو ---------- */
.form-check-input {
    width: 1.15em;
    height: 1.15em;
    border: 1.5px solid #b9cbe0;
    accent-color: var(--rt-primary);
    cursor: pointer;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.form-check-input:checked { background-color: var(--rt-primary); border-color: var(--rt-primary); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(27, 111, 168, .18); border-color: #1b6fa8; }
.form-check-label { cursor: pointer; font-weight: 500; }

/* ---------- مجموعات الإدخال (أيقونة + حقل) ---------- */
.input-group-text {
    background: #f1f6fb;
    border: 1.5px solid #d7e1ec;
    border-radius: 14px;
    color: var(--rt-primary);
    font-weight: 600;
}
.input-group > .form-control:not(:first-child),
.input-group > .form-select:not(:first-child) { border-start-start-radius: 0; border-end-start-radius: 0; }
.input-group > .input-group-text:not(:last-child) { border-start-end-radius: 0; border-end-end-radius: 0; }

/* ---------- حقول داخل الجداول والفلاتر: مدمجة ---------- */
table .form-control, table .form-select,
.rt-filter-bar .form-control, .rt-filter-bar .form-select {
    min-height: 40px;
    padding: .42rem .8rem;
    font-size: .9rem;
}

/* ---------- حالات التحقق ---------- */
.form-control.is-invalid, .form-select.is-invalid {
    border-color: var(--rt-danger);
    background-image: none;
}
.form-control.is-invalid:focus, .form-select.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(192, 69, 69, .14);
}
.form-control.is-valid, .form-select.is-valid { border-color: var(--rt-success); background-image: none; }

/* ---------- الأزرار: عمق وحركة احترافية ---------- */
.btn {
    border-radius: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: transform .16s ease, box-shadow .22s ease, filter .16s ease, background-color .16s ease;
}
.btn:not(:disabled):hover { transform: translateY(-1.5px); }
.btn:not(:disabled):active { transform: translateY(0) scale(.985); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-lg, .btn-group-lg > .btn { border-radius: 15px; }
.btn-sm, .btn-group-sm > .btn { border-radius: 10px; font-weight: 600; }
.btn-outline-secondary, .btn-outline-primary, .btn-outline-danger, .btn-outline-success {
    border-width: 1.5px;
    background: #fff;
}
.btn-outline-secondary:hover, .btn-outline-primary:hover,
.btn-outline-danger:hover, .btn-outline-success:hover { box-shadow: 0 6px 16px rgba(10, 44, 71, .12); }

/* ---------- البطاقات: لمسة حيوية عند التحويم ---------- */
.rt-card, .card {
    border-radius: var(--rt-radius-lg, 20px);
    transition: transform .22s ease, box-shadow .28s ease;
}
a.rt-card:hover, .rt-card.rt-hoverable:hover {
    transform: translateY(-3px);
    box-shadow: var(--rt-shadow-lift, 0 20px 48px rgba(10, 44, 71, .18));
}

/* ---------- النوافذ المنبثقة ---------- */
.modal-content { border-radius: 22px; border: none; box-shadow: 0 30px 80px rgba(10, 44, 71, .35); }
.modal-header { border-bottom: 1px solid #edf2f7; }
.modal-title { font-weight: 800; color: var(--rt-primary-dark); }

/* ---------- التنبيهات ---------- */
.alert { border-radius: 14px; border: none; box-shadow: 0 2px 10px rgba(10, 44, 71, .06); font-weight: 500; }

/* ---------- الجداول ---------- */
.table { --bs-table-hover-bg: #f4f8fc; }
.table thead th {
    font-size: .8rem;
    font-weight: 700;
    color: #5b7186;
    border-bottom-width: 2px;
    white-space: nowrap;
}

/* ---------- شريط التمرير (متصفحات WebKit) ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef3f8; }
::-webkit-scrollbar-thumb { background: #c3d3e4; border-radius: 8px; border: 2px solid #eef3f8; }
::-webkit-scrollbar-thumb:hover { background: #9fb8d0; }

/* ---------- تحديد النص بهوية العلامة ---------- */
::selection { background: rgba(217, 164, 65, .35); color: var(--rt-primary-dark); }

/* ---------- إتاحة: حلقة تركيز مرئية للوحة المفاتيح فقط ---------- */
.btn:focus-visible, a:focus-visible, .form-control:focus-visible, .form-select:focus-visible {
    outline: 2px solid #1b6fa8;
    outline-offset: 2px;
}

/* ---------- الشاشات الصغيرة: حقول أخف ---------- */
@media (max-width: 576px) {
    .form-control, .form-select { min-height: 44px; font-size: .92rem; }
}

/* ---------- المساعد الذكي (AI) ---------- */
.rt-ai-fab {
    position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 1060;
    width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
    background: linear-gradient(135deg, #14634B 0%, #1b6fa8 55%, #6a4fd8 100%);
    color: #fff; font-size: 26px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(20, 99, 75, .45);
    transition: transform .18s ease, box-shadow .18s ease;
}
.rt-ai-fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 30px rgba(27, 111, 168, .5); }
.rt-ai-fab-open { background: #43536b; font-size: 20px; }
.rt-ai-fab-spark { animation: rtAiGlow 2.6s ease-in-out infinite; }
@keyframes rtAiGlow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255,255,255,.4)); }
    50% { transform: scale(1.18); filter: drop-shadow(0 0 8px rgba(255,255,255,.85)); }
}

.rt-ai-panel {
    position: fixed; bottom: 92px; inset-inline-start: 22px; z-index: 1060;
    width: 370px; max-width: calc(100vw - 30px); height: 520px; max-height: calc(100vh - 120px);
    background: #fff; border-radius: 20px; overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 18px 55px rgba(10, 40, 70, .35);
    border: 1px solid #e2ecf5;
    animation: rtAiSlide .25s ease;
}
@keyframes rtAiSlide {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.rt-ai-head {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px;
    background: linear-gradient(135deg, #14634B 0%, #1b6fa8 60%, #6a4fd8 100%);
    color: #fff;
}
.rt-ai-avatar {
    width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
    background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.55);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.rt-ai-head-text { flex: 1; min-width: 0; }
.rt-ai-title { font-weight: 800; font-size: 1.02rem; }
.rt-ai-sub { font-size: .74rem; opacity: .92; display: flex; align-items: center; gap: 5px; }
.rt-ai-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
    box-shadow: 0 0 6px #4ade80; animation: rtAiDot 1.6s ease-in-out infinite;
}
@keyframes rtAiDot { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.rt-ai-close {
    background: rgba(255,255,255,.15); border: none; color: #fff;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 13px;
}
.rt-ai-close:hover { background: rgba(255,255,255,.3); }

.rt-ai-body {
    flex: 1; overflow-y: auto; padding: 14px 12px;
    background: linear-gradient(180deg, #f4f8fb 0%, #eef3f9 100%);
    display: flex; flex-direction: column; gap: 10px;
}
.rt-ai-msg { display: flex; align-items: flex-end; gap: 7px; max-width: 88%; }
.rt-ai-msg-bot { align-self: flex-start; }
.rt-ai-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.rt-ai-msg-avatar {
    width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
    background: linear-gradient(135deg, #14634B, #6a4fd8); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.rt-ai-bubble {
    padding: 9px 13px; border-radius: 15px; font-size: .88rem; line-height: 1.65;
    box-shadow: 0 2px 7px rgba(15, 45, 75, .08); word-break: break-word;
}
.rt-ai-msg-bot .rt-ai-bubble { background: #fff; color: #21364a; border-start-start-radius: 4px; }
.rt-ai-msg-user .rt-ai-bubble {
    background: linear-gradient(135deg, #14634B, #1b6fa8); color: #fff;
    border-start-end-radius: 4px;
}
.rt-ai-bubble a { color: #1b6fa8; font-weight: 700; }

.rt-ai-typing { display: flex; gap: 5px; align-items: center; padding: 12px 15px; }
.rt-ai-typing span {
    width: 7px; height: 7px; border-radius: 50%; background: #8aa5bd;
    animation: rtAiType 1.1s ease-in-out infinite;
}
.rt-ai-typing span:nth-child(2) { animation-delay: .18s; }
.rt-ai-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes rtAiType {
    0%, 60%, 100% { transform: translateY(0); opacity: .5; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.rt-ai-chips {
    display: flex; gap: 6px; padding: 8px 10px; overflow-x: auto;
    background: #fff; border-top: 1px solid #e6eef6;
}
.rt-ai-chips::-webkit-scrollbar { height: 4px; }
.rt-ai-chip {
    flex: 0 0 auto; border: 1px solid #cfe0ee; background: #f2f8fd; color: #1d4e72;
    border-radius: 20px; padding: 5px 11px; font-size: .76rem; font-weight: 600; cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.rt-ai-chip:hover { background: #dcecfb; transform: translateY(-1px); }

.rt-ai-input {
    display: flex; gap: 8px; padding: 10px 12px;
    background: #fff; border-top: 1px solid #e6eef6;
}
.rt-ai-field {
    flex: 1; border: 1px solid #d5e3ef; border-radius: 24px;
    padding: 9px 15px; font-size: .88rem; outline: none; min-width: 0;
}
.rt-ai-field:focus { border-color: #1b6fa8; box-shadow: 0 0 0 3px rgba(27,111,168,.12); }
.rt-ai-send {
    width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer; flex: 0 0 auto;
    background: linear-gradient(135deg, #14634B, #1b6fa8); color: #fff; font-size: 16px;
    transition: transform .15s ease;
}
.rt-ai-send:hover:not(:disabled) { transform: scale(1.08); }
.rt-ai-send:disabled { opacity: .5; cursor: default; }

@media (max-width: 576px) {
    .rt-ai-panel { inset-inline-start: 10px; inset-inline-end: 10px; width: auto; bottom: 86px; }
    .rt-ai-fab { inset-inline-start: 14px; bottom: 14px; width: 52px; height: 52px; }
}

/* ---------- محدد عملة العميل ---------- */
.rt-cur-menu { min-width: 190px; }
.rt-cur-item {
    display: flex; align-items: center; gap: 9px;
    padding: 9px 14px; border: none; background: none; width: 100%;
    text-align: start; font-size: .86rem; font-weight: 600; color: #21364a; cursor: pointer;
}
.rt-cur-item:hover { background: #f0f6fb; }
.rt-cur-item.active { background: #e7f2ec; color: #14634B; }
.rt-cur-sym {
    width: 26px; height: 26px; border-radius: 50%; background: #14634B; color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: .8rem;
}
.rt-cur-item.active .rt-cur-sym { background: #d9a441; color: #123; }


/* ══════════════ طبقة تحسين v145 — لمسة عالمية بنفس الهوية ══════════════ */

/* ظلال ناعمة وعمق أفضل للبطاقات */
.card, .rt-card, .rt-search-card {
    box-shadow: 0 6px 22px rgba(11, 45, 77, .07);
    border: 1px solid rgba(11, 45, 77, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}
.rt-offer-card:hover, .card.rt-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(11, 45, 77, .12);
}

/* أزرار الهوية — حركة ناعمة وتوهج ذهبي */
.btn-rt {
    box-shadow: 0 6px 16px rgba(217, 164, 65, .35);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-rt:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgba(217, 164, 65, .45); }
.btn-rt:active { transform: translateY(0); }

/* حلقات تركيز واضحة للوصولية */
.form-control:focus, .form-select:focus {
    border-color: var(--rt-primary);
    box-shadow: 0 0 0 3px rgba(14, 58, 93, .14);
}
button:focus-visible, a:focus-visible {
    outline: 2px solid var(--rt-accent);
    outline-offset: 2px;
}

/* حقول الإدخال — زوايا أنعم وخلفية موحدة */
.form-control, .form-select {
    border-radius: 12px;
    border-color: #e3eaf1;
    padding-block: .62rem;
}

/* الترويسة الرئيسية — زخرفة دوائر الهوية */
.rt-hero { position: relative; overflow: hidden; }
.rt-hero::before {
    content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
    background: rgba(255, 255, 255, .05); top: -140px; inset-inline-end: -100px;
    pointer-events: none;
}
.rt-hero::after {
    content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
    background: rgba(217, 164, 65, .09); bottom: -120px; inset-inline-start: -80px;
    pointer-events: none;
}

/* شارات المصدر والحالة */
.rt-src-badge {
    display: inline-block; padding: 2px 9px; border-radius: 999px;
    font-size: .68rem; font-weight: 700;
}

/* شريط التنقل السفلي والتبويبات — انتقالات أنعم */
.rt-tabs button { transition: background .15s ease, color .15s ease; }

/* تمرير سلس في الصفحة كلها */
html { scroll-behavior: smooth; }


/* ================================================================
   ترقية التصميم الشاملة (v155) — طبقة احترافية فوق كل الصفحات
   متناسقة مع الجوال والكمبيوتر — دون أي تغيير في الأكواد
   ================================================================ */

/* نصوص أنعم وأدق على كل الشاشات */
body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
::selection { background: rgba(217, 164, 65, .35); }

/* شريط تمرير أنيق */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #eef3f7; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0e3a5d, #155e8a);
    border-radius: 999px; border: 2px solid #eef3f7;
}

/* ظهور الصفحات بتلاشٍ ناعم */
.rt-main > * { animation: rtFadeIn .35s ease both; }
@keyframes rtFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- الترويسة: زجاجية ثابتة أعلى الصفحة ---------- */
.rt-header {
    position: sticky; top: 0; z-index: 1030;
    background: linear-gradient(135deg, rgba(8, 33, 56, .92) 0%, rgba(14, 58, 93, .92) 100%);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 6px 24px rgba(8, 33, 56, .35);
}
.rt-nav a {
    position: relative; transition: color .2s ease, background .2s ease;
    border-radius: 999px; padding: .45rem 1rem;
}
.rt-nav a:not(.active):hover { background: rgba(255, 255, 255, .1); }
.rt-nav a.active {
    background: linear-gradient(135deg, #d9a441, #c8932f);
    box-shadow: 0 4px 14px rgba(217, 164, 65, .4);
}
.rt-brand-icon, .rt-brand-logo {
    transition: transform .25s ease;
}
.rt-brand:hover .rt-brand-icon, .rt-brand:hover .rt-brand-logo { transform: scale(1.06) rotate(-4deg); }

/* ---------- البطل: تدرج أعمق ولمعة ذهبية ---------- */
.rt-hero {
    background:
        radial-gradient(900px 300px at 85% -50px, rgba(217, 164, 65, .18), transparent 60%),
        linear-gradient(160deg, #082138 0%, #0e3a5d 55%, #155e8a 100%);
}
.rt-hero h1 { letter-spacing: .2px; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }

/* ---------- بطاقة البحث: زجاجية فاخرة ---------- */
.rt-search-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 24px 60px rgba(8, 33, 56, .22), 0 2px 0 rgba(255, 255, 255, .5) inset;
}
.rt-tabs button { font-size: .92rem; }
.rt-tabs button.active {
    background: linear-gradient(135deg, #0b2d4d, #155e8a);
    box-shadow: 0 6px 16px rgba(11, 45, 77, .35);
}

/* ---------- الأزرار: ذهبية متدرجة بحركة ---------- */
.btn-rt {
    background: linear-gradient(135deg, #d9a441, #c8932f);
    color: #0a2c47; border-radius: 12px;
    box-shadow: 0 6px 16px rgba(217, 164, 65, .35);
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-rt:hover {
    background: linear-gradient(135deg, #e2b153, #d9a441);
    color: #082138; transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(217, 164, 65, .45);
}
.btn-rt:active { transform: translateY(0); }
.btn { border-radius: 12px; font-weight: 600; }
.btn-success { box-shadow: 0 4px 14px rgba(30, 142, 90, .3); }

/* ---------- الحقول: تركيز ذهبي واضح ---------- */
.form-control:focus, .form-select:focus {
    border-color: #d9a441;
    box-shadow: 0 0 0 4px rgba(217, 164, 65, .18);
}

/* ---------- البطاقات: حواف أنعم وتحليق عند المرور ---------- */
.rt-card {
    border-radius: 18px;
    border: 1px solid #e3eaf1;
    box-shadow: 0 4px 14px rgba(16, 42, 67, .06);
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.rt-card:hover {
    transform: translateY(-3px);
    border-color: rgba(217, 164, 65, .45);
    box-shadow: 0 16px 38px rgba(16, 42, 67, .13);
}
.rt-combo-chosen, .rt-card.rt-combo-chosen {
    border-color: #1e8e5a !important;
    box-shadow: 0 0 0 3px rgba(30, 142, 90, .18), 0 14px 34px rgba(16, 42, 67, .12) !important;
}

/* عناوين الأقسام بخط ذهبي أنيق */
.rt-section-title { position: relative; }
.rt-results-token {
    background: #eef3f7; border-radius: 999px; padding: .1rem .7rem;
    font-size: .85rem; font-weight: 700; color: var(--rt-primary);
}

/* بطاقات الرحلات: شعار أوضح وخط مسار أنظف */
.rt-airline-logo { border-radius: 10px; box-shadow: 0 2px 8px rgba(16, 42, 67, .12); }
.rt-airline-fallback {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, #eef3f7, #dfe8f0);
    color: var(--rt-primary); font-weight: 800;
}

/* ---------- الجداول: احترافية ومتجاوبة ---------- */
.table { border-radius: 14px; overflow: hidden; }
.table thead th {
    background: linear-gradient(135deg, #0b2d4d, #123c5e);
    color: #fff; font-weight: 700; border: none; padding: .7rem .8rem;
}
.table tbody tr { transition: background .15s ease; }
.table tbody tr:hover { background: #f6f9fc; }
.table-striped tbody tr:nth-of-type(odd) { background: #fafcfe; }

/* ---------- شريط الإجمالي اللاصق ---------- */
.rt-summary-bar {
    background: linear-gradient(135deg, #082138, #155e8a);
    border-radius: 18px; backdrop-filter: blur(8px);
    box-shadow: 0 -10px 34px rgba(8, 33, 56, .4);
}

/* ---------- التنبيهات واللوحات ---------- */
.alert { border-radius: 14px; border: none; box-shadow: 0 4px 14px rgba(16, 42, 67, .07); }
.rt-filter-card, .card { border-radius: 18px; border: 1px solid #e3eaf1; box-shadow: 0 4px 14px rgba(16, 42, 67, .05); }

/* ---------- التذييل ---------- */
.rt-footer {
    background: linear-gradient(180deg, #0a2c47, #071c2e);
    box-shadow: 0 -8px 30px rgba(8, 33, 56, .25);
}

/* ---------- الجوال: ضبط دقيق ---------- */
@media (max-width: 767.98px) {
    .rt-hero { padding: 2.2rem 0 5rem; }
    .rt-hero h1 { font-size: 1.55rem; }
    .rt-search-card { margin-top: -3.2rem; padding: 1.1rem; border-radius: 18px; }
    .rt-card { padding: 1rem; border-radius: 16px; }
    .rt-summary-bar { border-radius: 14px; padding: .75rem .9rem; font-size: .9rem; }
    .rt-time .t { font-size: 1.05rem; }
    .btn-rt { padding: .6rem 1.3rem; }
    .container { padding-inline: 14px; }
}
@media (max-width: 575.98px) {
    .rt-flight { gap: .6rem; }
    .rt-class-mini { width: 100%; order: 5; }
    .table { font-size: .85rem; }
}


/* ---------- مؤشر انتظار الإصدار/الإلغاء في حجوزاتي ---------- */
.rt-acting-row td { background: #fbfdff !important; border-top: none; }
.rt-acting {
    display: flex; align-items: center; gap: .7rem;
    padding: .55rem .9rem;
    background: linear-gradient(135deg, rgba(217, 164, 65, .08), rgba(21, 94, 138, .06));
    border: 1px dashed rgba(217, 164, 65, .5);
    border-radius: 12px;
    color: var(--rt-primary);
}
.rt-acting-spin {
    width: 22px; height: 22px; flex: none;
    border: 3px solid rgba(217, 164, 65, .25);
    border-top-color: #d9a441;
    border-radius: 50%;
    animation: rtSpin .8s linear infinite;
}
@keyframes rtSpin { to { transform: rotate(360deg); } }

/* تنبيه اكتمال الحساب (هاتف غير مؤكد) — شريط عنبري هادئ قابل للإغلاق */
.rt-phone-reminder {
    background: #fff6e5;
    border-bottom: 1px solid #eac97e;
    color: #6b4e08;
    padding: .45rem 0;
    font-size: .86rem;
}
.rt-phone-reminder-btn {
    background: #b07a10; color: #fff !important; border-radius: 999px;
    font-weight: 800; padding: .15rem .9rem;
}
.rt-phone-reminder-btn:hover { background: #8f620c; }
.rt-phone-reminder-x {
    background: none; border: 0; color: #b07a10;
    font-size: .95rem; font-weight: 700; cursor: pointer; padding: 0 .25rem;
}
.rt-ticket-arrdate { font-size:.72rem; color:#1E7A45; font-weight:700; margin-top:2px; }


/* ================================================================
   v165 — إعادة تصميم الترويسة والقائمة + بنرات الصفحة الرئيسية
   ================================================================ */

/* ---------- الترويسة: أنحف وأرشق ---------- */
.rt-header .container { padding-top: .55rem !important; padding-bottom: .55rem !important; }
.rt-brand strong { font-size: 1.02rem; }
.rt-brand small { font-size: .62rem; opacity: .7; }
.rt-brand-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1.2rem; }
.rt-brand-logo { height: 40px; }

/* ---------- قائمة التنقل: كبسولة زجاجية موحدة (كمبيوتر) ---------- */
@media (min-width: 993px) {
    .rt-nav {
        background: rgba(255, 255, 255, .07);
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 999px;
        padding: 4px;
        gap: 2px;
        flex-wrap: nowrap;
    }
    .rt-nav a, .rt-nav .rt-dd-btn {
        border-radius: 999px;
        padding: .42rem .95rem;
        font-size: .9rem;
        font-weight: 600;
        white-space: nowrap;
        line-height: 1.45;
        display: inline-flex;
        align-items: center;
        gap: .3rem;
    }
    .rt-nav a.active {
        background: linear-gradient(135deg, #e8b654, #d9a441);
        color: #0a2c47 !important;
        font-weight: 800;
        box-shadow: 0 4px 14px rgba(217, 164, 65, .45);
    }
    .rt-nav a:not(.active):hover,
    .rt-nav .rt-dd-btn:hover,
    .rt-nav .rt-dd.open .rt-dd-btn {
        background: rgba(255, 255, 255, .14);
        color: #fff;
        transform: none;
    }
    /* القوائم المنسدلة تُفتح بالنقر فقط على الكمبيوتر — المرور العرضي لا يشتت */
    .rt-dd:hover .rt-dd-menu { display: none; }
    .rt-dd.open .rt-dd-menu,
    .rt-dd.open:hover .rt-dd-menu { display: flex; }
    .rt-dd.open .rt-svc-menu, .rt-dd.open:hover .rt-svc-menu { display: grid; }
}

/* ---------- القوائم المنسدلة: بطاقة عائمة أنيقة ---------- */
.rt-dd-menu {
    top: calc(100% + 10px);
    border-radius: 16px;
    border: 1px solid #e6edf4;
    box-shadow: 0 20px 48px rgba(8, 33, 56, .24);
    padding: 8px;
    animation: rtMenuIn .18s ease;
}
@keyframes rtMenuIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.rt-dd-menu a { border-radius: 10px; padding: .55rem .8rem; font-weight: 600; }
.rt-dd-menu a:hover { background: #f0f6fb; }
.rt-dd-menu a.active { background: #fdf4e0 !important; color: #8a5f0a !important; }

/* الميجا منيو (خدماتي) */
.rt-svc-menu { min-width: 560px; border-radius: 20px; gap: 10px; padding: 14px; }
.rt-svc-menu a.rt-svc-btn { border-radius: 14px; padding: 15px 10px; }
.rt-svc-ico { border-radius: 14px; }

/* شارة الإشعارات داخل الكبسولة */
.rt-nav .rt-badge { position: static; margin-inline-start: 2px; }

/* ---------- أزرار الحساب: كبسولات متناسقة ---------- */
.rt-auth .btn, .rt-auth .rt-dd-btn { border-radius: 999px; }
.rt-auth .btn-light {
    background: linear-gradient(135deg, #e8b654, #d9a441);
    border: none; color: #0a2c47; font-weight: 800;
    box-shadow: 0 4px 14px rgba(217, 164, 65, .4);
}
.rt-auth .btn-light:hover { background: linear-gradient(135deg, #f0c061, #e0ab48); color: #082138; }
.rt-user {
    max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    background: rgba(255, 255, 255, .08); border-radius: 999px; padding: .3rem .8rem;
}

/* ---------- قائمة الجوال: لوحة أنظف ---------- */
@media (max-width: 992px) {
    .rt-head-links {
        width: min(340px, 92vw);
        border-radius: 0 0 18px 18px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-top: none;
        background: rgba(8, 33, 56, .97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    html[dir="ltr"] .rt-head-links { border-radius: 0 0 18px 18px; }
    .rt-head-links .rt-nav a { border-radius: 12px; font-weight: 600; }
    .rt-head-links .rt-nav a.active {
        background: linear-gradient(135deg, #e8b654, #d9a441);
        color: #0a2c47 !important;
    }
    .rt-menu-btn { border-radius: 12px; }
}

/* ---------- بنرات الصفحة الرئيسية ---------- */
.rt-banners {
    position: relative; margin-top: 1.6rem;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 14px 36px rgba(10, 44, 71, .16);
    border: 1px solid rgba(14, 58, 93, .08);
}
.rt-banners-track { display: flex; transition: transform .55s cubic-bezier(.22, .8, .3, 1); }
.rt-banner-slide { flex: 0 0 100%; display: block; min-width: 0; }
.rt-banner-slide img { width: 100%; height: 240px; object-fit: cover; display: block; }
.rt-banner-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%; border: none;
    background: rgba(8, 33, 56, .55); color: #fff; font-size: 1.35rem; line-height: 1;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    backdrop-filter: blur(4px); transition: background .2s ease; z-index: 3;
}
.rt-banner-nav:hover { background: rgba(8, 33, 56, .85); }
.rt-banner-nav.prev { inset-inline-start: 12px; }
.rt-banner-nav.next { inset-inline-end: 12px; }
.rt-banner-dots {
    position: absolute; bottom: 10px; inset-inline: 0;
    display: flex; justify-content: center; gap: 6px; z-index: 3;
}
.rt-banner-dot {
    width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0;
    background: rgba(255, 255, 255, .55); cursor: pointer; transition: all .25s ease;
}
.rt-banner-dot.active { width: 22px; background: #e8b654; }
@media (max-width: 768px) {
    .rt-banner-slide img { height: 150px; }
    .rt-banner-nav { width: 32px; height: 32px; font-size: 1.1rem; }
}

/* ---------- v173: بنرات الموقع فوق بطاقة البحث (نمط Trip.com) ---------- */
.rt-banners-top { margin-top: 1.3rem; }
.rt-banners-top .rt-banner-slide img { height: 280px; }
.rt-banners-top .rt-banner-dots { bottom: 58px; } /* فوق حافة بطاقة البحث المتداخلة */
.rt-search-card-overlap { margin-top: -48px; position: relative; z-index: 5; }
@media (max-width: 768px) {
    .rt-banners-top .rt-banner-slide img { height: 175px; }
    .rt-banners-top .rt-banner-dots { bottom: 48px; }
    .rt-search-card-overlap { margin-top: -38px; }
}

/* ---------- v173: ظهور ناعم لبطاقات النتائج + رفع عند التحويم ---------- */
.rt-oneway, .rt-combo { animation: rt-rise .45s cubic-bezier(.22, .8, .3, 1) both; }
@keyframes rt-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.rt-oneway, .rt-combo { transition: box-shadow .2s ease, transform .2s ease; }
.rt-oneway:hover, .rt-combo:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(10, 44, 71, .14);
}
@media (prefers-reduced-motion: reduce) {
    .rt-oneway, .rt-combo { animation: none; }
}

/* ================================================================
   v173 — مؤشر انتظار «إقلاع» بلا خلفية: مسار منقّط + طائرة SVG
   تلتف مع اتجاه المسار (animateMotion rotate=auto) + ذيل ذهبي
   ================================================================ */

.rt-flight-loader { text-align: center; padding: 1.6rem 1rem 1.4rem; }
.rt-loader-svg { width: min(320px, 82vw); height: auto; display: block; margin: 0 auto; overflow: visible; }

/* المسار المنقّط الكامل */
.rt-lp-track {
    stroke: #c8d7e3; stroke-width: 2.4; stroke-linecap: round;
    stroke-dasharray: 0.5 9;
}

/* الذيل الذهبي: مقطع قصير خلف الطائرة مباشرة — pathLength=100 يجعل
   16 = 16% من طول المسار، وdashoffset يتحرك بنفس توقيت animateMotion */
.rt-lp-trail {
    stroke: var(--rt-accent); stroke-width: 3; stroke-linecap: round;
    stroke-dasharray: 16 216;
    animation: rt-trail-move 3s cubic-bezier(.45, .05, .35, 1) infinite;
}
@keyframes rt-trail-move { from { stroke-dashoffset: 16; } to { stroke-dashoffset: -84; } }

/* الطائرة — تظهر وتختفي مع بداية/نهاية الدورة */
.rt-lp-plane { fill: var(--rt-primary); animation: rt-plane-fade 3s cubic-bezier(.45, .05, .35, 1) infinite; }
@keyframes rt-plane-fade { 0% { opacity: 0; } 8% { opacity: 1; } 86% { opacity: 1; } 100% { opacity: 0; } }

/* نقطة الانطلاق النابضة */
.rt-lp-origin { fill: var(--rt-accent); }
.rt-lp-origin-ring {
    fill: none; stroke: var(--rt-accent); stroke-width: 1.6;
    transform-box: fill-box; transform-origin: center;
    animation: rt-origin-pulse 1.6s ease-out infinite;
}
@keyframes rt-origin-pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

.rt-loader-msg { margin: .8rem 0 .45rem; font-weight: 700; color: var(--rt-primary); }
.rt-loader-dots { display: inline-flex; gap: 6px; }
.rt-loader-dots span {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--rt-accent);
    animation: rt-dot 1.15s ease-in-out infinite;
}
.rt-loader-dots span:nth-child(2) { animation-delay: .16s; }
.rt-loader-dots span:nth-child(3) { animation-delay: .32s; }
@keyframes rt-dot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-6px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .rt-lp-plane, .rt-lp-trail, .rt-lp-origin-ring, .rt-loader-dots span { animation: none; }
    .rt-lp-plane { opacity: 1; }
    .rt-lp-trail { display: none; }
}

/* ---------- رابط «شروط التذكرة» على بطاقات الرحلات ---------- */
.rt-rules-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rt-rules-leg-title {
    font-weight: 800; color: var(--rt-primary); font-size: .88rem;
    margin: .55rem 0 .15rem; padding-bottom: .25rem;
    border-bottom: 1px dashed #e2d9c2;
}
.rt-rules-leg-title:first-of-type { margin-top: 0; }

/* الدولة المقترحة (وجهة آخر بحث طيران) — تظهر أولاً بإطار ذهبي */
.rt-esim-country.suggested {
    border-color: var(--rt-accent);
    background: #fffaf0;
    box-shadow: 0 4px 14px rgba(217, 164, 65, .22);
}
.rt-esim-country.suggested small { color: #92610a; font-weight: 700; }
