.cookie-consent,
.cookie-preferences {
  font-family: Arial, sans-serif;
  color: #152238;
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 100000;
  display: none;
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.cookie-consent.is-visible {
  display: flex;
}

.cookie-consent strong,
.cookie-preferences strong {
  font-size: 16px;
}

.cookie-consent p,
.cookie-preferences p,
.cookie-preferences small {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #44546a;
}

.cookie-consent a {
  color: #157ecf;
  font-size: 13px;
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 8px;
}

.cookie-actions button,
.cookie-save {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #157ecf;
  border-radius: 8px;
  background: #fff;
  color: #157ecf;
  font-weight: 700;
  cursor: pointer;
}

.cookie-primary {
  border-color: #157ecf !important;
  background: #157ecf !important;
  color: #fff !important;
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  padding: 20px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
}

.cookie-preferences.is-visible {
  display: flex;
}

.cookie-preferences-card {
  position: relative;
  width: min(100%, 560px);
  padding: 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cookie-preferences-card h2 {
  margin: 0 0 8px;
  color: #152238;
  font-size: 24px;
}

.cookie-preferences-card label {
  display: flex;
  margin-top: 14px;
  padding: 14px 0;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5eaf0;
}

.cookie-preferences-card label span,
.cookie-preferences-card label small {
  display: block;
}

.cookie-preferences-card input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cookie-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #44546a;
  font-size: 28px;
  cursor: pointer;
}

.cookie-save {
  width: 100%;
  margin-top: 18px;
}

.cookie-settings {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 99999;
  padding: 7px 11px;
  border: 1px solid #d8e0ea;
  border-radius: 20px;
  background: #fff;
  color: #44546a;
  font: 700 11px Arial, sans-serif;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}

@media (max-width: 760px) {
  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions,
  .cookie-actions button {
    width: 100%;
  }
}
