.cookie-consent {
  position: fixed;
  inset: auto 18px 18px;
  z-index: 1000;
  color: #ffffff;
  font-family: inherit;
}

.cookie-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #092a3d;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.cookie-consent__text {
  max-width: 780px;
}

.cookie-consent__text strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.cookie-consent__text p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-consent__actions .btn {
  min-height: 44px;
  border: 0;
  cursor: pointer;
}

.cookie-consent__secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.cookie-consent__secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cookie-settings-button {
  position: fixed;
  right: 16px;
  bottom: 12px;
  z-index: 900;
  padding: 7px 10px;
  border: 1px solid rgba(9, 42, 61, 0.2);
  border-radius: 8px;
  color: #315264;
  font: inherit;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.cookie-consent + .cookie-settings-button {
  display: none;
}

body.cookie-consent-open .cookie-settings-button {
  display: none;
}

@media (max-width: 760px) {
  .cookie-consent {
    inset: auto 10px 10px;
  }

  .cookie-consent__content {
    display: grid;
    gap: 16px;
    padding: 18px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions .btn {
    width: 100%;
  }
}
