.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2200;
  width: min(480px, calc(100vw - 2rem));
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: #0b1f3a;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(1, 34, 77, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(1, 34, 77, 0.18);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cookie-consent--main {
  right: 1.25rem;
  bottom: 5.25rem;
}

.cookie-consent__text {
  display: grid;
  gap: 0.25rem;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-consent__text span {
  color: #43546a;
}

.cookie-consent__link {
  width: fit-content;
  color: #01224d;
  font-weight: 700;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.cookie-consent__actions button,
.cookie-consent__actions .btn {
  min-height: 40px;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #01224d;
  cursor: pointer;
  font-weight: 800;
}

.cookie-consent__actions button[data-cookie-consent="denied"],
.cookie-consent__actions .btn-outline {
  color: #01224d;
  background: #fff;
}

.cookie-consent__actions button[data-cookie-consent="granted"],
.cookie-consent__actions .btn-primary {
  color: #fff;
  background: #01224d;
}

@media (max-width: 640px) {
  .cookie-consent,
  .cookie-consent--main {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__actions button,
  .cookie-consent__actions .btn {
    flex: 1;
  }
}
