﻿
/*Shadkam*/

ol {
    list-style-type: persian;
    margin-top: 3px;
    margin-right: 25px;
}

ul {
    margin-top: 3px;
    margin-right: 25px;
}

.bold-text {
    font-weight: bold;
}

.top-margin-text {
    margin-top: 5px;
}

/* ===== Clean focus: remove default browser outline, keep our custom ring ===== */
.cheapflightpage-search .search-trips-pr .search-chptrip .chp-from label,
.cheapflightpage-search .search-trips-pr .search-chptrip .chp-to label,
.cheapflightpage-search .search-trips-pr .search-dates .search-datefrom label,
.cheapflightpage-search .search-trips-pr .search-dates .search-dateto label,
.cheapflightpage-search .search-trips-pr .search-chptrip .chp-chng,
.cheapflightpage-search .search-btnsearch button {
    outline: 0;
}
.cheapflightpage-search .search-trips-pr .search-chptrip .chp-from label:focus-within,
.cheapflightpage-search .search-trips-pr .search-chptrip .chp-to label:focus-within,
.cheapflightpage-search .search-trips-pr .search-dates .search-datefrom label:focus-within,
.cheapflightpage-search .search-trips-pr .search-dates .search-dateto label:focus-within,
.cheapflightpage-search .search-trips-pr .search-chptrip .chp-chng:focus,
.cheapflightpage-search .search-btnsearch button:focus {
    outline: 0;
}
/* keep the button's hover shadow while it is focused after a click */
.cheapflightpage-search .search-btnsearch button:focus {
    box-shadow: 0 4px 12px rgba(0, 116, 221, 0.3);
}
/* inner controls: the wrapper label draws the ring, so no outline / shadow on the control itself */
.cheapflightpage-search input:focus,
.cheapflightpage-search select:focus {
    outline: 0;
    box-shadow: none;
}
.cheapflightpage-search .search-tripsetting-ways select:focus,
.cheapflightpage-search .search-tripsetting-passengers .passengers-count:focus {
    outline: 0;
}

/* ===== Homepage: no default browser outline on clicked/focused controls ===== */
/* Scopes: top nav (.navbr), services menu (.menu, which has tabindex=0), search zone */
.navbr a:focus,
.navbr a:active,
.menu:focus,
.menu a:focus,
.menu a:active,
.menu span:focus,
.search-zone a:focus,
.search-zone a:active,
.search-zone button:focus,
.search-zone button:active,
.search-zone input:focus,
.search-zone input:active,
.search-zone select:focus,
.search-zone select:active,
.search-zone label:focus-within,
.cheapflightpage a:focus,
.cheapflightpage a:active,
.cheapflightpage button:focus,
.cheapflightpage button:active,
.cheapflightpage input:focus,
.cheapflightpage select:focus {
    outline: 0 !important;
    -webkit-tap-highlight-color: transparent;
}
.navbr a,
.menu,
.search-zone a,
.search-zone button {
    -webkit-tap-highlight-color: transparent;
}

/* ===== Root-cause fix: main.css draws a global ":focus-visible { outline: 2px solid #2563eb }" ring =====
   (a/button/input/select/textarea/[tabindex]/[role=button|link]). This file is loaded only on the homepage,
   so it is overridden here, page-wide, with !important and the same :focus-visible state. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
[role="link"]:focus-visible,
.cheapflightpage *:focus,
.cheapflightpage *:focus-visible,
.navbr *:focus,
.navbr *:focus-visible,
.menu:focus,
.menu *:focus,
.menu *:focus-visible {
    outline: 0 !important;
    outline-offset: 0 !important;
    -webkit-tap-highlight-color: transparent;
}
