:root {
  --blue-color: #3749F0;
  --dan-color: #0079C2;
  --egged-color: #009639;
  --metropoline-color: #D42E83;
  --kavim-color: #FFD700;
  --afikim-color: #00B2A9;
  --superbus-color: #6A1B9A;
  --nateevexpress-color: #F57C00;
  --tnufa-color: #9E9E9E;
  --extra-color: #D32F2F;
  --danbadarom-color: #38A8EC;
  --button-shadow1: 0px 0px 1px 0px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
}

html, body {
  height: 100%;
}

body {
  background: #f4f4f4;
}

fieldset {
  border: none;
}

h1 {
  font-weight: 600;
}

h2 {
  margin-top: 0;
}

h3 {
  margin: 8px 0;
}

a {
  text-decoration: none;
  color: #000;
}

p {
  margin: 8px 0;
  font-size: 16px;
  line-height: 22px;
}

li {
  margin-bottom: 10px;
  line-height: 22px;
}

.rtl {
  direction: rtl;
  text-align: right;
}

nav {
  display: flex;
  align-items: center;
  z-index: 1000;
}

nav h1 {
  font-size: 20px;
}

nav a {
  margin-left: 10px;
}

.header-content {
  display: flex;
  align-items: center;
  padding: 1rem;
}

header .logo {
  font-weight: 600;
  font-size: 21px;
  margin-right: auto;
  z-index: 9;
}

.rtl header .logo {
  margin-left: auto;
  margin-right: 0;
}

header .logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-color);
}

.logo a:hover {
  cursor: pointer;
}

header .logo:hover svg {
  fill: var(--blue-color);
}

.header {
  position: fixed;
  width: 100%;
  z-index: 9999;
}

nav .menu {
  display: flex;
  align-items: center;
  box-shadow: --var(button-shadow1);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  z-index: 900;
}

nav .menu:hover {
  background: #000;
  fill: #fff;
  color: #fff;
  cursor: pointer;
}

nav .menu:hover path {
  fill: #fff;
}

nav .menu span {
  margin-left: 8px;
}

.rtl nav .menu span {
  margin-right: 8px;
  margin-left: 0px;
}

.popup-menu {
  background: #fff;
  float: right;
  padding: 1rem;
  border-radius: 10px;
}

.rtl .popup-menu {
  float: left;
}

.popup-menu ul {
  list-style-type: none;
}

.header-full {
  display: none;
  box-shadow: var(button-shadow1);
  flex-direction: column;
  width: 350px;
  right: 15px;
  overflow: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  position: relative;
}
@media (max-width: 600px) {
  .header-full {
    height: 100%;
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    padding: 6rem 1rem 0;
  }
}

.header-full a:hover {
  color: var(--blue-color);
}

.rtl .header-full {
  right: -15px;
}

/* NAV MENU */
.menu-list {
  list-style: none;
}

.menu-list li {
  font-size: 20px;
}

.menu-list li a {
  padding: 10px 10px 10px 10px;
  border-radius: 10px;
  font-size: 20px;
  display: block;
  border: 1px solid #fff;
}

.menu-list li a:hover {
  border: 1px solid #3749F0;
}

.icon_open_menu {
  display: block;
}

.opened .icon_open_menu {
  display: none;
}

.text_open_menu {
  display: block;
}

.opened .text_open_menu {
  display: none;
}

.icon_close_menu {
  display: none;
}

.opened .icon_close_menu {
  display: block;
}

.text_close_menu {
  display: none;
}

.opened .text_close_menu {
  display: block;
}

.language-switcher {
  transform: translateX(-116px) translateY(-8px);
}
@media (max-width: 600px) {
  .language-switcher {
    transform: none;
  }
}

.rtl .language-switcher {
  transform: translateX(116px) translateY(-8px);
}

.place-hero {
  margin-bottom: 20px;
}

#place-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
@media (max-width: 800px) {
  #place-container {
    flex-direction: column-reverse;
    gap: 20px;
  }
}

#place-container p {
  line-height: 1.7em;
}

.photo-label {
  margin-bottom: 15px;
  font-style: italic;
  font-size: 13px;
  display: block;
  text-align: center;
}

.insert {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.aside {
  flex: 1;
  min-width: 250px;
}

.slider {
  margin-bottom: 50px;
}

.slide {
  max-width: 600px;
  margin: 0 auto;
  border-radius: 10px;
  display: flex;
  align-items: baseline;
  font-size: 40px;
  justify-content: unset;
  font-weight: bold;
  flex-direction: column;
  transition: 0.3s ease;
  background-size: cover;
}
@media (max-width: 800px) {
  .slide {
    width: 100%;
  }
}

.slide:hover {
  opacity: 0.8;
}

.slide-link {
  position: relative;
  height: 300px;
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
}
@media (max-width: 600px) {
  .slide-link {
    height: 245px;
  }
}

.slide-link .slide-text {
  z-index: 9;
}

.slide-link img {
  z-index: 1;
  position: absolute;
  max-width: 100%;
  border-radius: 10px;
}

/* --- Layout: mobile-first (map full screen; sheet overlays) --- */
.app {
  position: relative;
  height: 100%;
}

.mapShell {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mapViewport {
  position: absolute;
  inset: 0;
  touch-action: none;
  user-select: none;
  z-index: 1;
}

/* Floating controls */
.floors {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}

.floorBtn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #fff;
  cursor: pointer;
}

.floorBtn:hover {
  background: black;
  color: white;
}

.floorBtn.active {
  outline: 2px solid #000;
}

.zoomControls {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9;
}

.zBtn:hover {
  background: black;
  color: white;
}

.zBtn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #fff;
  cursor: pointer;
}

/* Status pill floats ABOVE the sheet */
.statusPill {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(var(--sheetVisible, 74px) + 10px);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--stroke);
  padding: 10px 12px;
  z-index: 6;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.statusPill .mini {
  opacity: 0.75;
}

.statusPill .bold {
  font-weight: 900;
}

/* --- Bottom sheet: unified Services + Details --- */
.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--stroke);
  z-index: 20;
  height: min(78vh, 680px); /* full height */
  transform: translateY(var(--sheetY, 0px));
  transition: transform 220ms ease;
  will-change: transform;
  overflow: hidden;
  touch-action: none; /* we manage drag */
}

.sheet.dragging {
  transition: none;
}

.sheetHeader {
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  user-select: none;
}

.handle {
  width: 54px;
  height: 5px;
  background: #cfcfd6;
  border-radius: 999px;
  margin: 4px auto 0;
}

.topRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.tabBtn {
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}

.tabBtn.active {
  outline: 2px solid #000;
}

.sheetBody {
  height: calc(100% - 92px);
  overflow: auto;
  padding: 0 12px 12px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.hint {
  opacity: 0.68;
  line-height: 1.35;
  margin: 0;
}

.poiRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 8px;
  cursor: pointer;
}

.poiRow:hover {
  background: #f6f6fb;
}

.pill {
  padding: 3px 8px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  white-space: nowrap;
}

.detailsCard {
  border: 1px solid var(--stroke);
  padding: 12px;
  background: #fff;
}

/* SVG hit + selection */
.svgRoot [data-place] {
  cursor: pointer;
}

.svgRoot [data-place].selected {
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.25));
}

/* --- Desktop: right panel fixed width --- */
@media (min-width: 980px) {
  .app {
    display: grid;
    grid-template-columns: 260px 1fr;
  }
  .mapShell {
    position: relative;
    inset: auto;
  }
  .sheet {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: 100%;
    border: 1px solid var(--stroke);
    transform: none !important;
    touch-action: auto;
  }
  .sheetHeader .handle {
    display: none;
  }
  .statusPill {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .floors {
    flex-direction: row-reverse;
  }
  .zoomControls {
    top: 50%;
    transform: translateY(-50%);
  }
}
.poiIcon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.poiIcon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.placePopup .leaflet-popup-content-wrapper {
  border-radius: 12px;
  border: 1px solid var(--stroke, #d9d9d9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.placePopup .leaflet-popup-content {
  margin: 8px 10px;
}

.placePopupInner {
  font-weight: 800;
  white-space: nowrap;
}

.placePopup .leaflet-popup-tip {
  border: 1px solid var(--stroke, #d9d9d9);
}

.leaflet-marker-icon {
  cursor: pointer;
}

/* only elements that represent places */
[data-place] {
  cursor: pointer;
  pointer-events: auto;
}

/* list.css - styles for list_module (map list) inside the map sheet */
#panelRoot {
  padding: 10px 12px 16px;
}

/* Header */
.mlHeader {
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(10px);
  padding: 10px 0 8px;
}

.mlSearchRow {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mlSearch {
  width: 100%;
  border: 2px solid var(--blue-color);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.mlClear {
  width: 36px;
  height: 36px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.mlBack {
  margin-top: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  border-radius: 12px;
  background: #fff;
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
}

.mlBack:hover {
  border: 1px solid var(--blue-color);
  color: var(--blue-color);
}

/* Category tree */
.mlSection {
  margin: 10px 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.mlCat {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 500;
  font-size: 15px;
}

.mlCat:hover {
  color: var(--blue-color);
}

.mlArrow {
  width: 18px;
  color: var(--muted);
  font-weight: 100;
  text-align: right;
}

.mlList {
  list-style: none;
  margin: 0;
  padding: 0 0 10px 0;
}

.mlList li {
  margin-bottom: 0px;
  line-height: normal;
}

.mlLink {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  padding: 7px 5px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 100;
}

.mlLink:hover {
  color: var(--blue-color);
}

/* Places list */
.mlGroupTitle {
  font-weight: 400;
  font-size: 16px;
  margin: 2px 2px 10px;
}

.mlPlaces {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mlPlaces li {
  margin: 0;
}

.mlPlaces .selected .mlPlaceBtn {
  color: var(--blue-color);
}

.mlPlaceBtn {
  display: grid;
  row-gap: 0.6rem;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  border: 1px solid transparent;
}

.mlPlaceBtn:hover {
  color: var(--blue-color);
  border: 1px solid var(--blue-color);
}

.mlPlaceName {
  font-weight: 700;
  font-size: 14px;
}

.mlPlaceSub {
  font-size: 11px;
  color: var(--muted);
}

.empty {
  border: 1px dashed var(--stroke);
  border-radius: 14px;
  padding: 14px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

[data-place] {
  cursor: pointer;
}

.content {
  padding: 0 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer {
  padding: 0 10px;
  font-size: 14px;
  text-decoration: none;
  font-weight: normal;
  color: #000;
  margin-top: 100px;
  margin-bottom: 20px;
  opacity: 0.5;
  display: flex;
  justify-content: space-between;
}

.footer a:hover {
  color: var(--blue-color);
  opacity: 1;
  cursor: pointer;
}

.search-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.search-bar input {
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 10px;
  border: 1px solid #DCDCDC;
  width: 100%;
  /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); */
}

.bus-number {
  font-size: 2rem;
  font-weight: 400;
  flex: 0 0 auto;
  margin-right: 1rem;
  color: #333;
}

.bus-destination {
  flex: 1;
  text-align: left;
  font-size: 1.05rem;
  color: #222;
}

.bus-meta {
  flex: 0 0 auto;
  text-align: right;
  font-size: 0.9rem;
  color: #555;
}

input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
}

#searchInput {
  width: 100%;
  border: 2px solid var(--blue-color);
  margin: 20px 0;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 16px;
  padding: 10px;
}

#searchInput:hover {
  background: #D7DBFC;
}

.operator-1 {
  border-bottom: 3px solid var(--dan-color);
}

.operator-2 {
  border-bottom: 3px solid var(--egged-color);
}

.operator-3 {
  border-bottom: 3px solid var(--metropoline-color);
}

.operator-4 {
  border-bottom: 3px solid var(--kavim-color);
}

.operator-5 {
  border-bottom: 3px solid var(--afikim-color);
}

.operator-6 {
  border-bottom: 3px solid var(--superbus-color);
}

.operator-7 {
  border-bottom: 3px solid var(--nateevexpress-color);
}

.operator-8 {
  border-bottom: 3px solid var(--tnufa-color);
}

.operator-9 {
  border-bottom: 3px solid var(--extra-color);
}

.operator-10 {
  border-bottom: 3px solid var(--danbadarom-color);
}

.bus-card-mini {
  font-size: 16px;
  transition: 0.3s ease;
  display: grid;
  grid-template-areas: "line destination-city platform" "line destination-place floor" "line destination-place area";
  grid-template-columns: 1fr 4fr;
  row-gap: 0.6rem;
  width: 100%;
  border: 1px solid #fff;
  background: #fff;
  margin-bottom: 10px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 12px;
}

.bus-card-mini:hover {
  border: 1px solid var(--blue-color);
}

.bus-card {
  font-size: 16px;
  transition: 0.3s ease;
  display: grid;
  grid-template-areas: "line destination-city platform" "line destination-place floor" "line destination-place area";
  grid-template-columns: 1fr 4fr 2fr;
  row-gap: 0.6rem;
  width: 100%;
  border: 1px solid #fff;
  background: #fff;
  margin-bottom: 10px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 12px;
}

.bus-card:hover {
  border: 1px solid var(--blue-color);
}

.bus-card-example {
  background: none;
  font-size: 13px;
  row-gap: 4px;
  border: none;
  font-style: italic;
  padding: 0px 10px;
}

.bus-card-example:hover {
  border: none;
}

.platform-number {
  display: inline;
  padding: 4px 6px;
  background: var(--blue-color);
  color: #fff;
  border-radius: 7px;
}

.bus-list-line {
  font-weight: bold;
}

.card {
  border-radius: 16px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.back-button {
  display: inline-block;
  box-shadow: --var(--button-shadow1);
  margin: 1rem 0;
  font-size: 1rem;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  color: #000;
  text-decoration: none;
}

.back-button:hover {
  background: #000;
  color: #fff;
}

.svg-container {
  width: 100%;
  /* height: 80vh; */
  overflow: auto;
  border-radius: 10px;
}

.svg-container svg {
  width: 100%;
  height: 100%;
}

.svg-container .line-table div {
  font-weight: bold;
  font-size: 18px;
}

.highlight {
  stroke: red !important;
  stroke-width: 4 !important;
  fill: yellow !important;
}

.line-table {
  margin-top: 10px;
  position: relative;
}

.line-table span {
  font-size: 14px;
  font-weight: normal;
}

.fixed-search {
  position: fixed;
  top: 0;
  max-width: 600px;
  width: 100%;
  z-index: 9999;
}
@media (max-width: 600px) {
  .fixed-search {
    width: calc(100% - 20px);
    top: 60px;
    z-index: 1;
  }
}

.help-icon {
  border-radius: 50%;
  padding: 0px 8px;
  background: var(--blue-color);
  color: #fff;
  margin-left: 5px;
  display: inline;
}

.help-icon:hover {
  background: #000;
  color: #fff;
  cursor: pointer;
}

.help-window {
  display: none;
  position: absolute;
  background: #fff;
  right: 0;
  border-radius: 10px;
  top: 57px;
  padding: 10px;
  border: 1px solid #000;
  z-index: 9;
}

.rtl .help-window {
  left: 0;
  right: auto;
}

.help-icon.active .help-window {
  display: block;
}

.input {
  width: 100%;
  margin-bottom: 15px;
  padding: 11px 9px;
  box-sizing: border-box;
  border: 1px solid grey;
  border-radius: 5px;
  font-size: 16px;
}

.input:hover {
  background: #EAEDF3;
}

.button {
  color: #fff;
  background: var(--blue-color);
}

.button:hover {
  color: #000;
  background: #fff;
}

.btn {
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.btn:hover {
  background: #000;
  color: #fff;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  border: 2px solid var(--blue-color);
  font-size: 16px;
  color: var(--blue-color);
}

.btn-submit:hover {
  color: #fff;
  background: var(--blue-color);
  cursor: pointer;
}

.btn-submit:disabled {
  border: 2px solid #fff;
  color: green;
}

.btn-submit:disabled:hover {
  background: #fff;
  color: green;
  cursor: default;
}

.section-ep {
  display: flex;
  gap: 10px;
}
@media (max-width: 600px) {
  .section-ep {
    flex-direction: column;
    gap: 0;
  }
}

.bus-grid {
  height: 1000px;
  overflow: scroll;
}
@media (max-width: 600px) {
  .bus-grid {
    height: auto;
    overflow: auto;
  }
}

#directions {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  border: 1px solid #BDBCBC;
  border-radius: 10px;
  padding-bottom: 10px;
  margin-bottom: 1.5rem;
}

.hero-img {
  height: 40px;
  width: 100%;
  background: #000 url("/assets/img/000005410016.jpg") center center;
  display: flex;
  border-radius: 10px;
  align-items: center;
  font-size: 40px;
  margin-bottom: 20px;
  padding: 30px;
  justify-content: unset;
  font-weight: bold;
  flex-direction: column;
}

.hero-banner {
  position: absolute;
  width: 100%;
  display: flex;
  border-radius: 10px;
  align-items: baseline;
  font-size: 40px;
  margin-bottom: 20px;
  justify-content: unset;
  font-weight: bold;
  flex-direction: column;
}

#bg-video {
  position: relative;
  top: 0;
  left: 0;
  width: 70%;
  height: 400px;
  z-index: -1;
}
@media (max-width: 600px) {
  #bg-video {
    width: 100%;
    height: 100%;
  }
}

#bg-video iframe {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.text-in-hero {
  color: #fff;
  padding: 0 20px;
  font-weight: normal;
  font-size: 30px;
}

.subtext-in-hero {
  font-size: 14px;
  font-weight: normal;
  color: #fff;
  padding: 0 20px;
  margin-bottom: 30px;
}

#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #F9F5E8;
  color: #000;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

#cookie-banner a {
  color: var(--blue-color);
}

#cookie-banner a:hover {
  color: #000;
}

#cookie-banner button {
  background: #fff;
  border: none;
  color: var(--blue-color);
  border: 1px solid var(--blue-color);
  box-shadow: var(--button-shadow1);
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 10px;
}

#cookie-banner button:hover {
  background: var(--blue-color);
  color: #fff;
}

.text-page {
  max-width: 800px;
  margin: 0 auto;
}

.text-page li {
  margin-left: 15px;
  line-height: 1.7em;
}

.text-page .inner-list li {
  margin-bottom: 0;
  list-style-type: circle;
}

.text-page h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.3em;
}

.text-page p {
  line-height: 1.7em;
}

.bus-platform-search {
  max-width: 600px;
  margin: 0 auto;
}

/*# sourceMappingURL=style.css.map */
