/* ==========================================================================
   Süti (cookie) hozzájárulás sáv – GDPR / ePrivacy
   ========================================================================== */

.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: none;
  background: var(--white, #ffffff);
  color: var(--black, #0f172a);
  border-top: 4px solid var(--primary-orange, #ea5e0b);
  box-shadow: 0 -6px 24px rgba(15, 23, 42, .25);
  font-size: 15px;
  line-height: 1.5;
}

.cc-banner.cc-open { display: block; }

.cc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
}

.cc-title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-blue, #1e3a8a);
}

.cc-text { margin: 0 0 12px; }

.cc-links { margin: 8px 0 0; font-size: 14px; }
.cc-links a { color: var(--secondary-blue, #3b82f6); text-decoration: underline; }

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.cc-btn {
  cursor: pointer;
  border: 2px solid var(--primary-blue, #1e3a8a);
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  background: var(--white, #ffffff);
  color: var(--primary-blue, #1e3a8a);
  transition: background .2s, color .2s;
}

.cc-btn:hover { background: var(--medium-gray, #e2e8f0); }

.cc-btn-accept {
  background: var(--primary-orange, #ea5e0b);
  border-color: var(--primary-orange, #ea5e0b);
  color: #ffffff;
}
.cc-btn-accept:hover { background: #c94e08; border-color: #c94e08; color: #ffffff; }

.cc-btn-link {
  border: none;
  background: none;
  padding: 10px 6px;
  text-decoration: underline;
  color: var(--dark-gray, #64748b);
  font-weight: 400;
}
.cc-btn-link:hover { background: none; color: var(--primary-blue, #1e3a8a); }

/* --- Beállítások panel --- */
.cc-settings { display: none; margin-top: 14px; }
.cc-settings.cc-show { display: block; }

.cc-cat {
  border: 1px solid var(--medium-gray, #e2e8f0);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--light-gray, #f8fafc);
}

.cc-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary-blue, #1e3a8a);
}

.cc-cat-desc { margin: 6px 0 0; font-size: 14px; color: var(--dark-gray, #64748b); }

.cc-fix { font-size: 13px; font-weight: 600; color: var(--success, #059669); white-space: nowrap; }

.cc-switch { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; }
.cc-switch input { width: 20px; height: 20px; accent-color: var(--primary-orange, #ea5e0b); }

/* --- Térkép helyőrző (hozzájárulás előtt) --- */
.cc-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  min-height: 450px;
  padding: 24px;
  border: 1px dashed var(--dark-gray, #64748b);
  border-radius: 4px;
  background: var(--light-gray, #f8fafc);
}

.cc-placeholder h3 { margin: 0; font-size: 18px; color: var(--primary-blue, #1e3a8a); }
.cc-placeholder p  { margin: 0; max-width: 640px; color: var(--dark-gray, #64748b); }
.cc-placeholder a  { color: var(--secondary-blue, #3b82f6); text-decoration: underline; font-size: 14px; }
.cc-embed iframe   { display: block; width: 100%; border: 0; }

/* --- Lábléc "Süti beállítások" link --- */
.cc-reopen {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .cc-inner { padding: 14px; max-height: 80vh; overflow-y: auto; }
  .cc-btn { width: 100%; }
  .cc-actions { gap: 8px; }
}

/* --- Űrlap adatkezelési hozzájárulás (GDPR checkbox) --- */
.gdpr-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.gdpr-consent input { margin-top: 2px; flex: 0 0 auto; width: 16px; height: 16px; }
.gdpr-consent a     { text-decoration: underline; }

/* --- Jogi oldalak (adatvédelmi / süti tájékoztató) --- */
.jogi h2 { margin-top: 28px; }
.jogi p, .jogi li { line-height: 1.6; }
.jogi ul { margin: 10px 0 10px 22px; list-style: disc; }
.jogi li { margin-bottom: 6px; }
.jogi code { font-family: monospace; font-size: 13px; word-break: break-word; }

.jogi-tabla { width: 100%; overflow-x: auto; margin: 14px 0; }

.jogi-tabla table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.jogi-tabla th,
.jogi-tabla td {
  border: 1px solid var(--medium-gray, #e2e8f0);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.jogi-tabla thead th { background: var(--light-gray, #f8fafc); color: var(--primary-blue, #1e3a8a); }
.jogi-tabla tbody th { background: var(--light-gray, #f8fafc); width: 30%; white-space: nowrap; }
