.cookie-consent {
  position: fixed;
  inset: auto 0 24px 0;
  margin: 0 24px;
  padding: 16px 20px;
  background: #1f1f1f;
  color: #fff;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateY(12px);
  font-size: 14px;
  line-height: 1.4;
}

.cookie-consent.hidden {
  display: none;
}

.cookie-consent_visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-consent__text {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cookie-consent__text a {
  color: #7ec7ff;
  text-decoration: underline;
}

.cookie-consent__button {
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  background: #ff6b00;
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.cookie-consent__button:hover {
  background: #ff8026;
}

.cookie-consent__button:active {
  transform: translateY(1px);
}

@media (max-width: 640px) {
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0 12px;
    padding: 14px 16px;
  }

  .cookie-consent__button {
    width: 100%;
    text-align: center;
  }
}
