/* =========================================
   GRUNDLAYOUT & KARTE
========================================= */
html,
body {
  height: 100%;
  margin: 0;
  background-color: #e6e6e6;
}

.leaflet-container {
  height: 1260px;
  width: 1600px;
  max-width: 100%;
  max-height: 100%;
  background-color: white;
}

/* Basis: mobil-first -------------------------- NEU für Mobile! */ 
#map,
.leaflet-container {
  width: 100%;
  height: 100svh;
  /* oder 65–80 je nach Geschmack; Fallback: 70vh */
  max-width: 100%;
}

/* Tablets */
@media (min-width: 768px) {

  #map,
  .leaflet-container {
    height: 100svh;
  }
}

/* Desktop wie bisher groß */
@media (min-width: 1200px) {

  #map,
  .leaflet-container {
    width: 1600px;
    /* falls du wirklich eine fixe Breite willst */
    height: 1260px; 
    /* height: 75svh; */
    /* wie bei dir bislang */
    max-width: 100%;
  }
}

/* Zoom-Buttons & Layer-Control leicht schrumpfen auf Handy */
@media (max-width: 768px) {
  .leaflet-control-zoom a {
    width: 28px;
    height: 28px;
    line-height: 28px;
  }
  .leaflet-control-layers {
    font-size: 10px;
  }
}

/* Layer-Control unter dem Fullscreen-Button platzieren */
.leaflet-top.leaflet-left .leaflet-control-layers {
  margin-top: 46px; /* ⇦ an die Höhe/Position deines Buttons anpassen */
}

/* ---------------------------------------------------- Fahne ausblenden */
/* Leaflet-Attribution unten rechts verstecken */
/* .leaflet-control-container .leaflet-control-attribution {display: none !important;}  */

/* ------------------------------------------------------Layer-Control nach links oben */
.leaflet-touch .leaflet-control-layers-toggle {
width: 31px;
height: 31px;
}

.leaflet-retina .leaflet-control-layers-toggle {
/* background-image: url(images/layers-2x.png); */
background-size: 22px 22px;
}

/* =========================================
   ZOOM-ANZEIGE
========================================= */
.zoom-display {
  position: absolute;
  bottom: 24px;
  left: 10px;
  padding: 6px 12px;
  font-family: sans-serif;
  font-size: 11px;
  z-index: 1000;
}

/* =========================================
   SVG-MARKER MIT SCHATTEN
========================================= */
.svg-marker img {
  filter: drop-shadow(0 0 0px white);
}

/* Overlay-Schlagschatten */
.overlay-NetzSZ13,
.overlay-NetzRcolZ13,
.overlay-NetzSZ12,
.overlay-NetzRcolZ12 {
  filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.55));
}

/* neue Streckennetz-Overlays (nur Z>=12 bekommt Schatten) */
.overlay-NetzAll_Z12,
.overlay-NetzAll_Z13,
.overlay-NetzSBahn_All_Z12,
.overlay-NetzSBahn_All_Z13,
[class*="overlay-SBExist_"][class*="_Z12"],
[class*="overlay-SBExist_"][class*="_Z13"],
[class*="overlay-SBPlan_"][class*="_Z12"],
[class*="overlay-SBPlan_"][class*="_Z13"],
[class*="overlay-SBTracks_"][class*="_Z12"],
[class*="overlay-SBTracks_"][class*="_Z13"],
[class*="overlay-NetzRegio_"][class*="_Z12"],
[class*="overlay-NetzRegio_"][class*="_Z13"],
[class*="overlay-NetzSBahn_"][class*="_Z12"],
[class*="overlay-NetzSBahn_"][class*="_Z13"] {
  filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.55));
}

.overlay-NetzAll_Z11,
.overlay-NetzSBahn_All_Z11,
[class*="overlay-SBExist_"][class*="_Z11"],
[class*="overlay-SBPlan_"][class*="_Z11"],
[class*="overlay-SBTracks_"][class*="_Z11"],
[class*="overlay-NetzRegio_"][class*="_Z11"],
[class*="overlay-NetzSBahn_"][class*="_Z11"] {
  filter: none;
}

.station-label-marker {
  pointer-events: none;
  background: transparent;
  border: 0;
}

.station-label-marker .station-label-inner {
  width: 100%;
  height: 100%;
}

.station-label-marker img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.station-picto-marker {
  pointer-events: none;
  background: transparent;
  border: 0;
  overflow: visible;
}

.station-picto-inner {
  width: 100%;
  height: 100%;
}

.station-picto-inner img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

/* =========================================
   MAßSTABSLEISTE
========================================= */
#scale-control {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: transparent;
  border: 0px solid #aaa;
  border-radius: 4px;
  padding: 1px 20px;
  font-family: sans-serif;
  font-size: 12px;
  z-index: 1000;
  pointer-events: none;
}

#scale-bar {
  height: 6px;
  margin-bottom: 4px;
  position: relative;
}

#scale-label {
  position: relative;
}

/* =========================================
   CUSTOM POPUP
========================================= */
/* Wrapper der Popup‑Box */

/* Scope: nur für deine Popups */
/* Popup-Box responsive deckeln */
.leaflet-popup.my-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 3px 25px rgba(0, 0, 0, 0.5);
  max-width: min(92vw, 520px);
  min-width: min(92vw, 300px);
}

/* Kritisch: kein Außen-Margin mehr auf dem Content! */
.leaflet-popup.my-popup .leaflet-popup-content {
  margin: 0;
  max-height: min(60vh, 520px);
  /* responsive Deckel */
  overflow: auto;
  /* innen scrollen */
}

/* Den Tip nicht hochschieben */
.leaflet-popup.my-popup .leaflet-popup-tip-container {
  margin-top: 0;
  /* war: -16px */
}

/* Standardwerte für Popups */
.leaflet-popup.my-popup {
  --headline-bg: #e20000;   /* Default rot */
  --headline-fg: #fff;
}

/* Headline nutzt die Variablen */
.my-popup .popup-headline {
  background: var(--headline-bg);
  color: var(--headline-fg);
}

/* Optional: vordefinierte Themes per Klasse */
.my-popup .theme-red    { --headline-bg:#e20000; --headline-fg:#fff; }
.my-popup .theme-green  { --headline-bg:#009053; --headline-fg:#fff; }
.my-popup .theme-blue   { --headline-bg:#2da6c1; --headline-fg:#fff; }

/* Close-Button: gültige Einheiten */
.leaflet-container a.leaflet-popup-close-button {
  margin-top: 10px;
  /* war: 15 */
  margin-right: 15px;
  /* war: 15 */
  width: 24px;
  height: 14px;
}

/* Deinen eigentlichen Inhalt paddest du INNEN, nicht als Außen-Margin */
.my-popup .popup-container {
  box-sizing: border-box;
  width: 100%;
  padding: 0 0 0 16px;
  /* statt Außen-Margin am Content */
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.popup-icons {
  display: flex;
  flex-wrap: wrap;
  /* Icons dürfen umbrechen */
  gap: 6px;
  /* Abstand zwischen den Icons */
  margin-top: 16px;
  /* Abstand zum oberen Rand des Popups */
  margin-bottom: 16px;
  /* Optional: Abstand zur Headline */
  justify-content: flex-start;
}

.popup-icon {
  height: 26px;
}

.popup-headline {
  background: #e20000;
  color: #fff;
  font-size: 14pt;
  font-weight: 900;
  letter-spacing: 0.03em;
  padding: 8px 6px 15px 10px;
  /* kein zusätzlicher Außenabstand nötig */
}

.popup-headline {
  background: #e20000;
  color: #fff;
  font-size: 14pt;
  font-weight: 900;
  letter-spacing: 0.03em;
  padding: 8px 6px 15px 10px;
  /* kein zusätzlicher Außenabstand nötig */
}

.popup-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 10px 0;
  max-height: 40vh;
  /* optional: Bild selbst deckeln */
  object-fit: cover;
  /* oder: contain, je nach Wunsch */
}

.popup-text {
  font-size: 11pt;
  line-height: 1.4;
  color: gray;
  margin: 20px 0 15px;
  /* Innenabstände, ok */
}

.popup-links a {
  font-size: 12.5pt;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #d70000;
  text-decoration: none;
}

.popup-links a:hover {
  text-decoration: underline;
}



/* =========================================
   LEAFLET LEGEND
========================================= */
.info.legend {
  background: white;
  padding: 18px 12px;
  font-family: sans-serif;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  line-height: 1.4;
}

.info.legend h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: bold;
}

.info.legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info.legend li {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.info.legend .legend-color {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  display: inline-block;
  border: 1px solid #ccc;
}

/* Icon-Control */
.legend-toggle {
  margin-top: 300px;
  background: white;
  padding: 6px;
  border-radius: 4px;
  /*  box-shadow: 0 2px 6px rgba(0,0,0,0.3); */
  border: 2px solid #c9c9c9;
}

/* Close-Button in der Legende */
.info.legend .close-legend {
  line-height: 1;
  margin: 0px;
}



@font-face {
    font-family: 'Transit';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('https://axelroemer.com/Fonts/hinted-Transit-Normal.ttf') format('truetype');
}



/* ------------------------------------ Map Panels */
.map-panel {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -130%);
  transition: transform 0.35s ease;
  width: calc(100% - 14px);
  max-width: 50svw;
  min-width: 350px;
  height: auto;
  max-height: 50svh;
  background: #fff;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  border-radius: 0px 0px 0px 65px;
  overflow: auto;
  pointer-events: none;
}

.map-panel.is-open {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.map-panel__head-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.map-panel__head-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  gap: 4px;
  padding: 14px 0px 8px 0px;
}

.map-panel__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 0px 46px 2px 20px;
  background: #e6e6e6;
}

.map-panel__head-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-panel__head-icon {
  display: block;
  height: clamp(20px, 6.5vw, 33px);
  width: auto;
}

.corridor-panel__title {
  font-family: "Noto Sans", sans-serif;
  font-size: clamp(15px, 5.5vw, 24px);
  line-height: 1.1;
  font-weight: 780;
  font-variation-settings: "wght" 788, "wdth" 85;
  color: #000;
  margin: 0;
  white-space: normal;
}

.map-panel__close {
  position: absolute;
  top: 23px;
  right: 10px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.map-panel__close:focus-visible,
.map-panel__close:hover {
  transform: scale(1.05);
}

.map-panel__close img {
  display: block;
  width: clamp(18px, 3vh, 22px);
  height: clamp(18px, 3vh, 22px);
}

.map-panel__body {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 24px;
  background: #fff;
  overflow: visible;
}

.legend-panel__image {
  display: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.legend-panel__image--mobile {
  display: block;
}

.map-panel--corridor,
.map-panel--station {
  max-width: min(1100px, calc(100% - 14px));
  width: calc(100% - 14px);
  height: auto;
  max-height: 50svh;
}

.map-panel--corridor .map-panel__body,
.map-panel--station .map-panel__body {
  display: block;
  padding: 20px 22px 28px;
  overflow: visible;
  flex: 1 1 auto;
}

.corridor-panel__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.corridor-panel__mini {
  height: clamp(20px, 5.5vw, 35px);
}

.corridor-panel__media {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 0;
}

.corridor-panel__image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 0px 0px 0px 50px;
  background: #f2f2f2;
}

.corridor-panel__caption {
  font: 380 15px/1.4 "Noto Sans", sans-serif;
  font-size: clamp(11px, 3.0vw, 15px);  
  color: #8a8a8a;
  margin: 0;
  font-style: italic;
  text-align: right;
}

.corridor-panel__sb-menu {
  display: none;
  flex-direction: column;
  gap: 0;
}

.corridor-panel__sb-menu:not([hidden]) {
  display: flex;
}

.corridor-panel__sb-menu-host {
  width: 100%;
}

.corridor-panel__sb-menu svg {
  width: 100%;
  height: auto;
  display: block;
}

.corridor-panel__sb-menu .sb-item {
  cursor: pointer;
}

.corridor-panel__sb-menu .state--on {
  display: none;
}

.corridor-panel__sb-menu .sb-item.is-on .state--on {
  display: inline;
}

.corridor-panel__sb-menu .sb-item.is-on .state--off {
  display: none;
}

.corridor-panel__sb-menu .sb-item:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 3px;
}

.corridor-panel__icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.corridor-panel__icons img {
  height: 38px;
  width: auto;
  display: block;
}

.corridor-panel__info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1 1 0;
}

.corridor-panel__headline {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  font-weight: 652;
  font-size: clamp(22px, 1.5vh, 28px);
  font-variation-settings: "wght" 652, "wdth" 92;
  line-height: 1.2;
  color: #1b1b1b;
  font-style: italic;
}

.corridor-panel__text {
  font: 400 14px/1.5 "Noto Sans", sans-serif;
  font-size: clamp(11px, 3.0vw, 15px);  
  color: #1f1f1f;
}

.corridor-panel__text p {
  margin: 0 0 12px;
}

.corridor-panel__text p:last-child {
  margin-bottom: 0;
}

.corridor-panel__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.corridor-panel__links a {
  font: 800 15px/1.4 "Noto Sans", sans-serif;
  color: #d80000;
  text-decoration: none;
  font-style: italic;
}

.corridor-panel__links a:hover,
.corridor-panel__links a:focus-visible {
  text-decoration: underline;
}

.corridor-panel__empty {
  font: 400 15px/1.4 "Noto Sans", sans-serif;
  color: #444;
}

@media (min-width: 600px) {
  .map-panel__head {
    padding: 0px 72px 5px 28px;
    min-height: 64px;
    height: auto;
    align-items: center;
    justify-content: flex-start;
  }

  .map-panel__head-main {
    align-items: center;
    width: auto;
  }

  .map-panel__head-title {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .map-panel__body {
    padding: 16px 20px 20px;
  }

  .map-panel--corridor .map-panel__body,
  .map-panel--station .map-panel__body {
    padding: 26px 30px 34px;
  }
}

@media (min-width: 768px) {
  .corridor-panel__content {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .corridor-panel__media,
  .corridor-panel__info {
    flex: 1 1 0;
  }
}

@media (min-width: 1160px) {
  .map-panel {
    width: 640px;
    height: auto;
    border-radius: 0 0 0px 80px;
  }

  .map-panel__head {
    min-height: 60px;
    height: auto;
    background: #e6e6e6;
    align-items: center;
    justify-content: flex-start;
    padding: 0px 72px 5px 28px;
  }

  .legend-panel__image--mobile {
    display: none;
  }

  .legend-panel__image--desktop {
    display: block;
  }

  .corridor-panel__title {
    font-size: 28px;
  }

  .map-panel--corridor,
  .map-panel--station {
    width: 1100px;
    max-width: 1100px;
    max-height: 460px;
    height: auto;
  }

  .map-panel--corridor .map-panel__body,
  .map-panel--station .map-panel__body {
    padding: 32px 36px 40px;
  }

  .corridor-panel__image {
    max-height: 100%;
  }
}

.map-panel--legend .map-panel__body {
  background: #fff;
}

.leaflet-bar.legend-control {
  box-shadow: none;
  border: none;
  background: transparent;
}

.legend-control__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid #c9c9c9;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
}

.legend-control__button:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.5);
  outline-offset: 2px;
}

.legend-control__button:hover {
  background: #f3f3f3;
}

.legend-control__button img {
  display: block;
  width: 25px;
  height: 25px;
}



/* ------------------------------------ Info-Panel oben */
/* Map-Container muss Bezugspunkt sein */
#map { position: relative; }

/* Top-InfoPanel zentriert */
/* Top-InfoPanel zentriert */
.info-panel {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1100px, calc(100% - 48px));
  /* vorher: translateY(-100%) */
  transform: translate(-50%, -100%);
  transition: transform .35s ease;
  height: 33vh;
  max-height: 520px;
  background: #fff;
  border-bottom: 1px solid #ccc;
  /* box-shadow: 0 10px 24px rgba(0,0,0,.25); */
  z-index: 500;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
}

.info-panel.open {
  /* vorher: translateY(0) */
  transform: translate(-50%, 0);
}

.info-panel__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #008348;
  border-bottom: 1px solid #e0e0e0;
}
.info-panel__title { 
  font: 700 24px/1.2 "Noto Sans", sans-serif; 
  color: #ffffff;
}

.info-panel__close {
  margin-left: auto; cursor: pointer;
  background: none; border: none;
  font-size: 22px; line-height: 1; padding: 2px 8px;
  color: #ffffff;
}

.info-panel__body {
  padding: 12px 14px;
  overflow: auto;               /* scrollbarer Inhalt */
  font: 400 14px/1.5 "Noto Sans", sans-serif;
}

/* Mobile: Panel höher, Schrift etwas größer */
@media (max-width: 768px) {
  .info-panel { height: 50vh; width: calc(100% - 24px); } /* 12px Rand je Seite mobil */
  .info-panel__title { font-size: 18px; }
}



/* Feste Overlays über der Karte */
.map-overlay {
  pointer-events: none;      /* klickt „durch“ – Karte bleibt dragbar */
}

.map-overlay img {
  display: block; 
  height: 100%;
  width: auto;
}

/* feste Größen + etwas Abstand vom Rand */
.map-logo {
  height: 200px;
  /* margin: 0 50px 0 0; */
}

.map-legend {
  height: 250px;
  margin: 0 0 0 0;
}

.map-tongue {
  height: 180px;
  width: auto;
}

.map-tongue img {
  height: 100%;
  width: auto;
}

.leaflet-bottom.leaflet-left .map-tongue.leaflet-control {
  margin-left: 0;
  margin-bottom: 70px;
  transform: translateX(-12px);
}

/* (optional) auf kleineren Screens verkleinern */
@media (max-width: 1200px) {
  .map-logo   { height: 260px; }
  .map-legend { height: 320px; }
}

/* Leaflet gibt .leaflet-control + 10px Margin – hier nur fürs Logo entfernen */
.leaflet-top.leaflet-right .map-logo.leaflet-control {
  margin-top: -1px;    /* statt 10px */
  margin-right: 60;  /* statt 10px */
}

/* falls du es exakt „in die Ecke“ ziehen willst, kannst du auch leicht ins Minus gehen: */
/*
.leaflet-top.leaflet-right .map-logo.leaflet-control {
  margin-top: -2px;
  margin-right: -2px;
}
*/

/* Klickfläche der Knuller (zum Testen outline anmachen) */
.knull {
  background: transparent;
  border: 0;
}

.knull-hitbox{
  width:100%;
  height:100%;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  /* outline: 1px dashed rgba(255,0,0,.35); */
}

/* =========================================
   FULLSCREEN CONTROL
========================================= */
.leaflet-control-fullscreen.leaflet-bar {
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); */
  border-radius: 4px;
  overflow: hidden;
}

.leaflet-control-fullscreen__btn {
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  border: none;
  background: #fff;
  color: #2b2b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.leaflet-control-fullscreen__btn:hover {
  background: #f3f3f3;
}

.leaflet-control-fullscreen__btn:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.leaflet-control-fullscreen__btn.is-active {
  color: #0f62fe;
}

.leaflet-control-fullscreen__icon {
  width: 18px;
  height: 18px;
  position: relative;
  display: block;
}

.leaflet-control-fullscreen__icon::before,
.leaflet-control-fullscreen__icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
}

.leaflet-control-fullscreen__icon::before {
  top: 3px;
  left: 3px;
  border-bottom: none;
  border-right: none;
}

.leaflet-control-fullscreen__icon::after {
  bottom: 3px;
  right: 3px;
  border-top: none;
  border-left: none;
}

body.map-fullscreen {
  overflow: hidden;
}

body.map-fullscreen #map {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  z-index: 800;
}

body.map-fullscreen .leaflet-container {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none;
  max-height: none;
}

body.map-fullscreen .map-panel {
  z-index: 810;
}

/* =========================================
   REVIEW-SEITE (Duplikat)
========================================= */
.review-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.review-layout #map {
  flex: 1 1 620px;
  min-width: 320px;
}

.review-sidebar {
  flex: 0 0 360px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 1024px) {
  .review-layout {
    flex-direction: column;
  }
  .review-sidebar {
    width: 100%;
    max-width: none;
  }
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid #e0e0e0;
}

.review-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.review-card__hint {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #666;
}

.review-changelog {
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 10px;
  min-height: 200px;
  max-height: 320px;
  overflow: auto;
  font-size: 0.92rem;
  background: #fafafa;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 4px;
}

.review-form input,
.review-form textarea {
  border: 1px solid #c6c6c6;
  border-radius: 6px;
  padding: 8px;
  font: inherit;
}

.review-form button {
  align-self: flex-start;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  background: #0f62fe;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.review-form button:hover {
  background: #0044cc;
}

.file-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #888;
  border-radius: 8px;
  padding: 12px;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
}

.file-upload input {
  display: none;
}
