.cookie-consent-root {
  position: fixed;
  top: auto;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  z-index: 1400;
  pointer-events: none;
  padding: 0 0.6rem;
}

.cookie-banner {
  pointer-events: auto;
  width: min(1360px, calc(100% - 0.2rem));
  margin: 0 auto;
  border-radius: 0.25rem;
  border: 1px solid #c9c9c9;
  background: #f1f1f1;
  color: #2e2e2e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.cookie-banner-text {
  font-size: 0.86rem;
  line-height: 1.4;
}

.cookie-banner-text a {
  color: #1658a7;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
}

.cookie-btn {
  border: 1px solid transparent;
  border-radius: 0.28rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  opacity: 0.9;
}

.cookie-btn-primary {
  background: #0b63d1;
  border-color: #0b63d1;
  color: #fff;
}

@media (max-width: 940px) {
  .cookie-banner {
    border-radius: 0.5rem;
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 0.2rem);
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }
}
