/* Root-Container (wird von JS erzeugt) */
#tb-cookie-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Hauptbanner */
.tb-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tb-cookie.visible {
  opacity: 1;
  transform: translateY(0);
}

.tb-cookie.hidden {
  opacity: 0;
  transform: translateY(10px);
}

/* Panel */
.tb-cookie__panel {
  width: min(960px, calc(100% - 24px));
  margin: 12px;
  border-radius: 16px;
  background: #242738;
  color: #f7f7ff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

/* Kopfbereich */
.tb-cookie__head {
  padding: 12px 16px;
  background: linear-gradient(135deg, #272a3c, #323753);
}

.tb-cookie__head h2 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Body */
.tb-cookie__body {
  padding: 14px 16px 10px;
}

.tb-cookie__body p {
  margin: 0 0 10px 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #dde0f3;
}

/* Reihen (Essentiell / Komfort / Partner) */
.tb-cookie__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  margin: 6px 0;
  border-radius: 12px;
  background: #26293b;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.tb-cookie__row span {
  font-size: 0.92rem;
}

.tb-cookie__row input[type="checkbox"] {
  width: 42px;
  height: 22px;
}

.tb-cookie__row.tb-locked {
  opacity: 0.7;
  cursor: default;
}

/* Hinweis & Links */
.tb-cookie__hint {
  margin-top: 6px;
  font-size: 0.84rem;
  color: #f7d5df;
}

.tb-cookie__links {
  margin-top: 8px;
  font-size: 0.86rem;
  color: #c0c3da;
}

.tb-cookie__links a {
  color: #ff6aa0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Aktionen */
.tb-cookie__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 14px 12px;
  background: #212334;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Buttons */
.tb-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}

.tb-btn:active {
  transform: translateY(1px);
}

.tb-btn--primary {
  background: linear-gradient(135deg, #ff6aa0, #8a7dff);
  color: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 106, 160, 0.5);
}

.tb-btn--primary:hover {
  box-shadow: 0 0 0 2px rgba(255, 106, 160, 0.4);
}

.tb-btn--ghost {
  background: transparent;
  color: #d4d8f0;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.tb-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Kleiner Manage-Link, falls später wieder genutzt wird */
.tb-cookie-manage-link {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 99998;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  background: rgba(32, 35, 52, 0.9);
  color: #d4d8f5;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.tb-cookie-manage-link:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* Disabled-States (Fav-Buttons, Event-Button, Links) */
.tb-disabled,
.disabled {
  opacity: 0.45 !important;
  pointer-events: none !important;
  filter: grayscale(0.9);
}

/* Komfort komplett aus → kannst du im restlichen UI bei Bedarf benutzen */
body.no-comfort .shiba-helper-extra {
  display: none !important;
}

/* Mobile Anpassungen */
@media (max-width: 600px) {
  .tb-cookie__panel {
    width: calc(100% - 16px);
    margin: 8px;
    border-radius: 14px;
  }

  .tb-cookie__body {
    padding: 12px 12px 8px;
  }

  .tb-cookie__head {
    padding: 10px 12px;
  }

  .tb-cookie__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .tb-btn {
    width: 100%;
    text-align: center;
  }
}
/* Aktionen */
.tb-cookie__actions {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  margin-top: .75rem;
}

/* Grundbutton */
.tb-btn {
  appearance: none;
  border: 0;
  border-radius: .6rem;
  padding: .7rem 1rem;
  font: inherit;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .12s ease, opacity .12s ease;
}

/* Save: dezent (Outline/Soft) */
.tb-btn--outline {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: #e7e3ef;
}
.tb-btn--outline:hover { background: rgba(255,255,255,.10); }
.tb-btn--outline:active { transform: translateY(1px); }

/* Accept All: prominent (Primary) */
.tb-btn--primary {
  background: linear-gradient(135deg, #ff71c0, #a07bff);
  color: #000;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(255, 126, 201, .25);
  border: 1px solid rgba(255,255,255,.18);
}
.tb-btn--primary:hover { box-shadow: 0 8px 22px rgba(255, 126, 201, .35); }
.tb-btn--primary:active { transform: translateY(1px); }

/* Header im Banner */
.tb-cookie__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .4rem;
}

.tb-cookie__icon {
  width: 40px;
  height: 39px;
  flex-shrink: 0;
}

/* Kleiner fixer Shiba-Cookie-Button oben rechts */
/* Kleiner fixer Shiba-Cookie-Button oben rechts */
.tb-cookie-reopen-btn {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 800;
  border: 1px solid rgba(255,255,255,0.15);
  padding: .3rem;
  border-radius: 50px;
  background: rgba(30, 32, 45, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.22),
              0 0 8px rgba(200, 140, 255, 0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, box-shadow .15s ease, border-color .15s ease;
}




.tb-cookie-reopen-btn img {
  width: 40px;
  height: 39px;
  display: block;
}

.tb-cookie-reopen-btn:hover {
  background: rgba(40, 42, 60, 0.45);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25),
              0 0 10px rgba(220,160,255,0.25);
}

@media (max-width: 640px) {
  .tb-cookie-reopen-btn {
    top: .6rem;
    right: .5rem;
  }
}


