.cookie-consent {
  position: fixed;
  bottom: 2rem;
  background: #fff;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 32px;
  z-index: 9999;
  width: 460px;
  display: none;
}

/* Positions */
.cookie-consent--bottom-center {
  left: 50%;
  transform: translateX(-50%);
}

.cookie-consent--bottom-left {
  left: 2rem;
}

.cookie-consent--bottom-right {
  right: 2rem;
}

.cookie-consent.active {
  display: block;
  animation: slideUp 0.5s ease forwards;
}

.cookie-consent__content {
  margin-bottom: 24px;
}

.cookie-consent__title {
  margin-bottom: 20px;
}

.cookie-consent__text {
  color: var(--color-text);
}

.cookie-consent__read-more {
  text-decoration: underline;
  cursor: pointer;
  color: inherit;
}

.cookie-consent__buttons {
  display: flex;
  gap: 16px;
}

.cookie-consent__buttons .btn {
  padding: 12px 14px;
  cursor: pointer;
  outline: none;
  gap: 8px;
  font-size: var(--font-size-16);
  font-weight: 500;
  font-family: "Inter", sans-serif;
}

.cookie-consent__buttons .btn-primary {
  border: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(0, 20px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* Position-specific animations */
.cookie-consent--bottom-center.active {
  animation: slideUpCenter 0.5s ease forwards;
}

@keyframes slideUpCenter {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 576px) {
  .cookie-consent {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    padding: 24px;
  }

  .cookie-consent--bottom-center,
  .cookie-consent--bottom-left,
  .cookie-consent--bottom-right {
    left: 0;
    right: 0;
    transform: none;
  }
}
