:root {
  --action-font-size: clamp(19px, 4vw, 22px);
  --vh: 1vh;
  --scroll-safe-top: 0px;
}
@font-face {
  font-family: "Comic Sans MS";
  src: url("fonts/ComicSansMS3.ttf") format("truetype");

  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Comic Sans MS";
  src: url("fonts/design.graffiti.comicsansmsgras.ttf") format("truetype");

  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "TimesCustom";
  src: url("fonts/timesnewroman.ttf") format("truetype");

  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  /* A fehér sávok elkerüléséhez az iOS böngésző a html háttérszínét használja a safe area kitöltésére */
  background-color: #c2ffd9;
}

body {
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  font-weight: bold;
  text-align: center;
  justify-content: center;
  align-items: center;
  /* background-color: #c2ffd9; <--- EZT ELHAGYJUK VAGY ALAPÉRTELMEZETT LESZ */
  color: #000;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;

  margin: 0;
  /* Alapból 0; iOS-en az @supports blokkban beállítjuk a safe area top paddingot */
  padding-top: 0;
  box-sizing: border-box;
  min-height: 100vh;

  /* --- GRADIENT HÁTTÉR --- */
  /* linear-gradient(irány, szín1, szín2 %-ban, szín3 %-ban) */
  /* to bottom: felülről lefelé */
  /* #1a6d46: egy sötétebb zöld árnyalat a tetején */
  /* #c2ffd9: az eredeti világoszöld árnyalatod */
  /* 10%: A sötét zöld nagyon gyorsan (a body magasságának első 10%-án belül) átvált a világos zöldre. */
  background-color: #c2ffd9;
  background-image: none;
  background-repeat: no-repeat; /* Fontos, hogy ne ismétlődjön, ha a tartalom rövid */
  background-attachment: fixed; /* Opcionális: a háttér ne scroll-ozzon a tartalommal */
}

/* Android - eredeti működő gradient */
body.capacitor-app.android::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: env(safe-area-inset-top, 0px);

  background-color: #00000055;
  
  backdrop-filter: blur(3px);

 /*  background-image: linear-gradient(to bottom, #9ddac6, #9ddac6 30%, #9ddac6c2 80%, #9ddac600 90%); */
  z-index: 999;
  pointer-events: none;
}

/* iOS - fix pozíció, csak a safe area-t fedje le */
/* body.capacitor-app.ios::before {
  content: "";
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: env(safe-area-inset-top, 0px) !important;
  background-image: linear-gradient(to bottom, #9ddac6, #9ddac6 30%, #9ddac6c2 80%, #9ddac600 90%) !important;
  z-index: 9999 !important;
  pointer-events: none !important;

  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  will-change: transform !important;

  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
  -webkit-perspective: 1000 !important;
  perspective: 1000 !important;
} */



/* iOS - alsó safe area kezelés - az app tartalma jelenjen meg */
body.capacitor-app.ios {
  padding-bottom: env(safe-area-inset-bottom, 0px);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  /* Megakadályozza a scroll hatását a gradient-re */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* iOS - térkép és lista mód teljes magasság */
body.capacitor-app.ios #map-content,
body.capacitor-app.ios .list {
  min-height: calc(100vh - env(safe-area-inset-top, 0px));
  min-height: calc(-webkit-fill-available - env(safe-area-inset-top, 0px));
}

/* iOS - fix elemek alsó pozíciója */
/* body.capacitor-app.ios .tab-button,
body.capacitor-app.ios .map-button,
body.capacitor-app.ios .list-button-container {
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

/* iOS - toggle-map-button speciális kezelés */
body.capacitor-app.ios #toggle-map-button {
  /* iOS-en a safe area figyelembevétele */
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  /* iOS-en a transform animációk optimalizálása */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* iOS-en a tap highlight eltávolítása */
  -webkit-tap-highlight-color: transparent;
  /* iOS-en a touch események optimalizálása */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* iOS - toggle-map-button animációk optimalizálása */
body.capacitor-app.ios #toggle-map-button.slide-up,
body.capacitor-app.ios #list-button-container.slide-up {
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  /* iOS-en a hardware acceleration */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* iOS-en a smooth animáció */
  -webkit-transition: bottom 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: bottom 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.capacitor-app.ios #toggle-map-button.slide-down {
  bottom: calc(-100px + env(safe-area-inset-bottom, 0px));
  /* iOS-en a hardware acceleration */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

body.capacitor-app.ios #toggle-map-button.scroll-bottom {
  bottom: calc(170px + env(safe-area-inset-bottom, 0px)) !important;
  /* iOS-en a smooth transition */
  -webkit-transition: bottom 0.3s ease-in-out;
  transition: bottom 0.3s ease-in-out;
} */

/* iOS - navbar háttér fix pozícióban */
body.capacitor-app.ios .navbar,
body.capacitor-app.ios .header,
body.capacitor-app.ios .top-bar {
  /* Legyen egységes háttér és a safe area tetejére illesztve */
  background: #c2ffd9;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
}

/* Android - navbar fix pozíció és háttér, status bar alatt */
body.capacitor-app.android .navbar,
body.capacitor-app.android .header,
body.capacitor-app.android .top-bar {
  background: #c2ffd9;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  color: #222; /* ensure dark text on light background */
}

/* Android - globális felső padding, hogy a tartalom ne lógjon be a státuszsor alá */
body.capacitor-app.android {
  /* Ensure content starts below Android status bar; use dynamic value from native if available */
  padding-top: calc(var(--android-status-bar-height, 32px) + 5px);
}

/* --- Capacitor App specifikus stílusok --- */

/* SAFE AREA FIXEK AKTIVÁLVA */
@supports (padding-top: constant(safe-area-inset-top)) or
  (padding-top: env(safe-area-inset-top)) {
  body {
    /* iOS: tegyünk felső safe area paddingot, így nem lóg be a tartalom a status bar alá */
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
  html {
    height: -webkit-fill-available;
  }
}

  #profile {
    margin: 0px 0px 5px;
  }

  /* KULCS: Flash üzenet stílusa a safe area figyelembevételével
       Ez felülírja a fenti alapértelmezett .flash-message szabályokat. */
  .flash-message {
    /* KULCS: Az üzenet top pozíciója a safe area teteje + extra offset az alkalmazás területére */
    top: calc(
      env(safe-area-inset-top, 0px) + 40px
    ); /* Safe area teteje + 20px extra offset */
    /* A többi stílus (min-height, background, border stb.) az alapértelmezettből öröklődik */
  }

  /* KULCS: Animáció a beúszáshoz felülről, majd "felugrással" a safe area figyelembevételével
       Ez felülírja a fenti alapértelmezett @keyframes slideInFlashMessage szabályokat. */
  @keyframes slideInFlashMessage {
    0% {
      opacity: 1;
      /* KULCS: Fentről, az elem saját magasságával off-screen, relative a safe area top-hoz */
      transform: translateY(-100%);
    }
    50% {
      /* Az elem beúszik a safe area tetejére + offset pozícióba */
      opacity: 1;
      transform: translateY(0); /* A top pozíciójához képest 0 eltolás */
    }
    100% {
      /* Ezután az elem feljebb mozdul 20px-el */
      opacity: 1;
      transform: translateY(
        -20px
      ); /* 20px-el feljebb a top pozícióhoz képest */
    }
  }

  /* KULCS: Animáció a kifelé csúszáshoz felfelé a safe area figyelembevételével
       Ez felülírja a fenti alapértelmezett @keyframes slideOutFlashMessage szabályokat. */
  @keyframes slideOutFlashMessage {
    0% {
      opacity: 1;
      /* Ahol a slideIn animáció befejeződött: 20px-el feljebb a safe area top-hoz képest */
      transform: translateY(-20px);
    }
    100% {
      opacity: 0;
      /* Felfelé csúszik az oldal tetején kívülre, relative a safe area top-hoz */
      transform: translateY(-100%);
    }
  }

  
  /* Fix for flash messages */
  .flash-message {
    top: calc(env(safe-area-inset-top, 0px) + 40px);
    z-index: 10000;
  }

body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

div {
  text-align: center;
  /* width: 100%; */
  /* ez a kis szar azt okozza, 
  hogy szétmegy tőle a map zoomolása */
  margin: auto;
  /* Center the div horizontally */
}

@keyframes bounceRotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(var(--rotate-amount));
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Labda pattogás-szerű animáció a térkép/lista gombokhoz */
@keyframes buttonBounce {
  0% {
    transform: translateY(100px) scale(0.8);
    opacity: 0;
  }
  40% {
    transform: translateY(-8px) scale(1.08);
    opacity: 1;
  }
  60% {
    transform: translateY(4px) scale(1.04);
  }
  75% {
    transform: translateY(-2px) scale(1.02);
  }
  85% {
    transform: translateY(1px) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* iOS - buttonBounce animáció optimalizálása */
@-webkit-keyframes buttonBounce {
  0% {
    -webkit-transform: translateY(100px) scale(0.8);
    opacity: 0;
  }
  40% {
    -webkit-transform: translateY(-8px) scale(1.08);
    opacity: 1;
  }
  60% {
    -webkit-transform: translateY(4px) scale(1.04);
  }
  75% {
    -webkit-transform: translateY(-2px) scale(1.02);
  }
  85% {
    -webkit-transform: translateY(1px) scale(1.01);
  }
  100% {
    -webkit-transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Animáció a gomb eltűnéséhez */
@keyframes buttonSlideDown {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translateY(-3px) scale(1.03);
    opacity: 0.9;
  }
  50% {
    transform: translateY(20px) scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: translateY(100px) scale(0.8);
    opacity: 0;
  }
}

/* iOS - buttonSlideDown animáció optimalizálása */
@-webkit-keyframes buttonSlideDown {
  0% {
    -webkit-transform: translateY(0) scale(1);
    opacity: 1;
  }
  25% {
    -webkit-transform: translateY(-3px) scale(1.03);
    opacity: 0.9;
  }
  50% {
    -webkit-transform: translateY(20px) scale(0.95);
    opacity: 0.7;
  }
  100% {
    -webkit-transform: translateY(100px) scale(0.8);
    opacity: 0;
  }
}

/* Globálisan az összes interaktív elemen */
* {
  -webkit-tap-highlight-color: transparent;
}

/* iOS - touch események optimalizálása */
body.capacitor-app.ios * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* iOS - szövegek kiválaszthatósága */
body.capacitor-app.ios input,
body.capacitor-app.ios textarea,
body.capacitor-app.ios [contenteditable] {
  -webkit-user-select: text;
  user-select: text;
}

/* Vagy csak a szív ikonra, ha csak ott zavaró */
.heart-icon {
  -webkit-tap-highlight-color: transparent;
}

/* Más interaktív elemekre is alkalmazhatod, pl. gombokra, linkekre */
button,
a {
  -webkit-tap-highlight-color: transparent;
}

.bounce {
  animation: bounceRotate 1.5s ease;
}
#map {
  width: 100%;
  height: 100%;
}
.prize-smiley {
  font-size: 15px;
  font-weight: 100;
  font-family: "TimesCustom", serif;
  margin-right: 5px;
  margin-top: 5px;
}

/* Általános szélesség beállítása Firefox esetén */
* {
  scrollbar-width: none; 
  scrollbar-color: #888 transparent; /* Szín beállítása */
}

/* WebKit-alapú böngészők (Chrome, Edge, Safari) */
*::-webkit-scrollbar {
  width: 6px; /* Görgetősáv szélessége */
  height: 6px; /* Vízszintes görgetősáv magassága */
}

*::-webkit-scrollbar-thumb {
  background: #888; /* Görgetősáv fogantyú színe */
  border-radius: 10px; /* Kerekített sarkok */
}

*::-webkit-scrollbar-thumb:hover {
  background: #555; /* Görgetősáv fogantyú színe hover esetén */
}

*::-webkit-scrollbar-track {
  background: transparent; /* Görgetősáv háttér */
}
.tab-button {
  flex: 1;
  padding: 10px 15px;
  background: #e5e5e5;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  font-family: "Comic Sans MS", cursive, sans-serif;
  color: #7f7f7f;
  transition: background 0.1s, color 0.1s;
  border: 1px solid #666666;
  border-bottom: none;
  border-radius: 0;
  margin: 0;
  text-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: none;
  transform: none;
  background-image: none;
}

.tab-button.active {
  background: #fff;
  color: #000;
  border: 2px solid #000000;
  border-bottom: none;
  font-weight: bold;
  z-index: 1;
}

.tab-button:hover:not(.active) {
  background: #d8d8d8;
  color: #7f7f7f;
}

.tab-button:active {
  background: #ccc;
}

/* Stílus a hidden/show tab konténerhez (JS kezeli) */
.hidden-tabs {
  display: none;
}

.list-button-container,
.map-button-container,
.search-this-area-button-container {
  position: fixed;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  border: 2px solid black;
  background-color: #222222;
  color: white;
  font-weight: 500;
  border: 0px;
  box-shadow: #00000063 2px 4px 6px -2px;
  border-radius: 30px;
  /*  padding: 7px 20px; */
  text-transform: uppercase;
  cursor: pointer;
  transition: bottom 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  gap: 10px;
  height: 35px;
  width: 110px;
  /* font-size: 17px; */
  z-index: 2;
  font-size: var(--action-font-size);
  padding: clamp(0px, 1.5vw, 8px) clamp(0px, 4.5vw, 25px);
}
.list-button-container {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background-color: #000000b8;
  isolation: isolate;
}

.map-button-container {
  bottom: -100px;
}

.search-this-area-button-container {
  top: 90px;
  width: 160px;
  gap: 0px;
  text-transform: lowercase;
  padding: 0px 20px;
}

.list-button-container {
  bottom: -100px;

  color: white;
  /* Kezdetben az oldal alá van tolva */
}

#toggle-map-button.slide-up,
#list-button-container.slide-up {
  bottom: 60px;
  color: white;
  /* Felcsúszik a képernyő aljára */
  animation: buttonBounce 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* iOS: igazítsuk a LISTA gomb végső pozícióját a location ikonhoz (62px),
   ne adjunk hozzá safe-area korrekciót, mert a fixed elemek a viewporthoz igazodnak */
body.capacitor-app.ios #list-button-container.slide-up {
  bottom: 62px;
}

/* iOS: a TÉRKÉP gomb is ugyanebben a végső magasságban álljon meg */
body.capacitor-app.ios #toggle-map-button.slide-up {
  bottom: 62px;
}

#toggle-map-button.slide-down {
  bottom: -100px;
  color: white;
  animation: buttonSlideDown 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

#toggle-map-button.scroll-bottom {
  bottom: 170px !important;
  transition: bottom 0.3s ease-in-out;
}

.location-icon {
  display: flex;
  cursor: pointer;
  /* width: 25px; */
  position: relative;
  width: clamp(18px, 5vw, 25px);
}

#search-icon {
  width: 30px;
  position: relative;
  top: 50px;
  left: 10px;
}

#coolinput {
  display: flex;
  flex-direction: column;
}

.coolinput {
  width: fit-content;
  display: flex;
  flex-direction: column;
  z-index: 1001;
}

.coolinput label.text {
  font-size: 0.75rem;
  color: #000000;
  font-weight: 700;
  position: relative;
  top: 0.5rem;
  margin: 0 0 0 7px;
  padding: 0 3px;
  background: #ffffff;
  width: fit-content;
}

.coolinput input[type="text"].search-input {
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  text-align: start;
  text-transform: uppercase;
  padding: 5px 10px;
  font-size: clamp(14px, 6vw, 25px);
  border: 2px #000000 solid;
  border-radius: 15px;
}

.coolinput input[type="text"].search-input:focus {
  outline: none;
}

.coolinput input::placeholder {
  font-size: 14px;
  opacity: 0.5;
  text-transform: lowercase;
}

/* From Uiverse.io by OnCloud125252 */
.inputBox_container {
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: row;
  background-color: #ffffffa0;
  overflow: visible;
  border: 2px solid #000000;
  border-radius: 25px;
  z-index: 1001;
  width: 100%;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  isolation: isolate;
}

.inputBox_container label.text {
  font-size: 0.75rem;
  color: #000000;
  font-weight: 700;
  position: absolute;
  top: -7px;
  left: 15px;
  margin: 0 0 0 7px;
  padding: 0 3px;
  background: #ffffff;
  border-radius: 20px;
}

.search_icon {
  height: 24px;
  padding: 0 0.5em 0 0.8em;
  fill: #222222;
  margin: -5px;
  position: relative;
  left: 3px;
}

.inputBox {
  background-color: transparent;
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  color: #000000;
  outline: none;
  width: 100%;
  height: 100%; /* Dinamikus magasság követése */
  border: 0;
  padding: 5px 10px;
  text-transform: capitalize;
  font-size: 25px;
  display: flex;
  align-items: center;
}

.inputBox::placeholder {
  font-size: clamp(9px, 3vw, 12px);
  opacity: 0.5;
  text-transform: lowercase;
  /*   position: relative;
  top: 50%;
  transform: translateY(-50%);  */
}

.inputBox_container.slide-up {
  box-shadow: #00000063 2px 4px 6px -2px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.clear-button {
  position: relative;
  right: 15px;
  cursor: pointer;
  font-size: 18px;
  color: #888;
  display: none;
  padding: 5px;
  /* Alapértelmezésben el van rejtve */
}

.search-loader {
  display: none;
  /* Rejtett alapértelmezésben */
  position: relative;
  right: 15px;
  top: 50%;

  border: 2px solid #f3f3f3;
  /* világosabb külső gyűrű */
  border-top: 2px solid #888;
  /* sötétebb belső gyűrű */
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
}
.text-content {
  /* A név és cím konténere, hogy együtt maradjanak bal oldalon */
  flex-grow: 1; /* Hogy a rendelkezésre álló helyet kitöltse */
  margin-right: 10px; /* Kis térköz a szív ikon előtt */
  max-width: 600px;
  width: 100%;
  /* Natív CSS megfelelője a Tailwind .font-bold, .text-sm, .text-gray-600 osztályoknak, ha nem használsz Tailwindet: */
  /* .font-bold -> font-weight: bold; */
  /* .text-sm -> font-size: 0.875rem; vagy 0.8em; */
  /* .text-gray-600 -> color: #4b5563; vagy #666; */
}
.font-bold {
  font-size: large;
  text-align: left;
}
.text-sm {
  text-align: left;
  font-size: small;
  color: grey;
}

/* Animáció a loader forgásához */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.inputBox:not(:placeholder-shown) ~ .clear-button {
  display: block;
  /* Ha van szöveg az inputban, akkor jelenjen meg az X */
}

.clear-button:hover {
  color: #000;
}
#inputbox-with-dropdown {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.dropdown {
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #ccc;
  width: calc(100% - 90px);
  z-index: 1000;
  top: 49px;
  left: 20px;
  border: 2px solid #000000;
  border-radius: 0px 0px 20px 65px / 0px 0px 60px 18px;
  box-shadow: #00000063 2px 5px 7px -3px;
  border-top: 0px;
}

.add-backdrop-filter {
  background-color: #ffffffa0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  isolation: isolate;
}

.dropdown2-width {
  width: calc(100% - 40px);
}

.round-action-button {
  display: flex;
  justify-content: flex-end;
  cursor: pointer;
  border-radius: 50%;
  background-color: #ffffffa0;
  padding: 7px;
  margin-top: 0px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  isolation: isolate;
}

#location-icon {
  position: fixed;
  bottom: 62px;
  right: 42px;
  box-shadow: #00000063 2px 4px 6px -2px;
  transform: scale(0);
  transition: all 0.2s ease-in-out;
}

#location-icon.slide-up {
  transform: scale(1);
}

#filter.slide-up {
  box-shadow: #00000063 2px 4px 6px -2px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#sort {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  position: relative;
  top: 10px;
  z-index: 1;
  font-size: small;
  align-items: flex-end;
  height: 0px;
}
#sort-text {
  text-decoration: underline;
  text-transform: lowercase;
}
.dropdown-item,
.no-results {
  padding: 10px 23px;
  cursor: pointer;
  /* border-bottom: 1px solid #e6e6e6; */
  font-size: 15px;
  text-align: left;
}

.open-close-container {
  display: flex;
  justify-content: flex-start;
  position: relative;
  width: 0px;
  top: -18px;
  left: -50%;
  height: 5px;
  perspective: 800px;
  rotate: 350deg;

  input {
    display: none;
  }

  label {
    cursor: pointer;
    display: block;

    .top {
      width: 0px;
      margin: 0 auto;
      height: 50px;
      transition: 0.5s all;

      .pin {
        border: 3px solid black;
        background-color: #ffd371;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        position: relative;
        margin: 0 auto;

        .rope {
          width: 3px;
          height: 45px;
          z-index: -1;
          background-color: rgb(0, 0, 0);
          position: absolute;
          transition: 0.5s all;

          &.left {
            left: -19px;
            transform: rotate(55deg);
            /*        border-left: 1px solid lightgray;
            border-right: 1px solid gray; */
          }

          &.right {
            right: -19px;
            transform: rotate(-55deg);
            /*  border-right: 1px solid lightgray;
            border-left: 1px solid gray; */
          }
        }
      }
    }

    .bottom {
      top: 35px;
      width: 120px;
      height: 30px;
      line-height: 29px;
      font-size: 20px;
      text-align: center;
      position: absolute;
      left: 7px;
      transform: translateX(-50%);
      transform-style: preserve-3d;

      transition: 0.5s all;

      .side {
        position: absolute;
        width: 120px;
        height: 30px;
        backface-visibility: hidden;
        color: #000000;

        &.front {
          background-color: #9ddac6;
          border: 3px solid black;
          box-shadow: #00000063 -2px 11px 10px -2px;
        }

        &.back {
          background-color: #ef4a4a;
          transform: rotateY(180deg);
          border: 3px solid black;
          box-shadow: #00000063 -2px 11px 10px -2px;
          line-height: 14px;
          font-size: 14px;
        }
      }
    }
  }

  input:checked ~ label {
    .top {
      height: 200px;
      height: 50px;

      .pin {
        .rope {
          &.left {
            left: 30px;
            transform: rotate(-55deg);
          }

          &.right {
            right: 30px;
            transform: rotate(55deg);
          }
        }
      }
    }

    .bottom {
      transform: translateX(-50%) rotateY(180deg);
    }
  }
}

#prize {
  transition: all 0.5s;
}

.prize-rectangle {
  background-color: #ff4848;
  border: 2px solid black;
  padding: 15px 3px 3px;
  min-width: 200px;
  margin: 5px 0px 5px;
  font-size: 20px;
  /* text-decoration: underline; */
  font-size: var(--action-font-size);
}

.prize-container {
  display: flex;
  flex-direction: column;
  min-height: 50px;
  width: 100%;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin: auto;
  position: relative;
  top: 0px;
  left: 0px;
}
#smiley {
  font-size: larger;
  position: fixed;
}




.button-54 {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  border: 3px solid;
  padding: 0.25em 0.5em;
  box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-54:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

@media (min-width: 768px) {
  .button-54 {
    padding: 0.25em 0.75em;
  }
}



.button-circle {
  /* font-family: "Open Sans", sans-serif; */
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  background-color: #ffd371;
  color: #000;
  cursor: pointer;
  border: 3px solid;
  padding: 0.25em 0.5em;
  border-radius: 30px;
  box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px,
    5px 5px 0px 0px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  z-index: 2;
  width: 45px;
  transition: all 100ms linear;
}

.button-circle-pressed {
  background-color: #797979;
  color: #000000;
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
  opacity: 0.4;
}

.button-54:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

.button-54-disabled:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

.button-circle:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

.button-74 {
  background-color: #ffffff;
  border: 2px solid #422800;
  border-radius: 30px;
  box-shadow: #422800 4px 4px 0 0;
  color: #422800;
  cursor: pointer;
  display: inline-block;
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  font-weight: 600;
  /* font-size: 20px; */
  padding: 0 18px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  z-index: 2;
  font-size: var(--action-font-size);
  margin: 5px;
}

/* .button-74:hover {
  background-color: #9DDAC6;
} */

.button-74:active {
  box-shadow: #422800 2px 2px 0 0;
  /* background-color: #9DDAC6; */
  transform: translate(2px, 2px);
}

/* Kijelentkezés gomb speciális stílusa */
#profile-logout-button.button-74 {
  background-color: #ff4848;
  color: white;
}

#profile-logout-button.button-74:active {
  box-shadow: #422800 2px 2px 0 0;
  transform: translate(2px, 2px);
}

/* szöveg loader */

.text-loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: transparent;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin89345 1s linear infinite;
}

@keyframes spin89345 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* loader */

.loader {
  display: none;
  width: 40px;
  height: 20px;
  margin: auto;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  z-index: 1;
}

.loader:before {
  content: "";
  width: 40px;
  height: 4px;
  background: #000;
  opacity: 0.25;
  position: absolute;
  top: 45px;
  left: 0;
  border-radius: 50%;
}

.loader:after {
  content: "ˆڡˆ";
  width: 100%;
  height: 100%;
  background: #ff4848;
  border: #000 3px solid;

  position: absolute;
  top: 0;
  left: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 100;
}

.loader.animate::before {
  animation: shadow 1s linear infinite;
}

.loader.animate::after {
  animation: bxSpin 1s linear infinite;
}

.loader.modified::after {
  top: -20px;
  left: -100px;
}

.loader.modified::before {
  top: 0px;
  left: 0px;
}

@keyframes bxSpin {
  17% {
    border-bottom-right-radius: 3px;
  }

  25% {
    transform: translateY(9px) rotate(90deg);
  }

  50% {
    transform: translateY(18px) scale(1, 0.9) rotate(180deg);
    border-bottom-right-radius: 3px;
  }

  75% {
    transform: translateY(9px) rotate(270deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

@keyframes shadow {
  0%,
  100% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1.2, 1);
  }
}

/* link */
a {
  overflow: hidden;
  position: relative;
  display: inline-block;
  color: #0000ff;
}

/* a::before,
a::after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
}
a::before {
  background-color: #9ddac6;
  height: 2px;
  bottom: 0;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}
a::after {
  content: attr(data-replace);
  height: 100%;
  top: 0;
  transform-origin: 100% 50%;
  transform: translate3d(200%, 0, 0);
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  color: #9ddac6;
} */

/* a:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}
a:hover::after {
  transform: translate3d(0, 0, 0);
} */

a span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
  /* margin-bottom: 15px; */
}

a {
  text-decoration: none;
  /* color: #45474B */
  color: #000000;
  font-weight: 700;
  vertical-align: top;
}
.login-link {
  text-decoration: underline;
}

.restaurant-item-link a {
  min-height: 55px;
}

.list,
.enniinni-hova {
  position: relative;
  border: 3px solid #333333;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2ch;
  background-color: white;
  transition: transform 0.5s ease-in-out;
  /*  transform: translateY(0); /* Kezdeti állapot */
}

.list {
  padding: 0.5rem 1rem 0rem 1rem;
  border-radius: 0px 0px 35px 40px / 0px 0px 25px 6px;
  min-height: 62vh;
  border-top: 0px;
  transform: translateY(0);
}

.list.move-down {
  /* overflow: hidden; /* A tartalom rejtve van */
  transform: translateY(100vh);
  /* Eltolás az oldal alja felé */
  opacity: 0;
  /* Áttetszővé tesszük, hogy eltűnjön */
  visibility: hidden;
  /* Teljesen elrejtjük az elemet */
  /* Az elem lenavigól az oldal aljára */
  padding: 0;
  border: 0;
}

.enniinni-hova {
  border-radius: 54px 17px 0px 0px / 6px 85px 0px 0px;
  padding: 0rem 1rem 0rem;
  z-index: 3;
  border-bottom: 0px;
  transform: translateY(0);
}

.enniinni-hova.slide-up {
  transform: translateY(-100vh);
  /* Az elem lenavigál az oldal aljára */
}

#search-container-container {
  position: relative;
}

#search-container,
.search-container {
  display: flex;
  gap: 5px;
  position: relative;

  z-index: 3;
  max-width: 400px;
  top: 0px;

  border-radius: 15px;

  transition: none; /* Eltávolítjuk a régi transition-t */
  transform: translateY(0); /* Kezdeti állapot */
}

/* Térkép mód: a városkereső beúszik fentről le */
#search-container-1.map-mode {
  position: fixed;
  left: 20px;
  right: 20px;
  top: 80px; /* végső pozíció */
  transform: translateY(-140px); /* induljon fentről */
  opacity: 0;
  z-index: 900; /* Mindig a modal (z-index:1000) alatt legyen */
  transition: transform 0.5s ease-in-out, opacity 0.4s ease-in-out;
}

#search-container-1.map-mode.slide-up {
  transform: translateY(0);
  opacity: 1;
}

#list-tab,
#map-tab {
  text-transform: uppercase;
  /* text-decoration: underline; */
  cursor: pointer;
  padding: 5px 20px;
}

#map-tab {
  margin: 0px;
}

/* #arrow.arrow-down {
  z-index: 0;
} */

.restaurant-item-link {
  display: flex;
  width: 100%;
  /* A teljes rendelkezésre álló szélesség */
}

.restaurant-info {
  display: flex;
  align-items: center;
  width: 100%;
  /* Ez kitölti a teljes szélességet */
}

.restaurant-icon {
  margin-right: 20px;
  height: 35px;
}
.modal-heart-icon {
  height: 35px;
  margin-left: 5px;
  cursor: pointer;
}

.modal-category-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  margin-right: 5px;
}


.cuisine-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cuisine-category-item.primary-category {
  font-weight: bold;
}

.cuisine-category-name {
  font-size: 16px;
  color: #333;
}

.heart-icon-container {
  position: relative; /* KULCS: Ennek kell relative-nek lennie az abszolút pozicionált gyermekekhez */
  width: 30px; /* Állítsd be a kívánt fix szélességet */
  height: 30px;
  /* Állítsd be a kívánt fix magasságot, hogy ne ugorjon */
  display: flex; /* Középre igazítás, ha az abszolút elemek kisebbek/nagyobbak a konténernél */
  justify-content: center;
  align-items: center;
  /* Optional: add a background color or border here for debugging to see its fixed size */
}

.heart-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Kitölti a konténert */
  min-width: 15px;
  margin-left: 5px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 0.5px black) drop-shadow(0 0 0.5px black); /* Black outline if SVG doesn't include it */
  transition: none; /* Crucial: JS will control transitions via classes */
  opacity: 1; /* Default to visible */
  transform: scale(1); /* Default scale */
  padding-bottom: 100%;
}

/* Class to hide the icon during animation */
.heart-icon.hidden-icon {
  display: none !important;
}
.heart-icon-disabled {
  pointer-events: none; /* Letiltja a kattintásokat az elemen */
  cursor: default; /* Alapértelmezett kurzor, jelezve, hogy nem kattintható */
  opacity: 0.7; /* Enyhén elhalványítva is jelezheti a letiltott állapotot */
}

/* Keyframes for the fade out and grow animation */
@keyframes fade-out-grow {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* Keyframes for the fade in and shrink animation */
@keyframes fade-in-shrink {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Helper classes to apply animations with a CSS variable for duration */
.animate-out {
  animation: fade-out-grow var(--animation-duration) ease-out forwards;
}
.animate-in {
  animation: fade-in-shrink var(--animation-duration) ease-out forwards;
}

/* Feliratkozás ikonok animációi - ugyanazok mint a heart ikonoknál */
.follow.animate-out,
.following.animate-out {
  animation: fade-out-grow var(--animation-duration, 0.3s) ease-out forwards;
}

.follow.animate-in,
.following.animate-in {
  animation: fade-in-shrink var(--animation-duration, 0.3s) ease-out forwards;
}

.modal-restaurant-name {
  /* flex-grow: 1; */
  text-align: center;
  margin: auto;
  word-wrap: break-word;
  font-size: clamp(14px, 5vw, 24px);
  display: flex;
  /* flex-wrap: wrap; */
  align-items: center;
  position: relative;
}


.restaurant-name {
  word-wrap: break-word;
  text-align: start;
  font-size: clamp(14px, 5vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start;
  margin-bottom: 5px;
  cursor: pointer;
}

.restaurant-price {
  padding: 0px 5px 0px 7px;
  background-color: #9ddac6;
  border-radius: 50%;
  font-size: clamp(12px, 4vw, 18px);
  letter-spacing: 0.2ch;
}

.km-holder {
  color: #808080bd;
  font-size: clamp(12px, 4vw, 18px);
  font-weight: 100;
}

.restaurant-status {
  width: 35px;
  position: absolute;
  left: 50%;
  bottom: -10px;
}

.disabled-restaurant {
  color: grey;
  filter: grayscale(100%);
}
.disabled-restaurant img {
  /*  opacity: 75%; */
  filter: contrast(60%);
}

.open-where {
  display: flex;
  flex-direction: column;
  width: 50px;
  position: relative;
  align-items: center;
  margin: 10px 5px 10px 0px;
}

.restaurant-name-text {
  margin-right: 5px;
  text-align: start;
}

.myposition {
  /*display: none;
   border: 2px solid black;
  border-radius: 10px; */
  text-align: center;
  font-size: 12px;
  padding: 15px;
  background-color: white;
  /*  position: relative; */
  /* box-shadow: #00000080 -2px 10px 10px -2px; */

  z-index: 999;
  /*   top: 500px; */
  max-width: 80%;
}

.myposition-text {
  font-size: clamp(11px, 3vw, 14px);
  /* border: 1px solid #00000069; */
  border-radius: 10px;
  margin: 10px;
  padding: 10px 15px;
  background-color: aliceblue;
}

.position-ad-item {
  padding: 0px;
}
.restaurant-list-class {
  position: relative;
  /* color: #45474B; */
  /* opacity: 0.8; */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: start;
  text-transform: capitalize;
  width: 100%;
  filter: blur(0px);
  transition: all 0.1s ease-in-out;
  opacity: 1;
  margin-bottom: 70px;
}

.restaurant-list-class-blur {
  opacity: 0.4;
  filter: blur(4px);
  transition: opacity 0.3s ease, filter 0.1s ease;
}

restaurant-list-class::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #9ddac6;
  z-index: -1;
}

/* text */

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.overlay a::before {
  background-color: #000;
}

/* iOS centering fix: ne a konténert forgassuk, és ne használjunk position:fixed + transform ütközést */
#face-loader-container {
  /* background: #ffd371;
  border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  /* padding: 3px;
  letter-spacing: 0ch;
  font-weight: 100;
  font-family: 'Times New Roman';
  font-size: 72px; */
  /* a központosítást a #overlay flex-e végzi; ne legyen fixed és ne legyen translate itt */
  margin: 0; /* biztosan ne tolja fel/le */
}

/* A forgást az ikonra visszük, hogy a középre igazítás stabil maradjon iOS-en is */
#face-loader img {
  animation: spin 3s linear infinite;
  will-change: transform;
  transform-origin: 50% 50%;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* background */

/* hol egyek keret */

.hova {
  display: flex;
  background-color: #9ddac6;
  max-width: 250px;
  border: #000 2px solid;
  border-radius: 5px;
  font-size: 1.3rem;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

.hol {
  background-color: #9ddac6;
  max-width: 250px;
  padding: 10px;
  border: #000 5px solid;
  border-radius: 0;
  transition: border-radius 3s;
  margin: 10px;
}

.block {
  position: relative;
  margin: auto;
  color: #e5e7eb;
  background: linear-gradient(0deg, #000, #272727);
}

.block:before,
.block:after {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  background: linear-gradient(
    45deg,
    #fb0094,
    #0000ff,
    #00ff00,
    #ffff00,
    #ff0000,
    #fb0094,
    #0000ff,
    #00ff00,
    #ffff00,
    #ff0000
  );
  background-size: 400%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  animation: steam 20s linear infinite;
}

@keyframes steam {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.block:after {
  filter: blur(50px);
}

/* note */

#map-content {
  position: fixed;
  inset: 0; /* töltse ki a teljes képernyőt */
  width: 100vw;
  height: 100dvh; /* iOS dinamikus viewport, elkerüli a "zoom" hatást */
  padding: 0;
  z-index: 0;
  transform: none; /* ne skálázzuk, mert eltolja az edge-et és a back gesztust */
  opacity: 0; /* kezdetben elrejtve, csak áttűnés */
  transition: opacity 0.3s ease-in-out;
  background-color: #c2ffd9; /* safe-area háttér az esetleges réseknél */
}

#map-content.map-content-fullscreen {
  width: 100vw;
  height: 100dvh;
  opacity: 1;
  pointer-events: auto;
}

/* Popup egyéni stílusai */
.custom-popup {
  z-index: 1000;
  /* Popup a markerek fölé helyezése */
  border-radius: 50%;
  /* Lekerekített sarkak */
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  /* Betűtípus */
  font-weight: bold;
  /* Félkövér betű */
  padding: 5px 10px;
  /* Belső margó a popupban */
}

/* [Törölve: popup stílusok] */

/* Marker név címkék stílusai */
.marker-name-container {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Kattintásra megjelenő név címke magasabb z-indexszel */
.marker-name-container.marker-name-clicked {
  z-index: 10000;
}

.marker-name-container:hover {
  transform: translateX(-50%) scale(1.05);
}

/* Kattintásra megjelenő név címke stílusai */
.marker-name-clicked {
  animation: nameLabelAppear 0.3s ease-out;
}

@keyframes nameLabelAppear {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

.marker-name-label {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
  transition: opacity 0.3s ease;
  transform-origin: left bottom;
  animation: markerNameGrow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  margin-left: 8px;
}

@keyframes markerNameGrow {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  80% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.marker-name-label:hover {
  opacity: 0.8;
}

.marker-name-label.closed {
  background: #e0e0e0;
  color: #888;
}

/* Morph modal stílusok */
.morphing-restaurant-modal {
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  font-weight: normal;
  background: #fff;
  border-radius: 8px;
  border: 3px solid #222;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 15px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  max-width: 480px;
  margin: auto;
  padding: 0;
  position: relative;
}

.morphing-restaurant-address {
  margin-bottom: 10px;
}
.morphing-restaurant-address .morphing-restaurant-address {
  font-weight: bold;
  font-size: 1.08rem;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.3;
}
.morphing-opening-hours {
  margin-bottom: 10px;
}
.morphing-opening-hours-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.08rem;
  margin-bottom: 2px;
  font-family: inherit;
}
.morphing-opening-hours-item .times {
  display: flex;
  gap: 10px;
  font-family: inherit;
}
.morphing-opening-hours-item.bold {
  font-weight: bold;
}
.morphing-opening-hours-item .times span {
  font-weight: normal;
  font-size: 1.08rem;
  margin-left: 0.5em;
}
.morphing-opening-hours-item.bold .times span {
  font-weight: bold;
}
.morphing-navigation-link {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: underline;
  color: #111;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin: 0 auto;
  padding: 6px 18px;
  transition: background 0.2s;
}
.morphing-navigation-link:hover {
  background: #f0f0f0;
  color: #222;
}
@media (max-width: 600px) {
  .morphing-restaurant-modal {
    max-width: 98vw;
    border-width: 2px;
  }
  .morphing-modal-center {
    padding: 0 8px 0 8px;
  }
}

.morphing-modal-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.4;
}

.morphing-loading {
  text-align: center;
  color: #666;
  font-style: italic;
}

.morphing-address {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.morphing-opening-hours {
  margin-bottom: 15px;
}

.morphing-day {
  margin: 5px 0;
  padding: 3px 0;
}

.morphing-today {
  font-weight: bold;
  color: #007bff;
  background: rgba(0, 123, 255, 0.1);
  padding: 5px;
  border-radius: 3px;
}

.morphing-maps-link {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.morphing-maps-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.morphing-maps-link a:hover {
  text-decoration: underline;
}

.morphing-error {
  color: #dc3545;
  text-align: center;
  font-style: italic;
}

/* Animációk */
.morphing-restaurant-modal.morphing-closing {
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.sketchy {
  z-index: 2;
  min-height: 97vh;
}

#coordinates {
  position: relative;
  bottom: 0px;
  font-size: 14px;
  z-index: -1;
}

/* animation */
#sketchy-container {
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
}

.slide-right {
  animation: slide-right 2500ms linear;
}

@keyframes slide-right {
  0% {
    left: 0%;
  }

  100% {
    left: 100%;
  }
}

/* dollár szűrők */
.dollar {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.dollarok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dollarok .button-54 {
  background-color: #9ddac6;
  margin-top: 5px;
  margin-bottom: 40px;
  font-size: 1rem;
}

.dollarok .button-54-pressed {
  background-color: #9ddac6;
  color: #000000;
  opacity: 0.2;
}

.button-width {
  width: 55px;
}

a.button-54 {
  min-width: 150px;
}

#loader {
  transition: all 1000ms ease;
}

#prizeLink > a {
  transform: rotate(0deg);
}

.switch {
  font-size: 20px;
  position: relative;
  display: inline-flex;
  width: 11em;
  /* height: 5em; */
  /*  margin-bottom: 20px; */
  align-items: center;
}

.switch .cb {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 75px;
  background-color: #000;
  border-radius: 0.1em;
  font-weight: 700;
  overflow-x: hidden;
  /* Hide overflow on the x-axis */
  overflow-y: auto;
  /* Adjust the y-axis overflow behavior as needed */
  box-shadow: -0.3em 0 0 0 #000, -0.3em 0.3em 0 0 #000, 0.3em 0 0 0 #000,
    0.3em 0.3em 0 0 #000, 0 0.3em 0 0 #000;
  padding-top: 7px;
}

.toggle > .right-switch {
  position: absolute;
  display: flex;
  width: 50%;
  height: 70px;
  background-color: #ff4848;
  color: #000;
  left: 0;
  bottom: 0;
  align-items: center;
  justify-content: center;
  transform-origin: right;
  transform: rotateX(10deg);
  transform-style: preserve-3d;
  transition: all 150ms;
  border: 1px solid black;
  font-size: 1.6em;
}

.right-switch::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgb(124 20 20);
  transform-origin: center left;
  transform: rotateY(90deg);
  border: 1px solid black;
}

.right-switch::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgb(124 20 20);
  transform-origin: center bottom;
  transform: rotateX(90deg);
  border: 1px solid black;
}

.toggle > .left-switch {
  position: absolute;
  display: flex;
  width: 50%;
  height: 70px;
  background-color: rgb(230, 230, 230);
  color: rgb(0, 0, 0);
  right: 1px;
  bottom: 0;
  align-items: center;
  justify-content: center;
  transform-origin: left;
  transform: rotateX(10deg) rotateY(-30deg);
  transform-style: preserve-3d;
  transition: all 150ms;
  border: 1px solid black;
}

/* before afterek miatt nem ment mobilon a filter görgetés */
.left-switch::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgb(124 20 20);
  transform-origin: center right;
  transform: rotateY(-90deg);
  border: 1px solid black;
}

.left-switch::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgb(124 20 20);
  transform-origin: center bottom;
  transform: rotateX(90deg);
  border: 1px solid black;
}

.switch input:checked + .toggle > .right-switch {
  transform: rotateX(10deg) rotateY(30deg);
  color: rgb(0, 0, 0);
  background: #b62222;

  border: 1px solid black;
  font-size: 1.6em;
}

.switch input:checked + .toggle > .left-switch {
  transform: rotateX(10deg) rotateY(0deg);
  color: #000000;
  background-color: #ff4848;
  border: 1px solid black;
  font-size: 1.6em;
}

.switch input:not(:checked) + .toggle > .left-switch {
  background-color: #b62222;
  border: 1px solid black;
  font-size: 1.6em;
}

@keyframes flicker {
  0% {
    opacity: 1;
  }

  80% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

@keyframes light-off {
  0% {
    opacity: 1;
  }

  80% {
    opacity: 0;
  }
}

/* led light */

.dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(transparent 30%, rgba(0, 101, 96, 0.7) 70%);
  background-size: 10px 10px;
}

.light {
  opacity: 0;
  animation: light-off 1s;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#7efff4, #18ffec 40%, transparent 70%);
}

/* ledlight */

/* .ledlight{
  transition: all 0.3s cubic-bezier(1, 0, 1, 1);
  transform-origin: center center -20px;
  transform: translateZ(20px) rotateX(-25deg);
  transform-style: preserve-3d;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background-color: #9b0621;
  animation: flicker 0.2s infinite 0.3s;
  /* animation: light-off 1s; 
  background: linear-gradient(#980000 0%, #6f0000 30%, #6f0000 70%, #980000 100%);
  background-size: 5px 5px;
  margin: 5px;
}

.dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(transparent 30%, rgba(101, 0, 0, 0.7) 70%);
  background-size: 5px 5px;
  border-radius: 5px;
} */

.wrapper {
  --font-color-dark: #323232;
  --font-color-light: #fff;
  --bg-color: #fff;
  --main-color: #323232;
  --secondary-color: #505050;
  position: relative;
  width: 100%;
  height: 36px;
  background-color: var(--bg-color);
  border: 2px solid var(--main-color);
  border-radius: 34px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  box-shadow: 4px 4px var(--main-color);
  margin: 0px;
  background-color: #ffd371;
}

.wrapper .option {
  margin-right: 5px;
  width: 80.5px;
  height: 28px;
  position: relative;
  top: 0px;
  left: 2px;
  border-radius: 34px;
  transition: 0.25s cubic-bezier(0, 0, 0, 1);
}

.wrapper .option:last-child {
  margin-right: 4px;
}

.wrapper .option:hover {
  background-color: var(--secondary-color);
}

.wrapper .option:hover .span {
  color: var(--font-color-light);
}

.input {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  appearance: none;
  cursor: pointer;
}

.btn {
  width: 100%;
  height: 100%;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.span {
  color: var(--font-color-dark);
}

.input:checked + .btn {
  background-color: var(--main-color);
  transition: 0.2s cubic-bezier(0, 0, 0, 1);
}

.input:checked + .btn .span {
  color: var(--font-color-light);
  transition: 0.25s cubic-bezier(0, 0, 0, 1);
}

/* .rest-arrow {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
} */

.no-items {
  font-size: 1rem;
  margin-top: 40px;
  font-weight: 100;
  max-width: 600px;
  text-transform: none;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/* list */
ul {
  list-style-position: inside;
  width: 600px;
  max-width: 100%;
  background: white;
  /* box-shadow: 0.25rem 0.25rem 0.75rem rgb(0 0 0 / 0.15); */
  padding: 0;
  margin: 0;
  border-radius: 0.1rem;
  margin-top: 5px;
}

li {
  /* padding: 0 0 0 1rem; */
  margin-top: 10px;
}

li:not(:last-child) {
  border-bottom: 1px solid rgb(88, 88, 88);
}

li:first-child {
  margin-top: 1rem;
}

li:last-child {
  margin-bottom: 1rem;
}

/* ::marker {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='14' viewBox='0 0 50 50'%3E%3Cpath d='M46.4 16.2c-2.3-2.3-5.4-3.5-8.4-4.5-.5-.2-1.1-.3-1.6-.5-1.6-1.6-3.7-2.8-6.2-3.2-1-.2-1.9.1-2.5.6-.9-.3-1.8-.6-2.7-.8-3.2-1-6.4-1.8-9.5-.1-1 .5-1.9 1.2-2.7 2-6.4 1.4-11.7 5-12.4 12.7C0 27 1.9 31.5 4.9 34.9c.1.6.2 1.1.4 1.7 1 3.2 3.3 5.7 6.7 6.5 2.7.6 5.4-.2 7.9-1.2 3.3.4 6.7.3 9.9 0 6.5-.7 13.3-2.8 17.1-8.5 3.6-5.2 4-12.6-.5-17.2zm-17.3.9c2.1.4 4 1.7 4.7 3.8 0 .5-.1 1.1-.2 1.6-.3 1.4-.8 2.6-1.6 3.7-.7.2-1.5.1-2.3-.4-.8-.4-1.6-1-2.2-1.6-.4-.4-1.2-1.7-1.6-1.9 3.4 1.3 5.1-3 3.2-5.2zm-11.6 9.7c.2-1.9 1.1-3.9 2.3-5.5-.4 2.1.3 4.2 1.7 6 1.3 1.7 3.1 3.2 5 4.2-.2.1-.4.2-.6.4-.1 0-.1.1-.2.1-3.9.2-8.7-.8-8.2-5.2zm-6.4 3.1c.1.3.1.7.2 1 .2.6.4 1.2.7 1.8-.4-.2-.7-.5-1-.7.1-.8.1-1.4.1-2.1zm31.2-1.3c-.9 1.7-2.1 3.1-3.7 4.1 2-2.1 3.4-4.7 4-7.6.2-.7.3-1.4.3-2.1.6 1.5.5 3.3-.6 5.6z'/%3E%3C/svg%3E") ' ';
}

li:nth-child(3n)::marker {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='14' viewBox='0 0 50 50'%3E%3Cpath d='M46.5 12.5c-.4-1.1-1.3-1.8-2.2-2-4.2-4-11.6-4.3-17.1-4.1-6.9.3-13.9 2.1-19.4 6.5C2 17.5-2.4 25.7 2.5 32.6c2.2 3.2 5.5 4.9 9 5.5 3.3 1.7 6.7 3.3 10.2 4.4 7.8 2.3 17 1.6 23.2-4.3 7.3-7 4.8-17.3 1.6-25.7zm-20.2 2.7c.6 0 1.3 0 1.8.2 1.1.4 1.7 1.3 2 2.3-1-1.2-2.4-2.1-3.8-2.5zm-1.4 6.6c.9.9 1.3 2.2-.2 2.3-2 .2-1.1-1.9.2-2.3zm-11.8 9.8c-.6-.3-2.9-1.1-3.2-1.8-.2-.5 1.4-3.1 2.1-4.2.3.5.7 1 1.2 1.4 0 .3.1.6.2.8.5 1.9 1.5 3.1 2.9 4h-.2c-.8.1-1.6.1-2.5-.1-.2 0-.3 0-.5-.1zM24 36.4c1.6-.7 3-1.5 4.3-2.5.8.2 1.7.3 2.5.5 2.5.4 5.2.9 7.7.6-.9.6-2 1.1-3 1.4-3.9 1.3-7.7 1-11.5 0z'/%3E%3C/svg%3E") ' ';
}

li:nth-child(3n - 1)::marker {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='14' viewBox='0 0 50 50'%3E%3Cpath d='M48.3 23.7c-1-9.9-9.9-15.6-18.8-17.8-8.2-2.1-18.8-2.6-24.6 4.8C.6 16.2 1 23.6 4.3 29.3c-.5 1-.8 2-1 3-.6 4 2 7.6 5.1 10 5.9 4.4 14 4.2 19.6-.4 1.5 0 2.9-.2 4.4-.5 1.8 0 3.5 0 5.3-.1 2.3-.1 3.5-1.9 3.5-3.7 4.5-3.3 7.7-8.2 7.1-13.9zM9.1 17.8c1.1-4.1 4.9-5.8 8.8-6.1.9-.1 1.9-.1 2.9-.1-3.2 1.6-6.3 4.6-8 7.4-.1.1-.1.2-.2.3-1.1.9-2.1 1.9-3 2.9-.2.2-.4.4-.5.6-.4-1.7-.5-3.3 0-5z'/%3E%3C/svg%3E") ' ';
} */
/* a::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' width='14' viewBox='0 0 50 50'%3E%3Cpath d='M46.4 16.2c-2.3-2.3-5.4-3.5-8.4-4.5-.5-.2-1.1-.3-1.6-.5-1.6-1.6-3.7-2.8-6.2-3.2-1-.2-1.9.1-2.5.6-.9-.3-1.8-.6-2.7-.8-3.2-1-6.4-1.8-9.5-.1-1 .5-1.9 1.2-2.7 2-6.4 1.4-11.7 5-12.4 12.7C0 27 1.9 31.5 4.9 34.9c.1.6.2 1.1.4 1.7 1 3.2 3.3 5.7 6.7 6.5 2.7.6 5.4-.2 7.9-1.2 3.3.4 6.7.3 9.9 0 6.5-.7 13.3-2.8 17.1-8.5 3.6-5.2 4-12.6-.5-17.2zm-17.3.9c2.1.4 4 1.7 4.7 3.8 0 .5-.1 1.1-.2 1.6-.3 1.4-.8 2.6-1.6 3.7-.7.2-1.5.1-2.3-.4-.8-.4-1.6-1-2.2-1.6-.4-.4-1.2-1.7-1.6-1.9 3.4 1.3 5.1-3 3.2-5.2zm-11.6 9.7c.2-1.9 1.1-3.9 2.3-5.5-.4 2.1.3 4.2 1.7 6 1.3 1.7 3.1 3.2 5 4.2-.2.1-.4.2-.6.4-.1 0-.1.1-.2.1-3.9.2-8.7-.8-8.2-5.2zm-6.4 3.1c.1.3.1.7.2 1 .2.6.4 1.2.7 1.8-.4-.2-.7-.5-1-.7.1-.8.1-1.4.1-2.1zm31.2-1.3c-.9 1.7-2.1 3.1-3.7 4.1 2-2.1 3.4-4.7 4-7.6.2-.7.3-1.4.3-2.1.6 1.5.5 3.3-.6 5.6z'/%3E%3C/svg%3E") ' ';
  margin-right: 8px;
  vertical-align: middle;
} */

/* select box */
.selectdiv {
  position: relative;
  /*Don't really need this just for demo styling*/

  min-width: 100px;
  /*  max-width: 300px; */

  text-align: center;
}

/* IE11 hide native button (thanks Matt!) */
select::-ms-expand {
  display: none;
}

/* .arrow-icon:after {
  content: '>';
 font-size: 2em;
 
  
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);


  position: absolute;
  pointer-events: none;
} */

#open-add-restaurant-modal, #listam-bovitese-link, #welcome-listam-bovitese-link {
  text-decoration: underline;
    cursor: pointer;
    border: 2px solid #ffe066;
    padding: 5px;
    border-radius: 8px;
    background-color: #fffbe6;
}

.selectdiv select {
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  font-weight: 700;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  /*  max-width: 320px; */
  height: 50px;
  float: right;
  padding: 0px 24px;
  font-size: 1.3rem;
  line-height: 1.75;
  color: #333;
  background-color: #ffffff;
  background-image: none;
  border: 3px solid #000000;
  border-radius: 12% 16% 15% 14% / 11% 11% 12% 14%;
  -ms-word-break: normal;
  word-break: normal;
  text-align: center;
  margin-bottom: 40px;
}

/* loader till data loads */

.data-loader {
  /* display: none; */
  margin-bottom: 50px;
  margin-top: 20px;
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  z-index: 1;
  font-size: 30px;
  text-transform: uppercase;
}

#data-loader {
  top: 0px;
}

#map-loader {
  position: absolute;
  transform: translateX(-50%) translateY(-50%);
  left: 50%;
  z-index: 99999;
  top: 30%;
  flex-direction: column;
}
#restaurant-modal-center {
  opacity: 0;
}
#restaurant-modal-loader {
  display: none;
  position: absolute;
  transform: translateX(-50%) translateY(-50%);
  left: 50%;
  z-index: 10;
  top: 200px;
  flex-direction: column;
}
/* From Uiverse.io by G4b413l */
.three-body {
  --uib-size: 105px; /* 3x original 35px */
  --uib-speed: 0.8s;
  --uib-color: #ffffff;
  position: relative;
  display: inline-block;
  height: var(--uib-size);
  width: var(--uib-size);
  animation: spin78236 calc(var(--uib-speed) * 2.5) infinite linear;
}

.three-body__dot {
  position: absolute;
  height: 100%;
  width: 30%; /* restore original, keeps dots round */
}

.three-body__dot:after {
  content: "";
  position: absolute;
  height: 0%;
  width: 100%;
  padding-bottom: 100%; /* restore original, keeps dots round */
  background-color: var(--uib-color);
  border-radius: 50%;
  border: 2px solid #000000;
}

.three-body__dot:nth-child(1) {
  bottom: 5%;
  left: 0;
  transform: rotate(60deg);
  transform-origin: 50% 85%;
}

.three-body__dot:nth-child(1)::after {
  bottom: 0;
  left: 0;
  animation: wobble1 var(--uib-speed) infinite ease-in-out;
  animation-delay: calc(var(--uib-speed) * -0.3);
}

.three-body__dot:nth-child(2) {
  bottom: 5%;
  right: 0;
  transform: rotate(-60deg);
  transform-origin: 50% 85%;
}

.three-body__dot:nth-child(2)::after {
  bottom: 0;
  left: 0;
  animation: wobble1 var(--uib-speed) infinite calc(var(--uib-speed) * -0.15)
    ease-in-out;
}

.three-body__dot:nth-child(3) {
  bottom: -5%;
  left: 0;
  transform: translateX(116.666%);
}

.three-body__dot:nth-child(3)::after {
  top: 0;
  left: 0;
  animation: wobble2 var(--uib-speed) infinite ease-in-out;
}

@keyframes spin78236 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes wobble1 {
  0%,
  100% {
    transform: translateY(0%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(-66%) scale(0.65);
    opacity: 0.8;
  }
}

@keyframes wobble2 {
  0%,
  100% {
    transform: translateY(0%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(66%) scale(0.65);
    opacity: 0.8;
  }
}

/* #data-loader-extra-distance {
  top:0px
} */

.wave-menu {
  border: 4px solid #000000;
  border-radius: 50px;
  width: 200px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: auto;
  cursor: pointer;
  transition: ease 0.2s;
  position: relative;
  background: #fff;
}

.wave-menu li {
  list-style: none;
  height: 30px;
  width: 4px;
  border-radius: 10px;
  background: #000000;
  margin: 0 6px;
  padding: 0;
  animation-name: wave1;
  animation-duration: 0.3s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transition: ease 0.2s;
}

.wave-menu:hover > li {
  background: #fff;
}

.wave-menu:hover {
  background: #000000;
}

.wave-menu li:nth-child(2) {
  animation-name: wave2;
  animation-delay: 0.2s;
}

.wave-menu li:nth-child(3) {
  animation-name: wave3;
  animation-delay: 0.23s;
  animation-duration: 0.4s;
}

.wave-menu li:nth-child(4) {
  animation-name: wave4;
  animation-delay: 0.1s;
  animation-duration: 0.3s;
}

.wave-menu li:nth-child(5) {
  animation-delay: 0.5s;
}

.wave-menu li:nth-child(6) {
  animation-name: wave2;
  animation-duration: 0.5s;
}

.wave-menu li:nth-child(8) {
  animation-name: wave4;
  animation-delay: 0.4s;
  animation-duration: 0.25s;
}

.wave-menu li:nth-child(9) {
  animation-name: wave3;
  animation-delay: 0.15s;
}

@keyframes wave1 {
  from {
    transform: scaleY(1);
  }

  to {
    transform: scaleY(0.5);
  }
}

@keyframes wave2 {
  from {
    transform: scaleY(0.3);
  }

  to {
    transform: scaleY(0.6);
  }
}

@keyframes wave3 {
  from {
    transform: scaleY(0.6);
  }

  to {
    transform: scaleY(0.8);
  }
}

@keyframes wave4 {
  from {
    transform: scaleY(0.2);
  }

  to {
    transform: scaleY(0.5);
  }
}

/* .arrow {
  position: relative;
  opacity: 0.9;
  top: 750px;
  width: 30px;
  transform: rotate(5deg);
  height: 0px;
} */
.km {
  position: relative;
  transform: rotate(25deg);
  height: 0px;
  width: 0px;
  font-size: 15px;
  z-index: 2;
  top: -10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@keyframes typing {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* .arrow-svg {
  transform: scaleX(-1);
} */
.rotated-text {
  position: relative;
  top: 40px;
  font-size: 1.5em;
  /* left: -5px; */
  transform: rotate(270deg);
  text-transform: lowercase;
  transform-origin: left top;
  /* Adjust the origin point if needed */
  display: inline-block;
  /* Make sure the element is inline-block or block */
  z-index: -2;
}

.left-food {
  position: absolute;
  left: 80px;
  top: 80px;
  width: 50px;
  height: 50px;
  float: left;
  transform: rotate(70deg);
}

.post-it {
  height: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffd371;
  overflow: hidden;
  padding: 10px;
  border: 3px solid black;
  border-radius: 0 0 0 30px/45px;
  transform: rotate(-3deg);
  z-index: 2;
  color: #000000;
  max-width: 270px;
  box-shadow: #00000080 -2px 10px 2px -2px;
  transition: height 1s ease, transform 1s ease;
  width: 80%;
  margin: 10px auto 25px auto;
  font-size: var(--action-font-size);
  box-sizing: border-box;
}

.post-it:before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 25px;
  background: #be9d54;
  border-top: 3px solid black;
  border-right: 3px solid black;
  left: 0;
  bottom: 0;
  z-index: 2;
  transform: skewX(25deg);
}

/* .post-it:after {
  content:"";
 display:block;
 position:absolute;
 width:75%;
 height:20px; 
 border-top:3px solid #000000;
 border-radius: 50% ;
 bottom:0px;
 left:10%;
} */

.enniinni {
  display: flex;
  flex-direction: column;
  width: 100%;
  /*  max-width: 400px; */
}

.led-box {
  height: 30px;
  width: 25%;
  margin: 10px 0;
  float: left;
}

.led-box p {
  font-size: 12px;
  text-align: center;
  margin: 1em;
}

.led-red {
  margin: 0 auto;
  width: 24px;
  height: 24px;
  background-color: #ffffff;
  border-radius: 50%;
  /* box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0.5) 0 2px 12px;
 */
  -webkit-animation: blinkRed 0.5s infinite;
  -moz-animation: blinkRed 0.5s infinite;
  -ms-animation: blinkRed 0.5s infinite;
  -o-animation: blinkRed 0.5s infinite;
  animation: blinkRed 0.5s infinite;
  border: 3px solid black;
}

.led-red-off {
  margin: 0 auto;
  width: 24px;
  height: 24px;
  background-color: #ffffff;
  border-radius: 50%;
  border: 3px solid black;
}

@-webkit-keyframes blinkRed {
  from {
    background-color: #f00;
  }

  50% {
    background-color: #a00;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px,
      rgba(255, 0, 0, 0.5) 0 2px 0;
  }

  to {
    background-color: #f00;
  }
}

@-moz-keyframes blinkRed {
  from {
    background-color: #f00;
  }

  50% {
    background-color: #a00;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px,
      rgba(255, 0, 0, 0.5) 0 2px 0;
  }

  to {
    background-color: #f00;
  }
}

@-ms-keyframes blinkRed {
  from {
    background-color: #f00;
  }

  50% {
    background-color: #a00;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px,
      rgba(255, 0, 0, 0.5) 0 2px 0;
  }

  to {
    background-color: #f00;
  }
}

@-o-keyframes blinkRed {
  from {
    background-color: #f00;
  }

  50% {
    background-color: #a00;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px,
      rgba(255, 0, 0, 0.5) 0 2px 0;
  }

  to {
    background-color: #f00;
  }
}

@keyframes blinkRed {
  from {
    background-color: #f00;
  }

  50% {
    background-color: #a00;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 7px 1px, inset #441313 0 -1px 9px,
      rgba(255, 0, 0, 0.5) 0 2px 0;
  }

  to {
    background-color: #f00;
  }
}

.wrapper-enniinni {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 25px auto;
  width: 100%;
  max-width: 400px;
}

.paper-container {
  display: flex;
  margin-top: 5px;
}

.paper-roll {
  position: relative;
  z-index: 3;
  margin-bottom: 3px;
}

.paper-body {
  position: relative;
  width: 400px;
  height: 50px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 999px;
  box-sizing: border-box;
  margin: 0px;
}

.paper-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 50px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 100%;
  box-sizing: border-box;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 17px;
    background-color: #7d7d7d;
    transform: translate(-50%, -50%);
    border: 3px solid #000;
    border-radius: 100%;
    box-sizing: border-box;
  }
}

.paper-front {
  position: absolute;
  left: 28px;
  top: 21px;
  width: 372px;
  background: #fff;
  border-left: 3px solid #000;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
  border-radius: 0 0 1em 2em / 0 0 2em 1em;
  border-top: none;
  box-sizing: border-box;
  box-shadow: #00000063 2px 10px 7px -3px;
  font-size: 0.6em;
  text-transform: lowercase;
  font-weight: 100;
  transition: ease-in-out 0.5s;
  z-index: 11;
  /* padding: 0 0 10px; */
}

#type-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.typeItem,
.selectAll {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0px;
}

.typeItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selectAll {
  text-transform: uppercase;
  font-weight: 900;
  padding-left: 20px;
  font-size: 24px;
}

.filter-main-title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-size: clamp(14px, 5.5vw, 30px);
  padding: 15px 20px;
  text-transform: uppercase;
  border-bottom: 2px solid #00000080;
  margin: 0px;
}

.modal-close {
  position: absolute;
  right: 0px;
  top: -10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1);
  font-size: larger;
}

.modal-close:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.modal-close:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
}

.modal-center {
  padding: 10px 10px 40px;
  overflow-y: visible;
  margin: 0px;
  margin-bottom: auto;
}

.modal-title {
  font-size: clamp(14px, 5.5vw, 24px);
  font-weight: 900;
  text-align: start;
  margin-bottom: 10px;
  width: 100%;
}

.modal-bottom {
  border-top: 2px solid #00000080;
  padding-bottom: 10px;
  margin-top: 15px;
  display: flex;
  font-size: clamp(14px, 5.5vw, 30px);
  align-items: center;
  justify-content: center;
  margin: 0px;
}

.filter-checkbox {
  --input-focus: #9ddac6;
  --bg-color: #000000;
  --main-color: #323232;
  position: relative;
  cursor: pointer;
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.filter-checkbox input {
  position: absolute;
  opacity: 0;
}

.checkmark {
  width: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  top: 0px;
  left: 0;
  border: 2px solid var(--main-color);
  border-radius: 5px;
  box-shadow: 1px var(--main-color);
  background-color: var(--input-out-of-focus);
  transition: all 0.3s;
}

.filter-checkbox input:checked ~ .checkmark {
  background-color: var(--input-focus);
}

.checkmark:after {
  content: "";
  width: 6px;
  position: absolute;
  top: 1px;
  left: 6px;
  display: none;
  border: solid var(--bg-color);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  aspect-ratio: 1 / 2;
}

.filter-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.filter-radio {
  --input-focus: #9ddac6;
  --bg-color: #000000;
  --main-color: #323232;
  position: relative;
  cursor: pointer;
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.filter-radio input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.radio-checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  box-shadow: 1px var(--main-color);
  background-color: var(--input-out-of-focus);
  transition: all 0.3s;
  position: relative;
}

.filter-radio input:checked ~ .radio-checkmark {
  background-color: var(--input-focus);
}

.radio-checkmark:after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--bg-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.filter-radio input:checked ~ .radio-checkmark:after {
  display: block;
}

.category-content {
  display: flex;
  align-items: center;
}

.mr-2 {
  margin-right: 8px;
}

.checkbox-content {
  display: flex;
  align-items: center;
}

.select-all-categories {
  margin-bottom: 10px;
}

#select-all-types-checkbox-label {
  text-transform: uppercase;
  font-size: clamp(20px, 6vw, 24px);
  border: 2px solid #ffe066;
  padding: 10px 12px 10px 12px;
  border-radius: 10px;
  background-color: #fffbe6;
  margin-left: -14px;
}

#select-all-types-button {
  width: 200px;
  padding: 10px;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

#select-all-dollar-button {
  margin-top: 15px;
}

.toggle-button {
  display: flex;
  align-items: center;
  margin: 6px;
  padding: 2px 10px;
  border: 1px solid #000000;
  background-color: #fff;
  color: #000000;
  cursor: pointer;
  border-radius: 25px;
  font-family: "Comic Sans MS";
  font-weight: 900;
  min-height: 40px;
}

.toggle-button.active {
  background-color: #00000017;
  color: #222222;
  border: 2px solid black;
  margin: 5px;
}

.button-icon {
  margin-right: 5px;
  display: flex;
}

.category-icon {
  position: relative;
  height: 35px;
}

.type-checkbox input[type="checkbox"] {
  visibility: hidden;
  display: none;
}

.type-checkbox *,
.type-checkbox ::after,
.type-checkbox ::before {
  box-sizing: border-box;
}

.type-checkbox .check {
  width: 50px;
  height: 50px;
  position: absolute;
  opacity: 0;
}

.type-checkbox .label svg {
  vertical-align: middle;
}

.type-checkbox .path1 {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.type-checkbox .check:checked + label svg g path {
  stroke-dashoffset: 0;
}

.restaurant-item-li-item {
  padding-right: 1rem;
  display: flex;
  align-items: center;
  padding-bottom: 3px;
}

.span-dollar-type {
  display: flex;
  white-space: nowrap;
  gap: 5px;
}

.filter-container {
  padding: 10px 20px;
  font-size: clamp(14px, 5vw, 24px);
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

.filter-form {
  padding-bottom: 5px;
}

.button-label {
  text-align: start;
}
.sticker {
  position: absolute;

  min-width: 150px;
  min-height: 40px;
  top: -23px;
  left: calc(50% - 125px);
  transform: translateX(-50%) rotate(-3deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  /*   box-shadow: var(--shadow-size) var(--shadow-size) 2px var(--paper-dark); */
  margin: auto;
  padding: 2px;
  border: 2px solid black;
  background-color: #fffacd;
  z-index: 4;
}

.tape-section {
  position: absolute;
  width: 100%;
}

.tape-section:first-of-type {
  top: 0;
}

.tape-section:last-of-type {
  bottom: 0;
}

.tape-section::before,
.tape-section::after {
  /* content: ""; */
  width: 40px;
  height: 15px;
  position: absolute;
  background-color: #dbd8be;
  opacity: 1;
  border: 1px solid black;
  /*   border-right: 1px dotted var(--tape-edge-gray);
  border-left: 1px dotted var(--tape-edge-gray); */
}

.tape-section:last-of-type::after {
  transform: rotate(-45deg);
  right: -4vmin;
  top: -3vmin;
}

.tape-section:first-of-type::before {
  transform: rotate(-45deg);
  left: -20px;
  top: -10px;
}

.tape-section:first-of-type::after {
  transform: rotate(45deg);
  right: -25px;
  top: -5px;
}

.tape-section:last-of-type::before {
  transform: rotate(45deg);
  left: -4vmin;
  bottom: 0;
}

@media (min-width: 576px) {
  #opening-container > .typeItem,
  #dollar-container > .typeItem {
    grid-column: 1 / 2;
  }
  .select-all-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 60px;
  }
  .filter-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 60px;
  }
}

/* A modal alapból rejtve van */
.modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: none; /* Eltávolítjuk a régi transition-t */
  pointer-events: none; /* Kezdetben nem kattintható */
  /* Játékos háttér effekt */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  isolation: isolate;
}

/* Modal z-index kezelés most dinamikusan történik a JavaScript-ben */
.map-modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: none; /* Eltávolítjuk a régi transition-t */
  pointer-events: none; /* Kezdetben nem kattintható */
  /* Játékos háttér effekt */
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  isolation: isolate;
}

/* Buborék-szerű modal megjelenés animáció */
@keyframes modalBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Buborék-szerű modal eltűnés animáció */
@keyframes modalBounceOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 1;
    transform: scale(1.05);
  }
  60% {
    opacity: 0.6;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(0.1);
    pointer-events: none;
  }
}

/* Modal háttér (overlay) animáció */
@keyframes modalBackdropIn {
  0% {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  50% {
    opacity: 0.7;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  100% {
    opacity: 1;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
}

@keyframes modalBackdropOut {
  0% {
    opacity: 1;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  100% {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
}

/* Buborék-szerű modal content animáció */
@keyframes modalContentBounceIn {
  0% {
    transform: scale(0.3) translateY(20px);
    opacity: 0;
  }
  60% {
    transform: scale(1.05) translateY(-3px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes modalContentBounceOut {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  40% {
    transform: scale(1.03) translateY(-2px);
    opacity: 1;
  }
  100% {
    transform: scale(0.3) translateY(15px);
    opacity: 0;
  }
}

#restaurant-opening-hours,
#restaurant-address,
#cuisine-categories
 {
  /* display:  flex;
  flex-direction: column; */
  padding: 0px 20px 20px;
  max-width: 450px;
  font-weight: 100;
  text-align: left;
  /* margin: 0px; */
}

.review-section {
  margin-bottom: 10px;
}

/* Review szekció stílusok */
.modal-title {
  margin-bottom: 10px;
}

.review-content {
  margin-bottom: 10px;
}

/* Hover effekt eltávolítva */

.review-editable textarea {
  font-family: inherit;
  font-size: 18px;
  font-weight: 100;
  line-height: 1.4;
  border: 2px solid #000000;
  border-radius: 8px;
}

.review-editable textarea:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

#review-save-button { 
  margin-top: 0px;
  gap: 15px;
  font-size: 15px;
}

.opening-hours-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 5px;
  justify-content: space-between;
  gap: 10px;
  font-weight: 100;
  text-align: left;
  font-size: larger;
}
.menu-category {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin: 0px;
  padding: 0px;
  margin-top: 10px;
}
.menu-item {
  display: flex;
  margin: 5px 0px 15px 10px;
  flex-direction: column;
  font-weight: 100;
}
.ingredients {
  display: flex;
  margin: 0px;
  max-width: 80%;
  text-align: left;
  font-size: medium;
}
.allergens {
  display: flex;
  margin: 0px;
  max-width: 80%;
  text-align: left;
  font-size: small;
}

#restaurant-menu {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.food-name {
  display: flex;
  font-weight: 900;
  justify-content: space-between;
  margin: 0px;
  font-size: large;
}

#isopen,
#map-isopen {
  position: absolute;
  bottom: -30px;
  right: 10px;
  /*     right: -10px;
    top: 90%; */
}

#isopen img {
  height: 50px;
}
#map-isopen img {
  height: 50px;
}

.navigation-link {
  /* padding: 10px; */
  text-decoration: underline;
  font-size: clamp(14px, 5vw, 24px);
  cursor: pointer;
  margin: 15px 0px 30px;
}

.times {
  display: flex;
  flex-direction: column;
  gap: 0px 5px;
  margin: 0px;
}

.bold {
  font-weight: 900;
}

/* Nyitvatartás váltó elem stílusok */
.opening-hours-toggle-container {
  margin: 5px 0;
}

.opening-status-section {
  padding: 10px 0;
}

.opening-status-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.opening-status-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.status-text {
  font-weight: 900;
  font-size: 16px;
}

.next-event {
  font-size: 14px;
  color: #666;
}

.opening-toggle-icon {
  transition: transform 0.3s ease-in-out !important;
  transform: rotate(0deg) !important;
}

.opening-toggle-icon.rotated {
  transform: rotate(180deg) !important;
}

/* Dinamikus nyitvatartás modal title */
#opening-hours-modal-title {
  color: #000000 !important; /* alapértelmezett fekete */
  font-weight: bold !important;
}

/* Dinamikus tartalom: minden nem státusz szöveg legyen fekete */
#opening-hours-modal-title span {
  color: #000000 !important;
  font-weight: bold !important;
  display: inline-block !important;
}

/* Szín a státusz címkékhez */
#opening-hours-modal-title .status-open {
  color: #71b59e !important;
}

#opening-hours-modal-title .status-closed {
  color: #c82929 !important;
}

/* Nyitvatartás címsor mindig egy sorban maradjon */
#opening-hours-modal-title .opening-hours-title-row {
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  min-width: 0;
  font-size: clamp(14px, 5vw, 22px) !important;
}

/* Modal title span-ek aláhúzása */
/* .modal-title span {
  text-decoration: underline;
} */

/* Animáció a nyitvatartás részhez */
#restaurant-opening-hours {
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  max-height: 0;
  opacity: 0;
}

#restaurant-opening-hours.expanded {
  max-height: 500px;
  opacity: 1;
}

#restaurant-opening-hours.collapsed {
  max-height: 0;
  opacity: 0;
}




.other-days-link,
.today-only-link {

  text-decoration: underline;
  cursor: pointer;
  margin-top: 20px;
  text-align: left;
  font-weight: 900;
}

.other-days-link:hover,
.today-only-link:hover {
  opacity: 0.7;
}

.close:hover,
.close:focus {
  color: black;
  cursor: pointer;
  transform: scale(1.1);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.close:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
}

.modal-content {
  background-color: white;
  text-align: center;
  z-index: 5;
  margin: 0px;
  border: 3px solid black;
  width: fit-content;
  border-radius: 5px;
  position: absolute;
  border-radius: 5px;
  /*   max-width: 80%; */
  height: 100%;
  max-height: 94vh;
  position: relative;
  /* Eltávolítjuk a régi transition-t, mert az animációk kezelik */
  transform: scale(0.1) translateY(30px); /* Kezdeti állapot az animációhoz */
  opacity: 0; /* Kezdetben láthatatlan */
  /* Buborék-szerű árnyék effekt */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 15px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  /* Görgetés engedélyezése */
  overflow: visible;
  display: flex;
  flex-direction: column;
}

/* checkbox wrapper */

.checkbox-wrapper-62 input[type="checkbox"] {
  visibility: hidden;
  display: none;
}

.checkbox-wrapper-62 *,
.checkbox-wrapper-62 ::after,
.checkbox-wrapper-62 ::before {
  box-sizing: border-box;
}

.slider-container {
  display: flex;
  gap: 3px;
}

.map-button {
  width: 35px;
  /* 50px széles */
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  /* Kör alakú */
  background-color: #ffffff;
  border: 2px solid #422800;
  box-shadow: #422800 4px 4px 0 0;
  cursor: pointer;
  display: inline-block;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  z-index: 2;
}

.map-button:active {
  box-shadow: #422800 2px 2px 0 0;
  /* background-color: #9DDAC6; */
  transform: translate(2px, 2px);
}

#map-button:active {
  box-shadow: #422800 2px 2px 0 0;
  transform: translate(2px, 2px);
}

#map-button img {
  width: 100%;
  /* Az SVG teljes szélességet lefedi */
  height: 100%;
  /* Az SVG teljes magasságot lefedi */
}

/* .marker {
  background-image: url("/images/category/default.png");

  background-size: contain;

  width: 50px;
  
  height: 57.5px;

  border-radius: 50%;
  z-index: 1;

} */

/* .marker-closed {
  filter: grayscale(60%) brightness(90%) saturate(50%);
} */

/* Spinner a location ikon helyén */
.location-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #007bff; /* Spinner színe */
  border-radius: 50%;
  width: 24px; /* Méretezés az ikonhoz */
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto; /* Középre igazítás, ha az ikon tartalmazója flexbox vagy grid */
}

/* Animáció a spinnerhez */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* A location ikon stílusa, amikor töltés alatt van */
.location-icon-loading {
  pointer-events: none; /* Ne lehessen újra kattintani amíg tölt */
  opacity: 0.7; /* Kicsit elhalványítjuk */
  display: flex; /* Flexbox, hogy a spinner középen legyen */
  align-items: center;
  justify-content: center;
}

/* Pulzáló animáció a felhasználói markerhez */
.user-marker-pulse {
  animation: pulse 1s ease-out forwards; /* 1 másodperces animáció */
}

@keyframes pulse {
  from {
    /* Preserve the existing transform (translate3d) and add scale */
    transform: scale(1)
      translate3d(
        var(--maplibregl-marker-translate-x, 0),
        var(--maplibregl-marker-translate-y, 0),
        0
      );
    opacity: 1;
  }
  to {
    /* Preserve the existing transform (translate3d) and add scale */
    transform: scale(1.2)
      translate3d(
        var(--maplibregl-marker-translate-x, 0),
        var(--maplibregl-marker-translate-y, 0),
        0
      );
    opacity: 0.7;
  }
}

/* Az alap user marker stílusa, ha szükséges */
.user-marker {
}

.popup-active {
  z-index: 1; /* Popup z-index */
}

.marker-active {
  z-index: 2; /* Marker z-index */
}

/* .marker.visible {
  transform: scale(1); 
  opacity: 1; 
} */

#toggle-map {
  cursor: pointer;
  text-decoration: underline;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 6vw, 30px);
  hyphens: auto;
}

.checkbox-wrapper-62 {
  position: relative;
  display: flex;
  justify-content: center;
  /* overflow: hidden; */
  margin: 0px;
  padding-bottom: 10px;
  left: -10px;
  max-width: 300px;
  /*  border: 3px solid #333333d5;
  border-radius: 2% 6% 5% 4% / 1% 1% 2% 4%;
  background-color: #9ddac6; */
}

.checkbox-wrapper-62 .check {
  width: 50px;
  height: 50px;
  position: absolute;
  opacity: 0;
}

.checkbox-wrapper-62 .label svg {
  vertical-align: middle;
}

.checkbox-wrapper-62 .path1 {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  /* transition: .2s all; */
}

.checkbox-wrapper-62 .check:checked + label svg g path {
  stroke-dashoffset: 0;
}

.dollar-checkbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0px;
}

/* checkbox wrapper end */
.modal-details {
  padding: 5px;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  min-width: 300px;
  margin: 0px;
}

/* Minimalizált görgetősáv WebKit alapú böngészőkhöz (Chrome, Safari) */
#filters::-webkit-scrollbar {
  width: 6px;
  /* Görgetősáv szélessége */
}

#filters::-webkit-scrollbar-track {
  background: transparent;
  /* Átlátszó görgetősáv háttér */
}

#filters::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  /* Halvány fekete görgetősáv */
  border-radius: 10px;
  /* Lekerekített görgetősáv */
}

#filters::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
  /* Erősebb szín, amikor a kurzor a sáv fölött van */
}

/* slider */
* {
  margin: 0;
  padding: 0;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 50px 0px 5px;
}

.range-slider {
  width: 100%;
  max-width: 400px;
  z-index: 100;
  margin: 0px 0px 10px;
}

.box-minmax {
  position: relative;
  flex-wrap: nowrap;
  width: 100%;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: flex-start;

  /*   margin: 10px 0 5px 0;
  padding: 2px 0; */
}

#max-km-up {
  display: flex;
  position: relative;
  justify-content: center;
  font-size: clamp(12px, 3vw, 15px);
  font-weight: 300;
  /*   margin-top: 5px; */
}

/* #max-km-down {
position: relative;
bottom: 5px;
} */
.km-distance,
#toggle-map {
  position: relative;
  font-weight: 900;
}

.rs-range {
  position: relative;
  width: 100%;
  -webkit-appearance: none;
}

.rs-range:focus {
  outline: none;
}

.rs-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  /* changed line */
  cursor: pointer;
  box-shadow: none;
  background: #9ddac6;
  border-radius: 0px;
  border: 3px solid #000000;
}

.rs-range::-moz-range-track {
  width: 100%;
  height: 10px;
  /* changed line */
  cursor: pointer;
  box-shadow: none;
  background: #9ddac6;
  border-radius: 0px;
  border: 3px solid #000000;
}

.rs-range::-webkit-slider-thumb {
  box-shadow: none;
  border: 3px solid #000000;
  /* box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25); */
  height: 42px;
  width: 22px;
  border-radius: 22px;
  background: #ffd371;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -20px;
}

.rs-range::-moz-range-thumb {
  box-shadow: none;
  border: 0px solid #000000;
  /* box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25); */
  height: 42px;
  width: 22px;
  border-radius: 22px;
  background: #ffd371;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -20px;
}

.rs-range::-moz-focus-outer {
  border: 0;
}

.rs-label {
  position: relative;
  transform-origin: center center;
  display: block;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  line-height: 30px;
  text-align: center;
  font-weight: bold;
  padding: 5px;
  box-sizing: border-box;
  border: 3px solid #000000;
  margin-bottom: 5px;
  margin-left: -19px;
  left: attr(value);
  color: #000000;
  font-style: normal;
  font-weight: normal;
  line-height: normal;
  font-size: 20px;
}

.rs-label::after {
  content: "km";
  display: block;
  font-size: 15px;
  letter-spacing: 0.07em;
  margin-top: -5px;
}

/* slider end */

.paper {
  position: relative;
  /*   display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; */
  font-size: 2rem;
  margin-top: 20px;
}

.distance-line-through {
  display: inline-block;
  margin-right: 10px;
}

.distance-line-through:after {
  content: "";
  height: 7px;
  background: #ff4848;
  border-radius: 5px;
  display: block;
  top: -24px;
  position: relative;
  border: 2px solid;
}

#km-end-top {
  margin-top: 10px;
  width: 60%;
  height: 0px;
  background: #ffffff;
  border-radius: 50px;
  position: relative;
  border: 4px dashed #0000004a;
}

.km-end-class {
  position: relative;
  top: -21px;
}

.tape {
  background-color: #ffd371;
  border: 2px solid black;
  /*  height: 20px; */
  display: inline-flex;
  align-items: center;
}

/* media eleje */

@media (max-width: 767px) {
  .restaurant-list-class {
    font-size: 0.9em;
  }

  .list,
  .enniinni-hova {
    width: 400px;
  }

  #content {
    width: 400px;
  }

  /*   .arrow {
    left: -246px;
  } */
  .km {
    left: 193px;
  }
  #profile {
    width: 400px;
    position: relative;
    left: 30px;
  }
}

@media (max-width: 576px) {
  .sticker {
    left: calc(50% - 70px);
  }

  #filter-forms {
    margin: 0px;
  }
  .filter-container {
    padding: 5px 15px 15px;
  }
  /*   #filters {
    max-height: 90vh;
  } */

  .selectAll {
    padding-left: 15px;
  }

  .list,
  .enniinni-hova {
    width: 80%;
  }

  .wrapper-enniinni {
    margin: 0px auto;
  }

  .enniinni h1 {
    font-size: 1.4em;
  }

  .enniinni h3 {
    font-size: 0.8em;
  }

  .km {
    left: 40%;
    font-size: 12px;
  }

  .switch {
    height: 4.3em;
  }

  .toggle {
    height: 50px;
    padding-top: 5px;
  }

  .toggle > .left-switch {
    height: 45px;
  }

  .toggle > .right-switch {
    font-size: 1.2em;
    height: 45px;
  }

  .switch input:checked + .toggle > .left-switch {
    font-size: 1.2em;
  }

  .switch input:checked + .toggle > .right-switch {
    font-size: 1.2em;
  }

  .switch input:not(:checked) + .toggle > .left-switch {
    font-size: 1.2em;
  }

  .paper-body {
    width: 300px;
  }

  .paper-front {
    width: 272px;
  }

  .restaurant-categories {
    font-size: 1rem;
  }

  .restaurant-item-li-item {
    padding-right: 0px;
    padding: 0px;
    padding-bottom: 3px;
  }

  .map-button {
    width: 30px;
  }

  .paper {
    /* left: -30px; */
    margin-top: 15px;
  }

  .distance-line-through:after {
    height: 4px;
    top: -17px;
  }
  #profile {
    width: 80%;
  }
}
@media (max-width: 767px) {
  .modal {
    align-items: flex-end;
  }
  .modal-content {
    background-color: white;
    text-align: center;
    z-index: 5;
    border: 0px;
    border-top: 3px solid black;
    border-radius: 5px 5px 0 0;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 120px); /* Flash üzenet magasságát levonva */
  }
  #map-restaurant-modal .modal-content {
    border: 3px solid black;
    height: auto; /* Map modal maradjon a jelenlegi méreténél */
  }
}
@media (min-width: 768px) {
  .button-74 {
    min-width: 120px;
    padding: 0 25px;
  }
  .modal-content {
    min-width: 600px;
  }
  .modal-center {
    padding: 10px 20px 40px;
  }

  .list,
  .enniinni-hova {
    width: 650px;
  }

  /*   .arrow {
    left: -371px;
  } */
  .km {
    left: 290px;
  }
  #profile {
    width: 650px;
  }
}

@media (min-width: 992px) {
  .list,
  .enniinni-hova {
    width: 800px;
  }

  #profile {
    width: 800px;
  }
  
  .modal-content {
    max-height: 94vh;
    overflow: auto;
  }
}
#map-restaurant-modal .modal-content {
  min-width: 250px;
  max-width: 90%;
  height: auto;
  bottom: 30px;
  position: fixed;
}

/* map paper */
.map-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #c2ffd9;
  border-radius: 2px;
  border: solid 3px black;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.map-border {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid rgb(0 0 0);
  background-color: #ff4848;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}

.map-container::before,
.map-container::after {
  content: "";
  position: absolute;
  bottom: 10px;
  width: 40%;
  height: 10px;
  box-shadow: #00000080 -2px 10px 2px 6px;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}

.map-container::before {
  left: 15px;
  transform: skew(-5deg) rotate(-5deg);
}

.map-container::after {
  right: 15px;
  transform: skew(5deg) rotate(5deg);
}
/* Modal megjelenés - buborék-szerű animációval */
.map-modal.show,
.modal.show {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
  animation: modalBackdropIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Modal content megjelenés */
.map-modal.show .modal-content,
.modal.show .modal-content {
  animation: modalContentBounceIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    forwards;
}

.hidden {
  display: none;
}

/* Modal eltűnés - azonnal elrejtés oldalbetöltéskor */
.map-modal.hidden-modal,
.modal.hidden-modal {
  display: none !important; /* Azonnal elrejtés */
  pointer-events: none;
}

/* Modal content eltűnés - azonnal elrejtés */
.map-modal.hidden-modal .modal-content,
.modal.hidden-modal .modal-content {
  display: none !important; /* Azonnal elrejtés */
}
#profile {
  display: flex;
  justify-content: flex-end;
  font-size: clamp(10px, 3vw, 13px);
  margin: 10px 0px 5px;
}
#profile-pic {
  display: flex;
  border: 2px solid black;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

#profile-pic:hover {
  transform: scale(1.05);
}

/* Wiggle animation for profile-pic */
#profile-pic.wiggle {
  animation: wiggle 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
  transition: none !important;
}

#profile-pic img {
  height: 40px;
  border-radius: 50%;
}

#proposer-container {
  cursor: pointer;
}

#proposer {
  text-decoration: underline;
  font-size: clamp(14px, 5vw, 22px);
  white-space: nowrap;
}

#user-list {
  max-width: 400px;
  margin: auto;
}

.lenyilo-container {
  position: relative;
  display: inline-block;
}

.lenyilo-gomb {
  background-color: #4caf50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.lenyilo-tartalom {
  position: absolute;
  background-color: #f9f9f9;
  min-width: 300px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

#add-restaurant-search-container-container {
  position: relative;
  z-index: 1000; /* Biztosítja, hogy a keresőmező a térkép fölött legyen */
  background-color: white;
  padding: 10px;
}

#add-restaurant-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border: 1px solid #ccc;
}

#add-restaurant-dropdown.hidden {
  display: none;
}

#add-restaurant-dropdown .dropdown-item {
  padding: 10px;
  cursor: pointer;
}

#add-restaurant-dropdown .dropdown-item:hover {
  background-color: #f0f0f0;
}
.search-hint {
  min-height: 300px;
  font-weight: 100;
  line-height: 2rem;
  text-align: justify;
  margin: 20px auto 10px;
  max-width: 400px;
}

.flash-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.flash-error {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.close-flash {
  position: absolute; /* Abszolút pozicionálás */
  bottom: 10px;
  right: 10px;
  color: #aaa;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

#overlay {
  position: fixed;
  display: flex; /* Visszakapcsolva az overlay animáció */
  flex-direction: column; /* Szöveg és ikon egymás alatt legyen */
  gap: 12px; /* Köztes tér a felirat és a smiley között */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Áttetsző fehér háttér */
  backdrop-filter: blur(10px); /* Blur hatás */
  -webkit-backdrop-filter: blur(10px); /* iOS támogatás */
  z-index: 9999; /* Legfelső réteg */
  justify-content: center; /* Vízszintes középre igazítás */
  align-items: center; /* Függőleges középre igazítás */
  opacity: 1;
  transition: opacity 0.5s ease-out; /* Fade-out animáció */
  isolation: isolate;
}

#overlay.fade-out {
  opacity: 0;
}

#overlay-text {
  /* iOS középre igazítás stabilitás: ne toljuk fel top-pal, a flex centering elég */
  position: relative;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  z-index: 99999;
  margin: 0;
  width: auto; /* ne vegyen fel teljes szélességet */
  align-self: center; /* kényszerített középre igazítás */
  order: -1; /* Szöveg kerüljön a smiley fölé */
}

/* From Uiverse.io by Pradeepsaranbishnoi */
/* .🤚 {

  width: 80px;
  height: 60px;
  margin-left: 80px;
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-100%, -50%);
}

.🤚:before {
  content: "";
  display: block;
  width: 180%;
  height: 75%;
  position: absolute;
  top: 70%;
  right: 20%;
  background-color: black;
  border-radius: 40px 10px;
  filter: blur(10px);
  opacity: 0.3;
}

.🌴 {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--skin-color);
  border-radius: 10px 40px;
}

.👍 {
  position: absolute;
  width: 120%;
  height: 38px;
  background-color: var(--skin-color);
  bottom: -18%;
  right: 1%;
  transform-origin: calc(100% - 20px) 20px;
  transform: rotate(-20deg);
  border-radius: 30px 20px 20px 10px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  border-left: 2px solid rgba(0, 0, 0, 0.1);
}

.👍:after {
  width: 20%;
  height: 60%;
  content: "";
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: -8%;
  left: 5px;
  border-radius: 60% 10% 10% 30%;
  border-right: 2px solid rgba(0, 0, 0, 0.05);
}

.👉 {
  position: absolute;
  width: 80%;
  height: 35px;
  background-color: var(--skin-color);
  bottom: 32%;
  right: 64%;
  transform-origin: 100% 20px;
  animation-duration: calc(var(--tap-speed) * 2);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  transform: rotate(10deg);
}

.👉:before {
  content: "";
  position: absolute;
  width: 140%;
  height: 30px;
  background-color: var(--skin-color);
  bottom: 8%;
  right: 65%;
  transform-origin: calc(100% - 20px) 20px;
  transform: rotate(-60deg);
  border-radius: 20px;
}

.👉:nth-child(1) {
  animation-delay: 0;
  filter: brightness(70%);
  animation-name: tap-upper-1;
}

.👉:nth-child(2) {
  animation-delay: var(--tap-stagger);
  filter: brightness(80%);
  animation-name: tap-upper-2;
}

.👉:nth-child(3) {
  animation-delay: calc(var(--tap-stagger) * 2);
  filter: brightness(90%);
  animation-name: tap-upper-3;
}

.👉:nth-child(4) {
  animation-delay: calc(var(--tap-stagger) * 3);
  filter: brightness(100%);
  animation-name: tap-upper-4;
}

@keyframes tap-upper-1 {
  0%,
  50%,
  100% {
    transform: rotate(10deg) scale(0.4);
  }

  40% {
    transform: rotate(50deg) scale(0.4);
  }
}

@keyframes tap-upper-2 {
  0%,
  50%,
  100% {
    transform: rotate(10deg) scale(0.6);
  }

  40% {
    transform: rotate(50deg) scale(0.6);
  }
}

@keyframes tap-upper-3 {
  0%,
  50%,
  100% {
    transform: rotate(10deg) scale(0.8);
  }

  40% {
    transform: rotate(50deg) scale(0.8);
  }
}

@keyframes tap-upper-4 {
  0%,
  50%,
  100% {
    transform: rotate(10deg) scale(1);
  }

  40% {
    transform: rotate(50deg) scale(1);
  }
}
 */

.flash-message {
  position: fixed; /* Rögzített pozíció az oldal tetején */
  top: 0;
  width: 100%;
  min-height: 80px; /* KULCS: Vizsgálati magasság - tegye magasabbá az elemet */
  background-color: #f8d7da; /* Alapértelmezett háttérszín (hiba) */
  color: #721c24;
  text-align: center;
  z-index: 100000; /* Biztosítja, hogy minden más elem felett legyen */
  border-left: 2px solid black;
  border-right: 2px solid black;
  border-bottom: 2px solid black;

  /* KULCS: Flexbox beállítások a szöveg aljára igazításához */
  display: flex;
  flex-direction: column; /* Felülről lefelé rendezés */
  justify-content: flex-end; /* Tartalmat az elem aljára igazítja */

  /* Kezdeti állapot az animáció előtt - ezeket a JS fogja beállítani */
  opacity: 0;
  transform: translateY(
    -100%
  ); /* Teljesen az elem saját magasságával feljebb */
  overflow: visible; /* A tartalom mindig látható, nincs magasság animáció */
  transition: none; /* Az animációkat a 'show'/'hide' osztályok kezelik */
}

/* Új osztály a flash üzenet tényleges szöveges tartalmának */
.flash-message-text-content {
  width: 100%;
  padding-bottom: 5px;
  margin: 0px;
  display: flex;
  justify-content: center;
}

/* Animáció a beúszáshoz felülről, majd "felugrással" */
@keyframes slideInFlashMessage {
  0% {
    opacity: 1;
    transform: translateY(
      -100%
    ); /* Fentről, az elem saját magasságával off-screen */
  }
  50% {
    /* Az elem beúszik a top pozícióba */
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    /* Ezután az elem feljebb mozdul 20px-el */
    opacity: 1;
    transform: translateY(-20px); /* 20px-el feljebb a top pozícióhoz képest */
  }
}

/* Animáció a kifelé csúszáshoz felfelé */
@keyframes slideOutFlashMessage {
  0% {
    opacity: 1;
    transform: translateY(-20px); /* Ahol a slideIn animáció befejeződött */
  }
  100% {
    opacity: 0;
    transform: translateY(-100%); /* Felfelé csúszik az oldal tetején kívülre */
  }
}

/* Osztály a beúszó animáció indításához */
.flash-message.show {
  animation: slideInFlashMessage var(--flash-in-duration, 0.5s)
    cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Osztály a kifelé csúszó animáció indításához */
.flash-message.hide {
  animation: slideOutFlashMessage var(--flash-out-duration, 0.3s)
    cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.flash-message-text {
  text-align: center;
  margin-top: 0px;
  display: flex;
  align-items: center;
}

/* .flash-message {
  position: relative; 
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
} */
.flash-message.success {
  background-color: #d1ecf1; /* Világoskék - informatív, semleges */
  color: #0c5460; /* Sötétkék szöveg a jobb olvashatóságért */
  border-color: #bee5eb;
  border-bottom: 2px solid black; /* Alsó border hozzáadása */
}

.flash-message.info {
  background-color: #d1ecf1; /* Világoskék - informatív, semleges */
  color: #0c5460; /* Sötétkék szöveg a jobb olvashatóságért */
  border-color: #bee5eb;
  border-bottom: 2px solid black; /* Alsó border hozzáadása */
}

.flash-message .close-flash {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.lenyilo-container {
  position: relative; /* Szükséges a lenyíló tartalom abszolút pozicionálásához, ha akarod */
  display: inline-block; /* Vagy block, a kívánt elrendezéstől függően */
}

#lenyilo-gomb {
  /* A gomb stílusa */
  padding: 10px 15px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

:root {
  --pink: #ecb2ba;
  --pink-dark: #c6939a;
  --tape-gray: #dbd8be;
  --tape-edge-gray: #b7b49d;
  --transparent: rgba(255, 255, 255, 0);
}
/* Feliratkozás ikon konténer - hasonló a heart icon container-hez */
.follow-icon-container {
  position: relative; /* KULCS: Ennek kell relative-nek lennie az abszolút pozicionált gyermekekhez */
  width: 30px; /* Állítsd be a kívánt fix szélességet */
  height: 30px;
  display: flex; /* Középre igazítás, ha az abszolút elemek kisebbek/nagyobbak a konténernél */
  justify-content: center;
  align-items: center;
}

.follow,
.following {
  display: inline-block;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  vertical-align: middle;
  transition: none; /* Crucial: JS will control transitions via classes */
  opacity: 1; /* Default to visible */
  transform: scale(1); /* Default scale */
}

/* Class to hide the icon during animation */
.follow.hidden-icon,
.following.hidden-icon {
  display: none !important;
}

.follower {
  position: absolute;
  bottom: -10px;
  right: -10px;
  padding: 0px;
  height: 28px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.follower:hover {
  transform: scale(1.1);
}

/* Google Sign-In Modal Styles */
.google-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  padding: 12px 24px;
  background-color: #4285f4;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.google-signin-btn:hover {
  background-color: #357ae8;
}

.google-signin-btn:active {
  background-color: #2d5aa0;
}

.google-signin-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* #google-signin-modal .modal-content {
  max-width: 400px;
  margin: 0 auto;
} */

#google-signin-modal .modal-center {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Existing styles continue below */

/* --- CAPACITOR APP SPECIFIKUS FLASH MESSAGE STÍLUSOK --- */
/* Ez a megoldás megbízhatóbb, mint az @supports, mert a JavaScript felismeri a környezetet */

/* Általános flash message stílus (böngészőben) */

/* Capacitor app specifikus felülírás */
body.capacitor-app .flash-message {
  /* Állítsd be a megfelelő top értéket, ami a státuszsáv magasságát kompenzálja */
  top: 60px; /* 60px-el lejjebb csúszik a státuszsáv/notch alá */
  min-height: 120px; /* Nagyobb magasság, hogy ne látszódjon a háttér */
}

/* Animáció a beúszáshoz felülről, majd "felugrással" */
@keyframes slideInFlashMessage {
  0% {
    opacity: 1;
    transform: translateY(
      -100%
    ); /* Fentről, az elem saját magasságával off-screen */
  }
  50% {
    /* Az elem beúszik a top pozícióba */
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    /* Ezután az elem feljebb mozdul 20px-el */
    opacity: 1;
    transform: translateY(-20px); /* 20px-el feljebb a top pozícióhoz képest */
  }
}

/* Capacitor app specifikus animáció */
body.capacitor-app .flash-message.show {
  animation: slideInFlashMessageCapacitor var(--flash-in-duration, 0.7s)
    cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

body.capacitor-app .flash-message.hide {
  animation: slideOutFlashMessageCapacitor var(--flash-out-duration, 0.3s)
    cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Capacitor app specifikus animációk */
@keyframes slideInFlashMessageCapacitor {
  0% {
    opacity: 1;
    transform: translateY(-100%);
  }
  60% {
    opacity: 1;
    transform: translateY(-20px); /* Mínuszból indul, így a háttér mögött van */
  }
  80% {
    opacity: 1;
    transform: translateY(-5px); /* Rugalmas visszapattanás */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Végleges helyzet */
  }
}

@keyframes slideOutFlashMessageCapacitor {
  0% {
    opacity: 1;
    transform: translateY(0); /* Ahol a slideIn animáció befejeződött */
  }
  100% {
    opacity: 0;
    transform: translateY(-100%); /* Felfelé csúszik az oldal tetején kívülre */
  }
}

/* Animáció a kifelé csúszáshoz felfelé */
@keyframes slideOutFlashMessage {
  0% {
    opacity: 1;
    transform: translateY(-20px); /* Ahol a slideIn animáció befejeződött */
  }
  100% {
    opacity: 1;
    transform: translateY(-100%); /* Felfelé csúszik az oldal tetején kívülre */
  }
}

@keyframes wiggle {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  15% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(calc(var(--wiggle-rotate, 18deg) * -1));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  }
  30% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(var(--wiggle-rotate, 18deg));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  }
  45% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(calc(var(--wiggle-rotate, 18deg) * -0.8));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  }
  60% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(calc(var(--wiggle-rotate, 18deg) * 0.7));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  }
  75% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(calc(var(--wiggle-rotate, 18deg) * -0.4));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  }
  90% {
    transform: scale(1.02) rotate(calc(var(--wiggle-rotate, 18deg) * 0.2));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  }
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
}
.wiggle {
  animation: wiggle 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
#face-container:hover,
#face-container:focus {
  box-shadow: none;
  transform: none;
}

#face-container-wrapper {
  position: relative;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
#face-container {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
  overflow: visible;
  display: block;
}

#face {
  transform-origin: center center;
}
#face img {
  border-radius: 50%;
  /* box-shadow removed */
  transform-origin: center center;
}
@keyframes wiggle {
  0% {
    transform: scale(1) rotate(0deg);
  }
  15% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(calc(var(--wiggle-rotate, 18deg) * -1));
  }
  30% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(var(--wiggle-rotate, 18deg));
  }
  45% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(calc(var(--wiggle-rotate, 18deg) * -0.8));
  }
  60% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(calc(var(--wiggle-rotate, 18deg) * 0.7));
  }
  75% {
    transform: scale(var(--wiggle-scale, 1.12))
      rotate(calc(var(--wiggle-rotate, 18deg) * -0.4));
  }
  90% {
    transform: scale(1.02) rotate(calc(var(--wiggle-rotate, 18deg) * 0.2));
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
.wiggle img {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.22);
}

.wiggle img {
  box-shadow: none !important;
}

#face-container {
  min-width: 60px;
  min-height: 60px;
  overflow: visible;
}
#face {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#face img {
  max-width: 56px;
  height: 56px;
}

#face-container {
  min-width: 51px;
  min-height: 51px;
  overflow: visible;
}
#face {
  width: 47px;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#face img {
  max-width: 47px;
  height: 47px;
}

#face-container {
  min-width: 56px;
  min-height: 56px;
  overflow: visible;
}
#face {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#face img {
  max-width: 34px;
  height: 34px;
}

#face-container {
  min-width: 56px;
  min-height: 56px;
  overflow: visible;
}
#face {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#face img {
  max-width: 45px;
  height: 45px;
}

.user-modal-tab {
  width: 100%;
  padding: 20px 30px;
  background: #e5e5e5;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  font-family: "Comic Sans MS", cursive, sans-serif;
  color: #7f7f7f;
  transition: background 0.1s, color 0.1s;
  border: none;
  border-radius: 0;
  flex: 1 1 0;
  margin: 0;
  text-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: none;
  transform: none;
  background-image: none;
}

.user-modal-tab:nth-child(2) {
  transform: none;
}

.user-modal-tab:nth-child(3) {
  transform: none;
}

.user-modal-tab::before {
  display: none;
}

.user-modal-tab.active {
  background: #fff;
  color: #000;
  border: none;
  border-width: auto;
  box-shadow: none;
  transform: none;
  font-weight: bold;
  background-image: none;
  z-index: 1;
}

.user-modal-tab.active::before {
  display: none;
}

.user-modal-tab:hover:not(.active) {
  background: #d8d8d8;
  color: #7f7f7f;
  border: none;
  transform: none;
  box-shadow: none;
}

.user-modal-tab:active {
  background: #ccc;
}

.user-modal-tab:focus + .user-modal-tab {
  z-index: 1;
}

#user-tabs {
  display: flex;
  flex-wrap: nowrap;
  max-width: 700px;
  background: #e5e5e5;
  box-shadow: 0 48px 80px -32px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid #000000 !important;
  margin-bottom: 0;

  border-radius: 0;
  position: relative;
  background-image: none;
}

#user-tabs::after {
  display: none;
}

@media (min-width: 600px) {
  .user-modal-tab {
    width: auto;
  }
}
#user-search-modal-center {
  overflow-y: auto;
  box-sizing: border-box;
  height: 100%;
  position: relative;

  background: #fff;
}

#user-modal-loader {
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
}
#user-modal-tabs-and-own {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

#user-list-container {
  box-sizing: border-box;
  height: 100%;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  margin: 0px;
}
#user-modal .modal-content {
  overflow: hidden;
}
#user-modal .filter-main-title {
  margin-bottom: 0;
}
#user-search-container-container {
  margin-bottom: 10px;
}

.user-list-item.selected,
#own-user-block.selected {
  background: #fffacd !important; /* feltűnő sárga háttér */
  border: 2px solid #222 !important;
  border-radius: 5px !important;
  font-weight: bold;
}

#own-user-block {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Morphing marker styles */
.pin-marker {
  position: absolute;
  width: 48px;
  height: 60px;
  z-index: 10;
  cursor: pointer;
  background: transparent;
  transition: box-shadow 0.2s;
}

.pin-marker-circle {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: #00000063 2px 4px 6px -2px;
  font-family: "Comic Sans MS", Comic Sans, cursive;
  font-size: 20px;
  padding: 3px;
  opacity: 1;
  z-index: 20;
  overflow: hidden;
  transition: box-shadow 0.2s, padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s;
  transform-origin: bottom center;
}

.pin-marker-circle img {
  width: 42px;
  height: 42px;
  background: #8dd5bf;
  border-radius: 50%;
  padding: 4px;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
}

.pin-marker-tip {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 13px solid #fff;
  transform: translateX(-50%);
  z-index: 10;
  transition: opacity 0.3s, transform 0.35s,
    border-top-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}
.pin-marker-tip.morphing-tip-hide {
  border-top-width: 0px;
}

/* Morphing címke */
.morphing-marker-label {
  display: flex;
  align-items: center;
  background: #ffffffa0;
  border-radius: 24px;
  box-shadow: #00000063 2px 4px 6px -2px;
  font-family: "Comic Sans MS", Comic Sans, cursive;
  font-size: 20px;
  padding: 3px 8px;
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  overflow: hidden;
  height: 48px;
  gap: 3px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  isolation: isolate;
}
.morphing-marker-icon.left {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #8dd5bf;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
  padding: 4px;
  margin-right: 4px;
}
.morphing-marker-name.center {
  flex: 1 1 auto;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  letter-spacing: -1px; /* Space szélesség beállítása */
  padding: 10px 0px;
}
.morphing-marker-heart.right {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
  cursor: pointer;
  margin-left: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes markerGrowUp {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.pin-marker-circle.marker-grow {
  animation: markerGrowUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.morphing-marker-label.expanded .marker-flex-anim {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.marker-flex-anim .morphing-marker-icon.left {
  order: 1;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-right: 8px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.marker-flex-anim .morphing-marker-name.center {
  order: 2;
  flex: 1 1 auto;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.marker-flex-anim .morphing-marker-heart.right {
  order: 3;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* --- Floating marker, amikor a marker a képernyő közepére "leválik" --- */
.floating-marker {
  transition: left 0.8s cubic-bezier(0.33, 1, 0.68, 1),
    top 0.8s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  pointer-events: auto;
  /*   box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25); */
  border-radius: 18px;
  background: white;
}

.morphing-marker-label.morphing-animate-out {
  min-width: 0 !important;
  opacity: 0;
  transition: min-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
}

.morphing-marker-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  background: #8dd5bf;
  border-radius: 50%;
  padding: 4px;
  display: block;
  margin: 0;
  box-sizing: border-box;
  z-index: 2;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.morphing-marker-heart {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-left: 8px;
  object-fit: contain;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  padding: 10px 0px;
}

.morphing-marker-label .morphing-marker-name,
.morphing-marker-label .morphing-marker-heart {
  opacity: 1;
  transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.morphing-marker-label.animating-in .morphing-marker-name,
.morphing-marker-label.animating-in .morphing-marker-heart {
  opacity: 1;
}
.morphing-marker-label.animating-out .morphing-marker-name,
.morphing-marker-label.animating-out .morphing-marker-heart {
  opacity: 0;
}

.morphing-marker-label .heart-icon {
  position: static !important;
  width: 28px;
  min-width: 0;
  margin-left: 0;
  display: inline-block;
  top: auto;
  left: auto;
}

.selectAllCategory {
  width: 100%;
  background: #fffbe6;
  border-radius: 10px;
  margin-bottom: 18px;
  margin-top: 2px;
  padding: 10px 12px 10px 0;
  font-size: 1.2em;
  font-weight: bold;
  box-shadow: 0 2px 8px #0001;
  border: 2px solid #ffe066;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-column: 1 / -1;
}
.selectAllCategory .button-label {
  font-size: 1.1em;
  font-weight: 900;
  color: #b8860b;
  letter-spacing: 0.5px;
}

.emptyGridCell {
  visibility: hidden;
}

/* --- Sorting radio disabled state --- */
#orderby-form .modal-title.disabled {
  color: #bbb !important;
  opacity: 0.6;
  cursor: not-allowed;
}
#orderby-form input[disabled] + .radio-checkmark {
  background-color: #eee !important;
  border-color: #ccc !important;
  cursor: not-allowed;
}
#orderby-form .filter-radio.disabled .category-content .button-label {
  color: #bbb !important;
  cursor: not-allowed;
}
#orderby-form .filter-radio input[disabled] ~ .radio-checkmark:after {
  background-color: #bbb !important;
}
#orderby-form .filter-radio input[disabled] ~ .radio-checkmark {
  pointer-events: none;
}
#orderby-form .filter-radio input[disabled] {
  pointer-events: none;
}

/* --- Térkép módban üres rádiógombok megjelenítése --- */
#orderby-form .filter-radio.disabled .radio-checkmark:after {
  display: none !important;
}

@keyframes slideOutRight {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}
.prize-slide-out {
  animation: slideOutRight 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.prize-slide-in-left {
  animation: slideInLeft 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

@keyframes loaderSlideOutRight {
  from {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
  to {
    transform: translate(120%, -50%);
    opacity: 0;
  }
}
.loader-slide-out-right {
  animation: loaderSlideOutRight 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

/* --- Marker label három szekciós szerkezet --- */
.marker-label-section {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-section {
  flex: 0 0 42px;
}
.name-section {
  flex: 1 1 auto;
}
.heart-section {
  flex: 0 0 28px;
}

/* --- Disabled stílusok a kategória keresőhöz --- */
#select-all-types-checkbox-label.disabled .category-content .button-label {
  color: #999;
  opacity: 0.6;
}

#select-all-types-checkbox-label.disabled input[disabled] ~ .checkmark {
  background-color: #f5f5f5;
  border-color: #ddd;
}

#select-all-types-checkbox-label.disabled input[disabled] ~ .checkmark:after {
  opacity: 0;
}

/* --- Disabled stílusok a select-all-categories container-hez --- */
#select-all-types-checkbox-container.disabled .filter-checkbox .category-content .button-label {
  color: #999;
  opacity: 0.6;
}

#select-all-types-checkbox-container.disabled .filter-checkbox input[disabled] ~ .checkmark {
  background-color: #f5f5f5;
  border-color: #ddd;
}

#select-all-types-checkbox-container.disabled .filter-checkbox input[disabled] ~ .checkmark:after {
  opacity: 0;
}

/* --- Disabled stílusok az árkategóriához --- */
#price-form .modal-title.disabled {
  color: #999;
  opacity: 0.6;
}

/* --- Disabled stílusok a nyitvatartó checkbox containerhez --- */
#dollar-container.disabled .filter-checkbox .category-content .button-label {
  color: #999;
  opacity: 0.6;
}

#dollar-container.disabled .filter-checkbox input[disabled] ~ .checkmark {
  background-color: #f5f5f5;
  border-color: #ddd;
}



/* --- Teljes filter modal disabled állapota --- */
#filters.filter-modal-disabled {
  opacity: 0.7;
}

/* A modal title és bezárás gomb marad aktív */
#filters.filter-modal-disabled .filter-main-title {
  color: #000;
  opacity: 1;
  pointer-events: auto;
}

#filters.filter-modal-disabled .modal-close {
  opacity: 1;
  pointer-events: auto;
}

/* Csak a filter tartalom legyen disabled */
#filters.filter-modal-disabled .filter-forms {
  pointer-events: none;
}

/* --- Disabled stílusok a kategória formhoz --- */
#category-form .modal-title.disabled {
  color: #999;
  opacity: 0.6;
}

/* --- Általános disabled stílusok a filter checkbox-okhoz és radio buttonokhoz --- */
.filter-checkbox.disabled .category-content .button-label {
  color: #999;
  opacity: 0.6;
  cursor: not-allowed;
}

.filter-checkbox.disabled input[disabled] ~ .checkmark {
  background-color: #f5f5f5;
  border-color: #ddd;
  cursor: not-allowed;
}

.filter-checkbox.disabled input[disabled] ~ .checkmark:after {
  opacity: 0;
}

.filter-radio.disabled .category-content .button-label {
  color: #999;
  opacity: 0.6;
  cursor: not-allowed;
}

.filter-radio.disabled input[disabled] ~ .radio-checkmark {
  background-color: #f5f5f5;
  border-color: #ddd;
  cursor: not-allowed;
}

.filter-radio.disabled input[disabled] ~ .radio-checkmark:after {
  opacity: 0;
}

/* --- Teljes város kereső container letiltása --- */
/* Main container disabled state */
#inputbox-with-dropdown.city-search-disabled {
  opacity: 0.5 !important;
  /* Eltávolítjuk a pointer-events: none-t, hogy a clear button még mindig működjön */
  cursor: not-allowed !important;
}

/* Individual elements with city-search-disabled class */
.inputBox_container.city-search-disabled {
  opacity: 0.5 !important;
  /* Eltávolítjuk a pointer-events: none-t, hogy a clear button még mindig működjön */
}

.inputBox_container.city-search-disabled .search_icon {
  opacity: 0.5 !important;
  fill: #999 !important;
}

.inputBox_container.city-search-disabled .text {
  color: #999 !important;
  opacity: 0.5 !important;
}

.inputBox_container.city-search-disabled .inputBox {
  opacity: 0.5 !important;
  background-color: #f5f5f5 !important;
  color: #999 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.inputBox_container.city-search-disabled .clear-button {
  opacity: 0.5 !important;
  color: #999 !important;
  cursor: pointer !important;
  /* A clear button mindig működjön, még disabled állapotban is */
  pointer-events: auto !important;
}

.inputBox_container.city-search-disabled .clear-button:hover {
  color: #000 !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

.inputBox_container.city-search-disabled .search-loader {
  opacity: 0.5 !important;
  pointer-events: none !important;
}

/* Input field with city-search-disabled class */
.inputBox.city-search-disabled {
  opacity: 0.5 !important;
  background-color: #f5f5f5 !important;
  color: #999 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Dropdown disabled state */
#inputbox-with-dropdown.city-search-disabled .dropdown {
  opacity: 0.5 !important;
  pointer-events: none !important;
  display: none !important;
}

#inputbox-with-dropdown.city-search-disabled .dropdown-item {
  color: #999 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* --- További elemek letiltása --- */
.inputBox_container.city-search-disabled * {
  /* Eltávolítjuk a pointer-events: none-t, hogy a clear button még mindig működjön */
}

.inputBox_container.city-search-disabled svg {
  fill: #999 !important;
  opacity: 0.5 !important;
}

.inputBox_container.city-search-disabled label {
  color: #999 !important;
  opacity: 0.5 !important;
}

.inputBox_container.city-search-disabled input::placeholder {
  color: #ccc !important;
  opacity: 0.5 !important;
}

/* Privát profil radio gombok és checkbox-ok fekete színe */
#unified-privacy-radio-public,
#unified-privacy-radio-private,
#unified-privacy-followers-can-see {
  accent-color: #333 !important;
}

/* Alternatív megoldás régebbi böngészőkhöz */
#unified-privacy-radio-public:checked,
#unified-privacy-radio-private:checked {
  background-color: #333 !important;
  border-color: #333 !important;
}

#unified-privacy-followers-can-see:checked {
  background-color: #333 !important;
  border-color: #333 !important;
}

/* Drag and Drop stílusok */
.link-item.dragging {
  opacity: 0.5;
  transform: rotate(5deg);
  z-index: 1000;
  position: relative;
}

.link-item.drag-over {
  border-top: 3px solid #007bff;
  margin-top: 10px;
}

.link-item:active {
  cursor: grabbing !important;
}

/* Modalban megjelenő linkek és felhasználónevek tördelése */
.link-name, .user-link, .profile-link, .username, .modal a {
  overflow-wrap: anywhere;
  hyphens: auto;
  min-width: 0;
  max-width: 100%;
}

/* Modal tartalom ne legyen vízszintesen görgethető */
.modal-content, .modal-details, .modal-center {
  overflow-x: hidden !important;
  max-width: 600px;
}
/* --- Filter modal max-width felülírása --- */
#filter-modal .modal-content,
#filter-modal .modal-details,
#filter-modal .modal-center {
  max-width: none !important;
}

/* Profilom link háttérfoltja - amorf paca alakú */
body {
  overflow-x: visible !important;
}

#profile {
  overflow: visible !important;
  position: relative;

}

#profileLink {
  position: relative;
  display: inline-block;
  z-index: 1;
}







/* Mobil esetén kisebb paca */
@media (max-width: 576px) {
  #loginLink::before,
  #profileLink::before {
    width: 80px;
    height: 50px;
  }
}
#profileLink {
  position: relative;
  right: 10px;
}

/* Profil link tördelés */
#unified-profile-modal-link {
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  display: block;
}

.profile-blob {
  position: absolute;
  right: 0px;
  top: -3px;
  width: 120px;
  height: 60px;
  background: #fffacd;
  border-radius: 77% 26% 13% 84% / 70% 48% 65% 53%;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}
#profile {
  position: relative;
  overflow: visible;
}
#profile a {
  position: relative;
  z-index: 1;
}

@media (max-width: 576px) {
  .profile-blob {
    width: 80px;
    height: 40px;
    right: 0px;
    top: -6px;
  }
}

#loginLink::before, #profileLink::before { display: none !important; content: none !important; }

/* Unified profile modal name clickable */
#unified-profile-modal-name {
  cursor: pointer;
}

/* User list profile pictures clickable */
.user-list-item img[src*="googleusercontent.com"], 
.user-list-item img[src*="default-user.svg"],
.user-list-item img[src*="uploads/profile-pictures"],
.user-list-item img[src*="szerintunk-icon"],
.user-list-item img[src*="favicon-32x32"] {
  transition: transform 0.2s ease;
  transform-origin: center center;
}

/* Hover effekt eltávolítva */

/* Wiggle animation for profile pictures */
.user-list-item img[src*="googleusercontent.com"].wiggle,
.user-list-item img[src*="default-user.svg"].wiggle,
.user-list-item img[src*="uploads/profile-pictures"].wiggle,
.user-list-item img[src*="szerintunk-icon"].wiggle,
.user-list-item img[src*="favicon-32x32"].wiggle {
  animation: wiggle 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
  transition: none !important;
}

/* User search dropdown profile pictures clickable */
.user-search-item img[src*="googleusercontent.com"], 
.user-search-item img[src*="default-user.svg"],
.user-search-item img[src*="uploads/profile-pictures"],
.user-search-item img[src*="szerintunk-icon"],
.user-search-item img[src*="favicon-32x32"] {
  transition: transform 0.2s ease;
  transform-origin: center center;
}

/* Hover effekt eltávolítva */

/* Wiggle animation for user search dropdown profile pictures */
.user-search-item img[src*="googleusercontent.com"].wiggle,
.user-search-item img[src*="default-user.svg"].wiggle,
.user-search-item img[src*="uploads/profile-pictures"].wiggle,
.user-search-item img[src*="szerintunk-icon"].wiggle,
.user-search-item img[src*="favicon-32x32"].wiggle {
  animation: wiggle 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
  transition: none !important;
}

/* Unified profile modal user list profile pictures clickable */
#unified-user-list-container img[src*="googleusercontent.com"], 
#unified-user-list-container img[src*="default-user.svg"],
#unified-user-list-container img[src*="szerintunk-icon"],
#unified-user-list-container img[src*="favicon-32x32"] {
  transition: transform 0.2s ease;
  transform-origin: center center;
}

/* Hover effekt eltávolítva */

/* Wiggle animation for unified profile modal user list profile pictures */
#unified-user-list-container img[src*="googleusercontent.com"].wiggle,
#unified-user-list-container img[src*="default-user.svg"].wiggle,
#unified-user-list-container img[src*="szerintunk-icon"].wiggle,
#unified-user-list-container img[src*="favicon-32x32"].wiggle {
  animation: wiggle 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
  transition: none !important;
}

/* Wiggle animation for review profile pictures */
.review-profile-pic.wiggle {
  animation: wiggle 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
  transition: none !important;
}

/* Review container slide-in animation */
.review-container {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
  overflow: hidden;
}

.review-container.animate-in {
  animation: reviewSlideIn 0.6s ease-out forwards;
}

@keyframes reviewSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

/* Unified link styles - used for both review links and user profile social links */

/* Embed icon styles */
.embed-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.embed-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 12px;
  cursor: pointer;
}
.review-link-item {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
  cursor: grab;
  transition: all 0.2s ease;
}



.review-link-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-link-display > div:first-child {
  flex: 1;
  text-align: left;
}

.review-link-display a {
  font-weight: bold;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 12px;
}



.review-link-actions {
  display: flex;
  gap: 10px;
}

.review-link-actions a {
  color: #333;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
}



.review-link-actions a.delete-link {
  color: #dc3545;
}







.review-link-edit {
  display: none;
  margin-top: 10px;
}

.review-link-edit input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.review-link-edit-actions {
  text-align: center;
}

.review-link-edit-actions a {
  color: #333;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
  margin-right: 15px;
}



.review-link-embed {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

.review-link-embed.show {
  display: block;
  max-height: 1000px;
  opacity: 1;
}

.review-link-embed-content {
  text-align: center;
  margin-bottom: 8px;
}

.review-link-embed-loading {
  display: block;
  color: #666;
  font-size: 11px;
}

.review-link-embed-content-display {
  display: none;
}

.review-link-embed-error {
  display: none;
  color: #dc3545;
  font-size: 11px;
}

.review-link-embed-close {
  text-align: center;
}

.review-link-embed-close a {
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  font-size: 11px;
}


.review-links-empty {
  text-align: center;
  color: #666;
  font-style: italic;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.review-links-empty:hover {
  color: #333;
}

/* Readonly módban a review-links-empty ne legyen kattintható */
.review-links-empty.readonly {
  cursor: default;
}

.review-links-empty.readonly:hover {
  color: #666;
}

/* Readonly review link styles */
.review-links-section {
  margin-top: 15px;
  padding-top: 15px;
}

.review-links-title {
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
  font-weight: bold;
}



.review-link-embed-readonly {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

.review-link-embed-readonly.show {
  display: block;
  max-height: 1000px;
  opacity: 1;
}

/* User profile social link styles */
.link-item {
  margin-bottom: 10px;
  padding: 0px 10px;
  border: 2px solid #000000;
  border-radius: 8px;
  background-color: #f9f9f98a;
  cursor: grab;
  transition: all 0.2s ease;
  overflow: visible;
}



.link-item.dragging {
  opacity: 0.5;
  transform: rotate(5deg);
}

.link-item.drag-over {
  border-color: #007bff;
  background-color: #e3f2fd;
}

.link-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link-display > div:first-child {
  flex: 1;
  text-align: left;
}

.link-display a {
  font-weight: bold;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 10px 0px;
}



.link-display > div:last-child {
  display: flex;
  gap: 10px;
}

.link-display > div:last-child a {
  color: #333;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
}


.link-display > div:last-child a.delete-link {
  color: #dc3545;
}



.link-edit {
  display: none;
  margin-top: 10px;
}

.link-edit > div {
  margin-bottom: 10px;
}

.link-edit input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.link-edit > div:last-child {
  text-align: center;
  margin-bottom: 0;
}

.link-edit > div:last-child a {
  color: #333;
  text-decoration: underline;
  cursor: pointer;
  font-size: 12px;
  margin-right: 15px;
}



.link-edit > div:last-child a.cancel-link {
  color: #666;
}

.links-empty {
  text-align: center;
  color: #666;
  font-style: italic;
  cursor: pointer;
  transition: color 0.2s ease;
}

.links-empty:hover {
  color: #333;
}

/* User profile add link form styles */
.unified-add-link-button {
  color: #333;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 15px;
  display: block;
  text-align: center;
}


.unified-add-link-form {
  display: none;
  margin-bottom: 15px;
  text-align: left;
}

.unified-add-link-form > div {
  margin-bottom: 10px;
}

.unified-add-link-form > div:last-child {
  margin-bottom: 0;
}

.unified-add-link-form input {
  width: 100%;
  padding: 8px;
  border: 2px solid black;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
}

.unified-add-link-form-actions {
  text-align: center;
}

.unified-add-link-form-actions a {
  color: #333;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  margin-right: 15px;
}


.unified-add-link-form-actions a.cancel-link {
  color: #666;
}

/* Social link ikonok egységesítése */
.social-link-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Review link embed iframe stílus */
.review-link-embed-iframe {
  border-radius: 8px;
  background-color: #fff;
  min-height: 650px;
  height: 50vh;
}

/* Mobil képernyőn kisebb min-height */
@media (max-width: 576px) {
  .review-link-embed-iframe {
    min-height: 550px;
  }
}

/* Megnyitás az alkalmazásban komponens */
.open-in-app-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  text-align: center;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.open-in-app-banner.show {
  transform: translateY(0);
}

.open-in-app-banner .banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.open-in-app-banner .banner-text {
  font-size: 16px;
  font-weight: bold;
  flex: 1;
  margin-right: 15px;
}

.open-in-app-banner .banner-button {
  background: white;
  color: #667eea;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.open-in-app-banner .banner-button:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.open-in-app-banner .banner-button:active {
  transform: translateY(0);
}

.open-in-app-banner .close-banner {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
}

.open-in-app-banner .close-banner:hover {
  opacity: 0.8;
}

/* Capacitor app-ban elrejtjük a bannert */
body.capacitor-app .open-in-app-banner {
  display: none;
}

/* Mobil optimalizálás */
@media (max-width: 480px) {
  .open-in-app-banner {
    padding: 12px 15px;
  }
  
  .open-in-app-banner .banner-text {
    font-size: 14px;
  }
  
  .open-in-app-banner .banner-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Capacitor app-ban elrejtjük a bannert */
body.capacitor-app .open-in-app-banner {
  display: none;
}



/* Mobil optimalizálás */

/* Capacitor app-ban elrejtjük a bannert */
body.capacitor-app .open-in-app-banner {
  display: none;
}

/* GDPR Consent Modal - használja a meglévő modal stílusokat */

