.cookieNotice {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(780px, calc(100% - 24px));
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid #e2e7ef;
  border-radius: 14px;
  box-shadow:
    0 16px 40px -8px rgba(15, 23, 42, 0.18),
    0 4px 12px -2px rgba(15, 23, 42, 0.06);
  padding: 14px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #1a202c;
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  animation: cookieNoticeSlideUp 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cookieNoticeSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookieNotice--hiding {
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.cookieNoticeText {
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
  user-select: text;
}

.cookieNoticeLink {
  color: #005c97;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.cookieNoticeLink:hover {
  color: #363795;
}

.cookieNoticeAccept {
  flex-shrink: 0;
  border: none;
  border-radius: 9px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #005c97 0%, #363795 100%);
  box-shadow: 0 6px 16px -4px rgba(0, 92, 151, 0.36);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cookieNoticeAccept:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.cookieNoticeAccept:active {
  transform: scale(0.98);
}

.cookieNoticeAccept:focus-visible,
.cookieNoticeLink:focus-visible {
  outline: 2px solid #005c97;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .cookieNotice {
    bottom: 12px;
    width: calc(100% - 20px);
    padding: 13px 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }

  .cookieNoticeText,
  .cookieNoticeLink {
    font-size: 13px;
  }

  .cookieNoticeAccept {
    width: 100%;
    padding: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookieNotice,
  .cookieNotice--hiding,
  .cookieNoticeAccept {
    animation: none !important;
    transition: none !important;
  }
}
