/* Stellarly Cookie Banner (premium + minimal) */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;

  max-width: 980px;
  margin: 0 auto;

  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.12);
  border-radius: 16px;

  padding: 14px 14px;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.cookie-banner__copy {
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 6px 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.cookie-banner__title .sparkle {
  margin-right: 6px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.78);
}

.cookie-banner__text a {
  color: rgba(15, 23, 42, 0.92);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cookie-btn {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  color: #0f172a;
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  box-shadow: 0 10px 18px rgba(2, 6, 23, 0.10);
  transform: translateY(-1px);
}

.cookie-btn:active {
  transform: translateY(0px);
  box-shadow: none;
}

.cookie-btn--primary {
  background: #0f172a;
  color: #ffffff;
  border-color: rgba(15, 23, 42, 0.9);
}

.cookie-btn--primary:hover {
  background: #111c33;
}

.cookie-btn--ghost {
  background: transparent;
}

.cookie-banner__manage {
  display: none; /* shown when user already chose */
  margin-top: 10px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.66);
}

.cookie-banner__manage a {
  color: rgba(15, 23, 42, 0.92);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile stacking */
@media (max-width: 560px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}
