/* Cookie consent banner */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111111;
  color: #e8e8e8;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -2px 18px rgba(0, 0, 0, 0.45);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  flex-wrap: wrap;
}

#cookieBanner.cookie-hidden,
html.cookie-consent-resolved #cookieBanner {
  display: none;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
  color: #cccccc;
}

.cookie-text a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  opacity: 0.8;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-ok,
.cookie-btn-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn-ok {
  background: #ffffff;
  color: #111111;
  border: none;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}

.cookie-btn-ok:hover {
  background: #e8e8e8;
}

.cookie-btn-no {
  background: transparent;
  color: #aaaaaa;
  border: 1px solid #444444;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}

.cookie-btn-no:hover {
  border-color: #888888;
  color: #cccccc;
}

.cookie-btn-policy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #888888;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-btn-policy:hover {
  color: #cccccc;
}

@media (max-width: 600px) {
  #cookieBanner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 20px 24px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn-ok {
    flex: 1;
    text-align: center;
  }
}
