.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.98), rgba(29, 41, 62, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color: #f3f7ff;
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

.cookie-consent.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-consent__inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.cookie-consent__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(243, 247, 255, 0.92);
}

.cookie-consent__link {
  display: inline;
  color: #7fd4ff !important;
  -webkit-text-fill-color: #7fd4ff !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  background: transparent !important;
  background-image: none !important;
  background-size: 0 0 !important;
  border: 0;
  box-shadow: none;
  outline: none;
  text-decoration: underline !important;
  text-decoration-color: currentColor !important;
  text-underline-offset: 2px;
}

.cookie-consent__link:hover,
.cookie-consent__link:focus-visible,
.cookie-consent__link:active {
  color: #a9e4ff !important;
  -webkit-text-fill-color: #a9e4ff !important;
  background: transparent !important;
  background-image: none !important;
  background-size: 0 0 !important;
  box-shadow: none;
  outline: none;
}

.cookie-consent__link::before,
.cookie-consent__link::after {
  content: none !important;
  display: none !important;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-consent__btn {
  min-width: 132px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-consent__btn:hover,
.cookie-consent__btn:focus-visible {
  transform: translateY(-1px);
}

.cookie-consent__btn--accept {
  background: #9ad94b;
  color: #101b08;
}

.cookie-consent__btn--accept:hover,
.cookie-consent__btn--accept:focus-visible {
  background: #a8e85a;
}

.cookie-consent__btn--decline {
  background: transparent;
  color: #f3f7ff;
  border-color: rgba(243, 247, 255, 0.5);
}

.cookie-consent__btn--decline:hover,
.cookie-consent__btn--decline:focus-visible {
  border-color: rgba(243, 247, 255, 0.9);
}

@media (max-width: 740px) {
  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px;
  }

  .cookie-consent__inner {
    flex-direction: column;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__btn {
    flex: 1 1 0;
    min-width: 0;
  }
}
