/* ——— Drubor Cookie Consent – HARD LOCK – STYLE v1.2.5 ——— */

/* Alap nullázás, hogy semmi ne tolja el a layoutot */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Teljes képernyős overlay – minden fölött */
#drubor-cookie-overlay {
  position: fixed;                 /* maradjon a képernyőn görgetéskor is */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75); /* háttér sötétítés */
  z-index: 2147483647;             /* semmi se takarja ki */
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

/* Központi doboz – pontosan képernyő közepén */
.cookie-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* teljes közép */
  background: #1f1f22;
  color: #ffffff !important;
  max-width: 640px;
  width: calc(100% - 40px);         /* kicsit beljebb mobilon */
  padding: 40px 36px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

/* Cím */
.cookie-box h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.2;
}

/* Szöveg */
.cookie-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #f2f2f2 !important;
}

/* Divi (vagy más sablon) felülírás elleni védelem */
#drubor-cookie-overlay .cookie-box p {
  color: #e4e4e4 !important;
}

/* Link */
.cookie-box a {
  color: #ffcb05 !important;
  text-decoration: underline;
  font-weight: 500;
}
.cookie-box a:hover,
.cookie-box a:focus {
  text-decoration: none;
  color: #ffd740 !important;
}

/* Gomb */
#drubor-accept-cookies {
  display: inline-block;
  background: #ffcb05;
  color: #000;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  margin-top: 24px;
  transition: all 0.25s ease-in-out;
}

#drubor-accept-cookies:hover {
  background: #ffd740;
  transform: scale(1.05);
}

/* Hard lock – a háttér nem görgethető */
html.drbr-locked,
body.drbr-locked {
  overflow: hidden !important;
  height: 100% !important;
}

/* Biztonság: az overlay elemei kattinthatók, háttér nem */
#drubor-cookie-overlay * {
  pointer-events: auto;
}

/* Lágy beúszás animáció */
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
