/* Consent banner injected by js/aidin-consent-banner.js. */

.aidin-consent {
  position: fixed;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  z-index: 1200;
  width: min(100% - 2rem, 34rem);
  margin-inline: auto;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(0, 229, 200, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    #0a1017;
  color: #edf5f6;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  font: 400 0.875rem/1.65 "Inter", "Segoe UI", Arial, sans-serif;
}

html[lang="fa-IR"] .aidin-consent {
  font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.8;
}

.aidin-consent__text {
  margin: 0 0 0.9rem;
  color: #a2b6bd;
}

.aidin-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.aidin-consent__button {
  flex: 1 1 10rem;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(155, 190, 200, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #edf5f6;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.aidin-consent__button:hover {
  border-color: rgba(0, 229, 200, 0.55);
  color: #7bffe9;
}

.aidin-consent__button[data-consent-action="grant"] {
  border-color: transparent;
  background: linear-gradient(135deg, #7bffe9, #00e5c8 45%, #00c8b0);
  color: #032420;
}

.aidin-consent__button[data-consent-action="grant"]:hover {
  color: #032420;
  filter: brightness(1.04);
}

.aidin-consent__button:focus-visible {
  outline: 2px solid #00e5c8;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .aidin-consent {
    inset-inline: 0;
    inset-block-end: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
  }
}
