/* ===================================================
   BSF BIETIGHEIM 2015 - COOKIE CONSENT
=================================================== */

.cookie-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.75);

  backdrop-filter: blur(4px);

  z-index: 9998;

  display: none;
}

.cookie-banner {
  position: fixed;

  left: 50%;
  bottom: 30px;

  transform: translateX(-50%);

  width: min(92%, 700px);

  background: #11151c;

  border: 1px solid rgba(30, 144, 255, 0.35);

  border-radius: 18px;

  padding: 28px;

  color: white;

  box-shadow:
    0 12px 40px rgba(0,0,0,0.45),
    0 0 30px rgba(30,144,255,0.15);

  z-index: 9999;

  display: none;
}

.cookie-banner h3 {
  margin-top: 0;
  margin-bottom: 15px;

  color: #1e90ff;

  font-size: 24px;
}

.cookie-banner p {
  color: #cfcfcf;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  margin-top: 22px;
}

.cookie-btn {
  border: none;

  border-radius: 999px;

  padding: 12px 20px;

  font-weight: bold;

  cursor: pointer;

  transition: 0.25s ease;
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

.cookie-btn.accept {
  background: #1e90ff;
  color: white;
}

.cookie-btn.accept:hover {
  background: #0d6efd;
}

.cookie-btn.reject {
  background: #2b313d;
  color: white;
}

.cookie-btn.reject:hover {
  background: #3a4352;
}

.cookie-btn.settings {
  background: transparent;

  border: 1px solid rgba(30,144,255,0.4);

  color: #1e90ff;
}

.cookie-btn.settings:hover {
  background: rgba(30,144,255,0.1);
}

.cookie-settings {
  display: none;

  margin-top: 25px;

  border-top: 1px solid rgba(255,255,255,0.08);

  padding-top: 20px;
}

.cookie-option {
  margin-bottom: 18px;
}

.cookie-option label {
  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: bold;

  color: white;
}

.cookie-option small {
  display: block;

  margin-top: 5px;

  margin-left: 28px;

  color: #aaa;
}

.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;

  accent-color: #1e90ff;
}

/* Mobile */

@media (max-width: 768px) {

  .cookie-banner {

    width: calc(100% - 24px);

    bottom: 12px;

    padding: 20px;
  }

  .cookie-buttons {

    flex-direction: column;
  }

  .cookie-btn {

    width: 100%;
  }

}