html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
	font-size: 13.5px;
    background-color: #D7EFF7;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* Iframe stílusok */
iframe[name="contentFrame"] {
    flex: 1;
    width: 100%;
    border: none;
    overflow: auto;
}
/* Felső sáv stílusok */
.top-bar {
    background-color: #5AB1C5;
    color: white;
    display: flex;
    justify-content:flex-start;
    gap: clamp(6px, 1.6vw, 16px);	
    align-items: center;
    padding: 10px 20px;
    font-size: 13px;
    flex-wrap: nowrap; 
    overflow: hidden;
	min-width: 0; 
}
.left-info-slider{
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
#infoItems {
    display: inline-flex;
    gap: clamp(10px, 2vw, 30px);
    transition: all 0.5s ease-in-out;
}
#infoItems span,
#infoItems a {
    white-space: nowrap;
    color: white;
    text-decoration: none;
}
#infoItems a:hover {
    text-decoration: underline;
}
.social-links,
.gqr-mini,
#verTag{
  flex: 0 0 auto;
}
.social-links{
  display:flex;
  align-items:center;
  gap: clamp(6px, 1.2vw, 10px);
  color: transparent;
}
.social-links a{
  --size:34px;
  width:var(--size); height:var(--size);
  display:inline-grid; place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 14px rgba(0,0,0,.10);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.social-links a img{display:block; width:20px; height:20px; image-rendering:-webkit-optimize-contrast;}
.social-links a:hover{ transform:translateY(-1px); background:rgba(255,255,255,.22); box-shadow:0 10px 22px rgba(0,0,0,.16); }
.social-links a:active{ transform:translateY(0); filter:brightness(.95); }
.social-links a:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
.chip.vtag{
  padding:4px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  font-size:11.5px;
  font-weight:600;
  backdrop-filter: blur(6px);
  white-space:nowrap;
 }
/* 90+ nap: figyelmeztető */
.chip.vtag.stale{
  background:rgba(255,179,0,.25);
  border-color:rgba(255,179,0,.45);
 }
/* 365+ nap: erős */
.chip.vtag.outdated{
   background:rgba(220,53,69,.28);
   border-color:rgba(220,53,69,.55); }
@media (max-width: 720px){ .chip.vtag{
  display:none;
 }
}
.login-link::before {
  content: none;
  font-size: 16px;
}
.login-link:hover {
  background-color: #007d8a;
}
.top-bar div {
    display: flex;
    align-items: center;
    gap: 15px;
}
.top-bar a {
    color: white;
    text-decoration: none;
}
.top-bar a:hover {
    text-decoration: underline;
}
.header-container,
.header-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
	padding-left: 14px !important;
    padding-right: 14px !important;
    height: 110px;
    background-color: #D7EFF7;
    gap: 18px;
    flex-wrap: nowrap;
}

.logo-container img.logo {
    height: 78px;
}
.logo {
    width: 75px;
    height: auto;
    object-fit: contain;
}
/* Konténer stílusok */
.container {
    max-width: 600px;
    margin: 0 auto;
}
.counter-box{
  width: 108px;
  padding: 6px;
  background: linear-gradient(to bottom, #E0F4FB, #BFE2F0);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  color:#222;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  backdrop-filter: blur(6px);
  border:1px solid rgba(255,255,255,.3);
  display:flex; flex-direction:column;
  gap: 6px;
  margin-left:12px;
  align-items: stretch;
}
/* SOR */
.counter-line{
  display:flex; align-items:center; gap:6px;
  line-height:1.1;
  padding: 2px 4px;
  border-radius:4px;
}
.counter-line:hover{ background: rgba(255,255,255,.12); }
.counter-icon{ color:#1c4587; font-size:13px; width:18px; text-align:center; }
.counter-value{
  flex:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-weight:600;
  font-size:11px;
}
:root {
  --clock-font: "Montserrat", monospace;
}
.counter-line.counter-clock .counter-value{
  font-family: var(--clock-font);
  font-size: 14px;
  text-align:left;
  letter-spacing: 0.8px;
  font-weight:700;
  padding-right: 2px;
}
.counter-line.counter-clock .counter-icon{
  width:20px;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
/* ====== DENSE mód – még kompaktabb ====== */
.counter-box.dense{
  width:108px;
  padding:4px;
  gap:4px;
}
.counter-box.dense .counter-line{
  gap:4px;
  padding: 0 2px;
  min-height: 18px;
}
.counter-box.dense .counter-icon{ font-size:12px; }
.counter-box.dense .counter-value{ font-size:10.5px; font-weight:600; }

/* Ha még laposabb kell: */
.counter-box.ultra{ padding:3px; gap:3px; }
.counter-box.ultra .counter-line{ min-height:16px; padding:0 2px; }
.counter-box.ultra .counter-icon{ font-size:11px; }
.counter-box.ultra .counter-value{ font-size:10px; }

/* Jelvény/badge: alapból rejtve */
.notify-banner{
  position: fixed;
  left: auto;            /* biztosan jobb oldalra menjen */
  right: 20px;
  bottom: 95px;          /* állítsd, ha ütközik a chat bubival */
  background: #fffbe6;
  color: #4a3b00;
  border-left: 6px solid #f1c40f;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  opacity: 0;            /* rejtett állapot */
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease;
  z-index: 2000;
  pointer-events: none;  /* rejtve ne fogja a klikket */
}
.notify-banner.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.notify-banner .dot{
  width:10px; height:10px; border-radius:50%;
  background:#f1c40f;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}
/* Navigációs menü stílusok (desktop) */
nav.menu {
    flex-grow: 0;
    display: flex;
    justify-content: flex-start;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    height: auto;
    margin-left: 0px;
	flex-wrap: nowrap;
    white-space: nowrap;
    gap: 16px;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    gap: 20px;
}

nav ul > li > a,
nav ul > li > .dropdown-toggle {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 7px;
    font-size: 14px;
}
nav ul > li > a:hover,
nav ul > li > .dropdown-toggle:hover {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
/* Dropdown menü stílusok */
.dropdown {
  position: relative;
  perspective: 800px;
}
.dropdown-content {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: rotateX(-90deg);
  transform-origin: top;
  transition: all 0.4s ease-in-out;
  background-color: #E0F4FB;
  position: absolute;
  z-index: 1000;
  padding: 12px 0;
  min-width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
}
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: rotateX(0deg);
}
.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #222;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.dropdown-content a:hover {
  background: #E2F5FF;
  color: #00695c;
  transform: scale(1.02);
}
/* Desktop és mobil menü megjelenítése */
.desktop-menu {
    display: block;
}
.hamburger-menu {
    display: none;
    font-size: 23px;
    color: #005b76;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger-menu.animate {
    animation: zoomEffect 0.4s ease;
}
/* Animációk */
@keyframes zoomEffect {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}
@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}
/* Home gomb stílusok */
.home-button img {
    width: 43px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}
/* Mobil menü stílusok */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background-color: #BAEFF2;
    background-image: url('menu-bg.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(6px);
    color: #222;
    padding: 20px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.mobile-menu-overlay {
    background-color: #5F8D9E;
}
.mobile-menu li {
    margin-bottom: 6px;
}
.mobile-menu::-webkit-scrollbar {
    width: 10px;
}
.mobile-menu::-webkit-scrollbar-thumb {
    background-color: #1E5C6A;
    border-radius: 4px;
    height: 100px;
}
.mobile-menu::-webkit-scrollbar-track {
    background: #DCFAE3;
}
.mobile-menu li a {
    color: #222;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 8px;
    border-radius: 4px;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-menu li a:hover {
    background-color: #E2F5FF;
    color: #005b76;
}
.mobile-menu.open {
    background-color: #C4DAE5;
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    max-height: 650px;
}

/* Home ikon stílusok */
.home-icon {
    transition: transform 0.3s ease, fill 0.3s ease;
}
.home-icon:hover {
    transform: rotate(360deg);
    fill: #405EA3;
}
#kereso-form{
  display:flex; 
  align-items:center;
  gap:5px; margin:0;
  position:relative;
  min-width: 0;
}
/* mező */
#kereso-input{
  width:145px;
  padding: 8px 34px 8px 10px;
  font-size:13.5px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:10px;
  background: rgba(255,255,255,.22);
  color:#0e2b52;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
#kereso-input::placeholder{ color: rgba(14,43,82,.55); }

/* fókusz: finom ragyogás */
#kereso-input:focus{
  outline:none;
  background: rgba(255,255,255,.28);
  border-color:#c9d9ff;
  box-shadow:
    0 0 0 3px rgba(201,217,255,.35),
    inset 0 1px 0 rgba(255,255,255,.5);
}
#kereso-form button {
  position:absolute;
  right:4px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.35);
  border-radius:8px;
  background: linear-gradient(180deg,#eaf2ff,#ddeaff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 14px rgba(0,0,0,.12);
  cursor:pointer;
  padding: 5px 8px;
  font-size: 13.5px;
}
#kereso-btn:hover{
  background: linear-gradient(180deg,#eef5ff,#e1ebff);
  transform: translateY(-50%) translateY(-1px);
}
#kereso-btn:active{
  transform: translateY(-50%); filter: brightness(.97);
}
#kereso-btn:focus-visible{
  outline:2px solid #ffffff; outline-offset:2px;
}

/* ikon a gombban (ha <i> vagy <img>) */
#kereso-btn i{ font-size:14px; color:#0e2b52; }
#kereso-btn img{ width:16px; height:16px; display:block; }
#talalatok {
    position: fixed;
    top: 250px;
    right: 30px;
    width: 300px;
    max-height: 450px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #000;
    display: none;
    z-index: 1000;
}
#talalatok-bezar {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}
#talalatok-tartalom{
  display: flex !important;
  flex-direction: column !important;   /* egymás ALÁ rakjuk */
  align-items: stretch !important;
  gap: 8px;
  column-count: 1 !important;          /* ha valahol columns lenne */
  columns: auto !important;
  overflow-x: hidden;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  writing-mode: horizontal-tb !important;
}

/* 3) A közvetlen gyerekek ne ússzanak/flexeljenek/szélesedjenek ki */
#talalatok-tartalom > *{
  display: block !important;
  float: none !important;
  clear: both !important;
  width: auto !important;
  max-width: 100% !important;
}
.eredmeny-doboz {
    background: #f0f8ff;
    border: 2px solid #3399cc;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 20px auto;
    font-family: sans-serif;
}
.talalat {
    margin-bottom: 10px;
    /* Egyéb stílusok a találatokhoz */
}
.hivas-gomb {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #2e7d32;
  color: white;
  padding: 12px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  z-index: 1000;
  transition: background 0.3s ease;
}
.hivas-gomb:hover {
  background-color: #1b5e20;
}
@media (min-width: 1200px) {
  .sheet { max-width: 1000px; font-size: 16px; }
}

/* Közepes (laptop, kisebb desktop) */
@media (max-width: 1199px) and (min-width: 768px) {
  .sheet { max-width: 700px; font-size: 14px; }
}

/* Kis képernyő (notebook, tablet) */
@media (max-width: 767px) {
  .sheet { max-width: 95%; font-size: 12px; padding:12px; }
  .list li { flex-direction: column; align-items:flex-start; }
}
@media (max-width: 768px) {
  .top-bar,
  .logo-container,
  .counter-box,
  #kereso-form,
  .counter-container,
  .dropdown-toggle,
  .home-icon {
   display: none !important;
  }
.mobile-menu {
    display: block;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    padding-bottom: 40px;
    background-color: #E8F7FB;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    font-family: "Montserrat", sans-serif;
}
.mobile-menu li a,
.mobile-menu li .dropdown-toggle {
    position: relative;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    padding: 8px 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-menu li a::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5AB1C5;
    transition: width 0.3s ease;
}
.mobile-menu li a:hover::after {
    width: 100%;
}
  #hirfolyamBox {
    position: fixed;
    bottom: 16px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: calc(100% - 20px);
    font-size: 13px;
    padding: 12px 14px;
    border-radius: 8px;
    z-index: 999;
  }

  #hirfolyamBox h4 {
    font-size: 15px;
    margin-top: 0;
  }

  #hirfolyamBox a {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1976d2;
    text-decoration: underline;
  }

  #hirfolyamBox p {
    margin: 6px 0;
  }
.header-container {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}
.header-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 1;
}
.hivas-gomb{ display:none;
 }
nav.menu {
    display: none;
}
.hamburger-menu {
    display: block;
}
.mobile-menu.open {
    display: block;
 }
}