.recent-flight-searches {
    --recent-ink: #25313e;
    --recent-muted: #85909e;
    --recent-line: #e7ecf2;
    --recent-accent: var(--mainColor, #1769aa);
    position: relative;
    min-width: 0;
    margin: 12px 0 0;
    padding: 12px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    background: transparent;
    color: var(--recent-ink);
    text-align: start;
    direction: rtl;
    line-height: 1.8;
}
.recent-flight-searches[hidden] { display: none !important; }
.recent-flight-searches * { box-sizing: border-box; }
.recent-flight-searches button { font-family: inherit; cursor: pointer; }
.recent-flight-searches__header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.recent-flight-searches__header h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--recent-ink); font-size: 14px; font-weight: 700; line-height: 1.8; }
.recent-flight-searches__header h3::before { content: ''; display: block; width: 17px; height: 17px; border: 1.5px solid #a2adba; border-radius: 50%; background: linear-gradient(#a2adba,#a2adba) 7px 3px/1.5px 5px no-repeat,linear-gradient(#a2adba,#a2adba) 7px 7px/4px 1.5px no-repeat; }
.recent-flight-searches__header button { flex-shrink: 0; min-height: 32px; padding: 4px 8px; border: 0; border-radius: 7px; background: transparent; color: var(--recent-muted); font-size: 11px; line-height: 1.8; }
.recent-flight-searches__header button:hover { background: #f5f7fa; color: #526173; }
.recent-flight-searches__list { display: flex; gap: 8px; min-width: 0; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; scrollbar-color: #dbe2eb transparent; scroll-snap-type: x proximity; }
.recent-flight-searches__card { position: relative; display: flex; flex: 0 0 260px; min-width: 0; border: 1px solid var(--recent-line); border-radius: 10px; background: #fff; scroll-snap-align: start; transition: border-color .15s, box-shadow .15s; }
.recent-flight-searches__card:hover { border-color: #cbd5e1; box-shadow: 0 4px 14px rgba(37,49,62,.06); }
.recent-flight-searches__select { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; align-items: center; gap: 7px 8px; width: 100%; min-height: 110px; margin: 0; padding: 12px; border: 0; border-radius: inherit; background: transparent; text-align: start; color: inherit; line-height: 1.8; }
.recent-flight-searches__route { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-inline-end: 24px; font-size: 13px; font-weight: 700; }
.recent-flight-searches__city { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-flight-searches__arrow { flex-shrink: 0; color: var(--recent-accent); font-family: Arial,sans-serif; font-size: 18px; font-weight: 400; }
.recent-flight-searches__dates { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.recent-flight-searches__date { display: inline-flex; align-items: center; gap: 6px; }
.recent-flight-searches__date-label { color: var(--recent-muted); font-size: 10px; }
.recent-flight-searches__date-value { color: #526173; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.recent-flight-searches__details { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: auto; color: var(--recent-muted); font-size: 10px; }
.recent-flight-searches__badge { padding: 0 5px; border-radius: 4px; background: #f2f5f8; color: #748091; }
.recent-flight-searches__passengers { color: #748091; font-size: 10px; }
.recent-flight-searches__action { margin: 0; padding: 0; background: transparent; color: var(--recent-accent); font-size: 10px; font-weight: 500; white-space: nowrap; }
.recent-flight-searches__remove { position: absolute; inset-inline-end: 5px; top: 7px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #a4aeba; font-family: Arial,sans-serif !important; font-size: 21px; font-weight: 400; line-height: 1; }
.recent-flight-searches__remove:hover { background: #f2f5f8; color: #526173; }
.recent-flight-searches button:focus-visible { outline: 2px solid var(--recent-accent); outline-offset: 2px; }
.recent-flight-searches__status { margin: 10px 0 0; color: #64748b; font-size: 12px; line-height: 1.9; }
.recent-flight-searches__status:empty { display: none; }
@media (max-width: 575px) {
    .recent-flight-searches { margin-top: 10px; padding: 10px; border-radius: 10px; }
    .recent-flight-searches__header { margin-bottom: 6px; }
    .recent-flight-searches__header h3 { font-size: 13px; }
    .recent-flight-searches__card { flex-basis: min(260px, 82vw); }
    .recent-flight-searches__select { min-height: 110px; }
    .recent-flight-searches__route { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .recent-flight-searches__card { transition: none; }
    .recent-flight-searches__list { scroll-snap-type: none; }
}
