.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 900px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.cookie-banner__icon {
  font-size: 32px;
  flex-shrink: 0;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.2;

  display: block;
}

.cookie-banner__description {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.cookie-banner__link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cookie-banner__link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-banner__button--accept {
  background-color: #28a745;
  color: white;
}

.cookie-banner__button--accept:hover {
  background-color: #218838;
  transform: translateY(-1px);
}

.cookie-banner__button--decline {
  background-color: #6c757d;
  color: white;
}

.cookie-banner__button--decline:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
}

.cookie-banner__close-button {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.cookie-banner__close-button:hover {
  color: #666;
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
  .cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
  }

  .cookie-banner__container {
    flex-direction: column;
    gap: 16px;
  }

  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cookie-banner__icon {
    align-self: center;
    font-size: 28px;
  }

  .cookie-banner__title {
    font-size: 16px;
  }

  .cookie-banner__description {
    font-size: 13px;
  }

  .cookie-banner__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cookie-banner__button {
    padding: 12px 20px;
    font-size: 14px;
  }

  .cookie-banner__close-button {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    border-radius: 16px 16px 0 0;
    max-width: none;
  }

  .cookie-banner.show {
    transform: none;
  }

  .cookie-banner__content {
    gap: 12px;
  }

  .cookie-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner__button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }
}
