.CookieConsent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 12000;
  width: min(420px, calc(100vw - 32px));
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #d6dde6;
  box-shadow: 0 22px 48px rgba(16, 37, 56, 0.18);
}

.CookieConsentContent {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.CookieConsentTitle {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: #0f2f3a;
}

.CookieConsentText {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #224b58;
}

.CookieConsentLink {
  color: #0f6f8c;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 14px;
  line-height: 1.4;
  width: fit-content;
}

.CookieConsentActions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.CookieConsentButton {
  border: 1px solid transparent;
  border-radius: 10px;
  min-height: 38px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.CookieConsentButtonPrimary {
  background: #0f6f8c;
  color: #ffffff;
}

.CookieConsentButtonPrimary:hover,
.CookieConsentButtonPrimary:focus-visible {
  background: #0b5a72;
}

.CookieConsentButtonSecondary {
  background: #f3f7fa;
  color: #1f4653;
  border-color: #ccd7e0;
}

.CookieConsentButtonSecondary:hover,
.CookieConsentButtonSecondary:focus-visible {
  background: #e7eef4;
}

@media (max-width: 767px) {
  .CookieConsent {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    border-radius: 14px;
  }

  .CookieConsentActions {
    justify-content: stretch;
  }

  .CookieConsentButton {
    flex: 1 1 140px;
  }
}
