:root {
  --panel-offset: 320px;
}

@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto-VariableFont_wdth.ttf) format("ttf");
}

body {
  background: #000;
  font-family: "Roboto", sans-serif;
  overflow-y: hidden;
}

* {
  box-sizing: border-box;
  user-select: none;
}

.station-label-no-bg,
.station-name-ru {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  /* max-width: 200px; */
  padding: 0 !important;
  /* text-wrap: revert; */
}

.station-name-ru {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.station-name-en {
  font-size: 14px;
  color: #ffffffad;
  text-align: left;
}

.station-label-no-bg:before {
  display: none !important;
}

.stopinfo {
  z-index: 500;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
}

.stopinfo .bg {
  height: 100%;
  width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.stopinfo .bg * {
  pointer-events: auto;
}

.stopinfo .container {
  margin-bottom: 75px !important;
}

.container {
  max-height: calc(100vh - 100px);
  margin: auto 25px 25px 25px;
  /* height: 100%; */
  /* background: #806c58; */
  background: rgb(125, 110, 92);
  background: linear-gradient(
    0deg,
    rgba(125, 110, 92, 1) 0%,
    rgba(150, 138, 124, 1) 100%
  );
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  /* gap: 15px; */
}

.container .img {
  border-radius: 10px 10px 0 0;
  border: 3px solid #806c58;
  width: 100%;
  height: 300px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.stopname {
  font-size: 22px;
  font-weight: 600;
  padding: 15px;
  color: #fff;
  background: rgb(187, 179, 170);
  background: linear-gradient(
    180deg,
    rgba(187, 179, 170, 1) 0%,
    rgba(159, 148, 135, 1) 100%
  );
  margin-bottom: 15px;
}

.back-button {
  border: none;
  font-size: 22px;
  font-weight: 600;
  text-align: left;
  padding: 15px;
  color: #fff;
  background: rgb(187, 179, 170);
  background: linear-gradient(
    180deg,
    rgba(187, 179, 170, 1) 0%,
    rgba(159, 148, 135, 1) 100%
  );
  display: flex;
  align-items: center;
  gap: 10px;
}

.stopdescription {
  font-size: 16px;
  font-weight: 400;
  padding: 0 10px 0 10px;
  color: #fff;
  overflow-y: auto;
  margin-bottom: 15px;
  max-height: calc(100% - 430px);
}

.stopdescription::-webkit-scrollbar {
  width: 1px;
}

.stopdescription::-webkit-scrollbar-track {
  background: #a6a6a6;
}

.stopdescription::-webkit-scrollbar-thumb {
  background: white;
}

/* Firefox scrollbar */
.stopdescription {
  scrollbar-width: thin;
  scrollbar-color: white #a6a6a6;
}

.landmarks {
  background: #806c58;
  border-radius: 10px 10px 0 0;
  height: 50px;
  width: 450px;
  margin: 0 25px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 25px;
  justify-content: center;
  position: relative;
}

/* .landmarks-arrow {
  position: absolute;
  left: 25px;
  top: 18px;
} */

.landmarks-container {
  position: absolute;
  bottom: 0;
}

.language-toggle {
  background: rgba(0, 0, 0, 0);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  z-index: 1001;
  transition: left 0.3s ease;
  pointer-events: auto;
}

.language-option {
  background: rgba(0, 0, 0, 0);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  z-index: 1001;
  transition: left 0.3s ease;
  pointer-events: auto;
}

.landmarks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.stoparticles {
  padding: 0 15px;
  height: 50px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  text-align: center;
  gap: 15px;
  justify-content: space-around;
  background: rgb(187, 179, 170);
  background: linear-gradient(
    180deg,
    rgba(187, 179, 170, 1) 0%,
    rgba(159, 148, 135, 1) 100%
  );
  border-radius: 0 0 10px 10px;
}

.stoparticle-option {
  color: #fff;
  font-size: 18px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.description-button {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin: 0 15px 15px 15px;
  pointer-events: auto;
}

.stop-buttons-container {
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
}

.stop-button {
  border: none;
  border-radius: 10px;
  padding: 15px 15px;
  font-size: 18px;
  /* font-weight: 600; */
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  pointer-events: auto;
}

.white {
  background: #fff;
  color: #000;
}

.yellow {
  background: #fcd500;
  color: #000;
}

.stop-next-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stop-next-header {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.stop-next-preview-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stop-next-preview {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  width: 110px;
}

.stop-next-preview-img {
  width: auto;
  max-height: 110px;
}

.stop-next-preview-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.carrierinfo {
  z-index: 400;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 350px;
  pointer-events: none;
}

.carrierinfo .bg {
  /* background: #2b2b2b; */
  background: rgb(125, 110, 92);
  background: linear-gradient(
    0deg,
    rgba(125, 110, 92, 1) 0%,
    rgba(150, 138, 124, 1) 100%
  );
  height: 100%;
  width: 300px;
  padding: 50px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carrier-img {
  width: 85%;
  margin: 0 auto;
}

.hashtag {
  text-align: center;
  font-size: 20px;
  color: #fff;
}

.gos-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.gos-logo {
  width: auto;
  max-height: 125px;
}

.gos-name {
  text-align: center;
  font-size: 16px;
  color: #fff;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-image {
  width: 80vw;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}
.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 100px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}
.modal-enter-active,
.modal-leave-active {
  transition: opacity 0.3s ease;
}
.modal-enter,
.modal-leave-to {
  opacity: 0;
}

.weatherinfo {
  z-index: 450;
  width: 225px;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 140px;
  left: var(--panel-offset);
  color: #fff;
  background: rgb(73, 69, 65);
  background: linear-gradient(
    0deg,
    rgba(73, 69, 65, 1) 50%,
    rgba(103, 99, 94, 1) 100%
  );
  border-radius: 10px;
  border: 1px solid #ffffff2e;
  transition: left 0.3s ease;
}

.weatherinfo .time {
  font-size: 48px;
  font-weight: 600;
}

.weatherinfo .date {
  text-align: center;
  font-size: 15px;
  font-weight: lighter;
  padding: 0 0 8px 0;
  width: 100%;
  border-bottom: 1px solid #ffffff7a;
}

.weatherinfo .current-weather img {
  width: 75px;
}

.current-weather {
  padding-left: 10px;
}

.current-weather div {
  text-align: center;
}

.temperature-celsius {
  font-size: 50px;
}

.forecast-day {
  display: flex;
  align-items: center;
  gap: 7px;
}
.forecast-day img {
  width: 20px;
}

.weather-forecast {
  width: 100%;
  padding: 0;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.forecast {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90px;
}

.forecast-day {
  font-size: 17px;
}

.additional-forecast {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ffffff7a;
  padding: 10px 0 0 3px;
  gap: 7px;
  font-size: 18px;
  font-weight: bold;
}

.additional-forecast .humidity,
.wind {
  display: flex;
  gap: 10px;
}

.routeinfo {
  z-index: 450;
  height: 100px;
  /* padding: 15px; */
  display: flex;
  align-items: center;
  position: absolute;
  top: 20px;
  left: var(--panel-offset);
  color: #fff;
  background: rgb(73, 69, 65);
  background: linear-gradient(
    0deg,
    rgba(73, 69, 65, 1) 50%,
    rgba(103, 99, 94, 1) 100%
  );
  border-radius: 10px;
  border: 1px solid #ffffff2e;
  transition: left 0.3s ease;
}

.route-names {
  display: flex;
  flex-direction: column;
  /* gap: 2px; */
  padding: 0 10px;
}

.route-name {
  font-size: 22px;
  font-weight: 600;
}

.route-translate,
.translate {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff91;
}

.route-number {
  background: #fcd500;
  height: 100%;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 95px;
  font-weight: 800;
  border-radius: 10px;
}

.dropdown-list {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  position: relative;
  border: 1px solid #ffffff2e;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transform: translateY(-10px);
}

.dropdown-list.show {
  height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-list.hidden {
  pointer-events: none;
}

.forecast-temperature {
  font-weight: 700;
  font-size: 18px;
}

.carrier-toggle {
  position: absolute;
  bottom: 10px;
  background: rgba(0, 0, 0, 0);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 0;
  border-radius: 5px;
  z-index: 1001;
  left: var(--panel-offset, 310px);
  transition: left 0.3s ease;
  pointer-events: auto;
}

.lang-toggle {
  margin-left: 60px;
}

.lang-option:nth-of-type(1) {
  margin-left: 60px;
}
.lang-option:nth-of-type(2) {
  margin-left: 120px;
}
.lang-option:nth-of-type(3) {
  margin-left: 180px;
}

/* .carrierinfo .bg.hidden + .carrier-toggle {
  left: 10px;
} */

.bg.hidden {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.bg {
  transition: transform 0.3s ease;
}

.routeinfo.shifted-left,
.weatherinfo.shifted-left {
  left: 20px !important;
  transition: left 0.3s ease;
}
.stations-list {
  margin-top: 20px;
  list-style: none;
  padding: 0;
  font-size: 18px;
}

.stop-buttons-container {
  transition: transform 0.3s ease;
}

.dropdown-list {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 300px;
  height: 0;
  background: rgb(125, 109, 91);
  background: linear-gradient(
    90deg,
    rgba(125, 109, 91, 1) 0%,
    rgba(145, 132, 117, 1) 100%
  );
  z-index: 2000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  overflow-y: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  list-style: none;
  margin: 0;
  font-size: 18px;
  padding-bottom: 15px;
  border-radius: 10px 10px 0 0;
}

.dropdown-list.show {
  height: calc(100vh - 275px);
  opacity: 1;
  transform: translateY(0);
  overflow-y: auto;
}

.bg.hidden {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.bg {
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.dropdown-name {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  padding-bottom: 10px;
  gap: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.dropdown-list li {
  list-style: none;
  font-size: 16px;
  color: #fff;
  background-color: transparent;
}

.sight-name {
  margin: 0 20px;
  padding: 20px 0 4px 0;
  border-bottom: 1px solid #ffffff2e;
}

.dropdown-list li.selected {
  background-color: #4a4037;
}
.dropdown-list .sight-preview {
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.dropdown-list .sight-preview img {
  width: 100%;
  border-radius: 10px;
}
.dropdown-list .sight-preview h3 {
  color: white;
  margin-top: 10px;
}
.dropdown-list .sight-preview p {
  color: white;
  font-size: 16px;
}
.sight-preview-panel {
  z-index: 451;
  position: absolute;
  top: 440px;
  left: var(--panel-offset);
  width: 350px;
  background: rgb(125, 110, 92);
  background: linear-gradient(
    0deg,
    rgba(125, 110, 92, 1) 0%,
    rgba(150, 138, 124, 1) 100%
  );
  border-radius: 10px;
  color: white;
}

.sight-preview-panel.left-panel {
  right: 490px;
  left: auto;
  top: auto;
  bottom: 200px;
}

.sight-preview-panel img {
  width: 100%;
  border-radius: 10px;
  padding: 3px;
}

.sight-preview-panel h3 {
  padding: 10px;
  margin: 0;
  font-size: 18px;
}

.sight-preview-panel p {
  font-size: 16px;
  margin: 0 0 20px 0;
  padding: 10px 10px 0 10px;
  max-height: 150px;
  overflow-y: auto;
}

li.checked {
  background: rgb(71, 51, 31);
  background: linear-gradient(
    90deg,
    rgba(71, 51, 31, 1) 0%,
    rgba(99, 82, 63, 1) 100%
  );
  font-weight: 600;
}

.fingers-option {
  position: absolute;
  top: 20px;
  right: 490px;
}

.stoparticle-option {
  cursor: pointer;
}

.stoparticle-option.selected {
  text-decoration: underline;
}

.sights-wrapper {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.scrollable-container {
  max-height: 500px;
  overflow-y: auto;
  scroll-behavior: smooth;

  /* скрытие скроллбара */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.scrollable-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.sights-alphabet {
  position: absolute;
  top: 15px;
  right: 35px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 100%;
  overflow-y: auto;
}

.sights-alphabet span {
  cursor: pointer;
  color: white;
  font-size: 16px;
  text-align: center;
}

.sights-alphabet span.active {
  font-weight: bold;
  text-decoration: underline;
}

.sights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 20px 20px 10px;
  background: #806c58;
  border-top: 1px solid #fff;
  margin: 0 25px;
}

.sight-card {
  /* width: 30%; */
  min-width: 100px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.sight-thumbnail {
  width: 100%;
  border-radius: 6px;
  background: #fff;
  aspect-ratio: 1/1;
  border-radius: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sight-thumbnail img {
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
}

.sight-title {
  margin-top: 4px;
  font-size: 15px;
  text-align: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.sight-letter {
  color: white;
  font-size: 18px;
  margin-top: 10px;
}

.sight-letter-group {
  width: 30%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-fade-enter-active,
.slide-fade-leave-active {
  transition: all 0.4s ease;
}

.slide-fade-enter-from {
  opacity: 0;
  transform: translateY(20px);
}

.slide-fade-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

.landmarks-arrow {
  transition: transform 0.3s ease;
}

.arrow-rotated {
  transform: rotate(180deg);
}

.expand-collapse-transition-enter-active,
.expand-collapse-transition-leave-active {
  transition: all 0.4s ease;
}

.expand-collapse-transition-enter-from,
.expand-collapse-transition-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

.height-fade-enter-active,
.height-fade-leave-active {
  transition: all 0.4s ease;
}

.height-fade-enter-from,
.height-fade-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

.transfer-toggle {
  position: absolute;
  bottom: 10px;
  padding: 5px 10px;
  right: 490px;
  cursor: pointer;
}

.transfer-info {
  position: absolute;
  bottom: 10px;
  right: 70px;
  color: #fff;
  background: rgb(73, 69, 65);
  background: linear-gradient(
    0deg,
    rgba(73, 69, 65, 1) 50%,
    rgba(103, 99, 94, 1) 100%
  );
  border-radius: 10px;
  padding: 15px;
  border: 1px solid #ffffff2e;
  min-width: 350px;
  min-height: 150px;
  font-size: 16px;
}
.transfer-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}
.transfer-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  margin-bottom: 6px;
}
.transfer-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
}

.img {
  width: 100% !important;
  height: 100% !important;
  background-size: cover;
  background-position: center;
}

.watermark {
  position: absolute;
  max-width: 50px;
  max-height: 50px;
  opacity: 1;
  pointer-events: none;
}

.watermark-lu {
  top: 10px;
  left: 10px;
}

.watermark-rd {
  bottom: 10px;
  right: 10px;
}
.route-name {
  position: relative;
}

.route-names {
  max-width: 300px;
  width: 100%;
  overflow: hidden;
}

.scroll-wrapper {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.scroll-inner {
  display: inline-block;
  white-space: nowrap;
  animation: scrollLoop 20s linear infinite;
}

.scroll-content {
  display: flex;
  gap: 30px;
}

.name-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.sight-preview-wrapper {
  max-height: 300px;
}

.hidden {
  display: none !important;
}

.governor-appeal {
  top: 140px;
  width: 440px;
}

.governor-appeal p {
  max-height: 400px;
  line-height: 22px;
}

.governor-appeal h3 {
  font-size: 22px;
}

.sight-card {
  position: relative;
  cursor: pointer;
}

.sight-card-detail {
  position: absolute;
  top: 0;
  left: 105%;
  width: 260px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.sight-card-detail .detail-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 8px;
}

.sight-card-detail .detail-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.detail-articles {
  display: flex;
  flex-direction: column;
}

.detail-article {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.3;
}
.sight-side-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 33%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 30;
}

.panel-image-wrapper {
  flex: 0 0 auto;
}

.panel-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

.panel-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.panel-description {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 10px;
  background: #fff;
}

.panel-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.panel-article-option {
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.panel-article-option.selected {
  background: rgba(255, 255, 255, 0.35);
}
.language-options {
  display: flex;
  gap: 6px;
}

.lang-option svg {
  width: 28px;
  height: 28px;
}

.sights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-right: 40px;
}

.sight-letter-group {
  display: contents;
}

.letter-anchor {
  position: absolute !important;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.sight-card {
  flex: 0 0 calc((100% - 24px) / 3);
  box-sizing: border-box;
}

.carrier-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}

.carrier-img {
  width: 100%;
  padding: 0;
  margin: 0;
}

.carrier-slogan {
  font-size: 18px;
  color: #fff;
  opacity: 70%;
  text-align: center;
  font-style: italic;
}
