/* ============================================================
   cookie.css – BAERLIM-USER-FRONTEND
   Cookie-Banner – Footer-Stil, aufgeräumt
   ============================================================ */

#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 7000;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(6,6,6,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.09);
  font-family: Arial, Helvetica, sans-serif;
}
#cookie-banner.is-visible { display: flex; }

/* ── Text ── */
.cookie-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 1;
  min-width: 0;
}
.cookie-text h3 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  margin: 0;
}
.cookie-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.52);
  margin: 0;
  line-height: 1;
}
.cookie-text p a {
  color: #1EC11E;
  text-decoration: none;
}
.cookie-text p a:hover { text-decoration: underline; }

/* ── Checkboxen ── */
.cookie-options {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.cookie-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.68);
  cursor: pointer;
  line-height: 1;
  user-select: none;
}
.cookie-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color .14s, background .14s;
  margin: 0;
  vertical-align: middle;
}
.cookie-option input[type="checkbox"]:checked {
  background: #1EC11E;
  border-color: #1EC11E;
}
.cookie-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1.5px;
  width: 4px; height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.cookie-option input[type="checkbox"]:disabled {
  opacity: 0.50;
  cursor: not-allowed;
}

/* ── Buttons ── */
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background .14s, color .14s;
}
.cookie-btn--accept {
  background: #1EC11E;
  color: #fff;
}
.cookie-btn--accept:hover { background: #16a916; }

.cookie-btn--decline {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.16) !important;
}
.cookie-btn--decline:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
    gap: 12px;
  }
  .cookie-text { flex-direction: column; align-items: flex-start; gap: 3px; }
  .cookie-options { gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}
