.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(255 255 255 / 79%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #333;
  padding: 20px;
  z-index: 9999;
  display: none;
  width: 566px;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37),
    0 4px 16px 0 rgba(0, 0, 0, 0.1);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.cookie-text {
  margin: 0;
  width: 404px;
  /* font-weight: 500; */
  line-height: 1.1;
  hyphens: auto;
}

/* font-size: 12px;
line-height: 14px; */

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-accept {
  background: linear-gradient(135deg, #d9002b, #d9002b);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(175, 76, 76, 0.4);
}

.btn-accept:active {
  transform: translateY(0);
}

.btn-reject {
  background: linear-gradient(135deg, #f44336, #da190b);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.btn-reject:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.btn-reject:active {
  transform: translateY(0);
}

.cookie-content a {
  color: #d9002b;
  text-decoration: none;
  /* font-weight: 600; */
  position: relative;
  transition: all 0.3s ease;
}

.cookie-content a:hover {
  color: #d9002b;
}

.cookie-content a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d9002b;
  transition: width 0.3s ease;
}

.cookie-content a:hover::after {
  width: 100%;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767px) {
  .cookie-consent {
    width: 95%;
    bottom: 70px;
    padding: 15px;
  }

  .cookie-content {
    gap: 14px;
  }

  .cookie-content a::after {
    display: none;
  }

  .cookie-text {
    width: 100%;
  }

  .cookie-buttons {
    width: 152px;
    justify-content: center;
  }
}
