/* Cookie consent — АТРИМУТ */
.cookie-consent {
  position: fixed;
  z-index: 10000;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(620px, calc(100vw - 48px));
  padding: 18px 20px;
  border: 1px solid rgba(74, 163, 255, .34);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(12, 22, 43, .97), rgba(7, 13, 27, .98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .46), 0 0 34px rgba(74, 163, 255, .12);
  color: #f7fbff;
  font-family: Inter, Arial, sans-serif;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-consent__text {
  min-width: 0;
  flex: 1;
}

.cookie-consent__text strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.25;
}

.cookie-consent__text p {
  margin: 0;
  color: rgba(225, 237, 250, .78);
  font-size: 13px;
  line-height: 1.45;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-consent__link {
  color: #a9d8ff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__link:hover,
.cookie-consent__link:focus-visible {
  color: #fff;
}

.cookie-consent__accept {
  padding: 11px 17px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2d8af0, #1d5fbd);
  box-shadow: 0 5px 16px rgba(30, 105, 210, .34);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  transition: filter .2s ease, transform .2s ease;
}

.cookie-consent__accept:hover,
.cookie-consent__accept:focus-visible {
  filter: brightness(1.12);
  transform: translateY(-1px);
  outline: 2px solid rgba(174, 220, 255, .8);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .cookie-consent__actions {
    justify-content: space-between;
  }

  .cookie-consent__accept {
    min-width: 118px;
  }
}
