.cookie-banner[hidden],
.cookie-settings-trigger[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 20000;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  color: #ffffff;
  background: rgba(16, 43, 67, 0.98);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(6, 28, 46, .35);
  backdrop-filter: blur(16px);
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cookie-banner__title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.25;
}

.cookie-banner__text {
  margin: 0;
  max-width: 760px;
  color: #c8d9e7;
  font-size: .88rem;
  line-height: 1.55;
}

.cookie-banner__text a {
  color: #9ed4ff;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-banner__button {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.cookie-banner__button:hover {
  transform: translateY(-1px);
}

.cookie-banner__button--reject {
  color: #e5f2fb;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.cookie-banner__button--accept {
  color: #ffffff;
  background: linear-gradient(135deg, #2b89e8, #58acf5);
  box-shadow: 0 9px 22px rgba(43,137,232,.28);
}

.cookie-settings-trigger {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 19000;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #c9deee;
  border-radius: 999px;
  color: #15314b;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(22,71,111,.16);
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}

body.has-mobile-cta .cookie-banner {
  bottom: 86px;
}

body.has-mobile-cta .cookie-settings-trigger {
  bottom: 84px;
}

@media (max-width: 760px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
    border-radius: 16px;
  }

  body.has-mobile-cta .cookie-banner {
    bottom: 82px;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner__button {
    width: 100%;
  }

  .cookie-settings-trigger {
    left: 12px;
    bottom: 12px;
  }

  body.has-mobile-cta .cookie-settings-trigger {
    bottom: 82px;
  }
}

@media (max-width: 410px) {
  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }
}
