.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: none;
  justify-content: center;
  pointer-events: none;
}

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

.cookie-consent__panel {
  width: min(100%, 920px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  color: #0f172a;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: auto;
}

.cookie-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
}

.cookie-consent__text strong {
  display: block;
  margin-bottom: 2px;
  color: #0f172a;
  font-size: 15px;
}

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

.cookie-consent__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.cookie-consent__link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.cookie-consent__button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: #2563eb;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__button:hover {
  background: #1d4ed8;
}

.cookie-consent__button:focus-visible,
.cookie-consent__link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-consent__panel {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

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

  .cookie-consent__button,
  .cookie-consent__link {
    flex: 1;
  }
}
