.sondhan-consent-banner,
.sondhan-consent-dialog {
  position: fixed;
  z-index: 2147483000;
  color: #10201d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sondhan-consent-banner {
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(11, 93, 79, 0.22);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 64px rgba(16, 32, 29, 0.22);
}

.sondhan-consent-banner[hidden],
.sondhan-consent-dialog[hidden] {
  display: none !important;
}

.sondhan-consent-copy {
  display: grid;
  gap: 6px;
}

.sondhan-consent-copy strong {
  font-size: 1.05rem;
}

.sondhan-consent-copy p {
  margin: 0;
  color: #52625d;
  font-size: 0.92rem;
  line-height: 1.5;
}

.sondhan-consent-copy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #0b5d4f;
  font-weight: 800;
}

.sondhan-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.sondhan-consent-button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #0b5d4f;
  border-radius: 999px;
  background: #fff;
  color: #0b5d4f;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.sondhan-consent-button.is-primary {
  background: #0b5d4f;
  color: #fff;
}

.sondhan-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147482999;
  background: rgba(5, 24, 21, 0.62);
}

.sondhan-consent-dialog {
  top: 50%;
  left: 50%;
  width: min(560px, calc(100% - 28px));
  max-height: min(720px, calc(100dvh - 28px));
  padding: 22px;
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(11, 93, 79, 0.22);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(5, 24, 21, 0.34);
}

.sondhan-consent-dialog h2 {
  margin: 0 0 8px;
}

.sondhan-consent-dialog > p {
  margin: 0 0 18px;
  color: #52625d;
}

.sondhan-consent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #d9e1dc;
}

.sondhan-consent-option p {
  margin: 3px 0 0;
  color: #52625d;
  font-size: 0.88rem;
}

.sondhan-consent-option input {
  width: 22px;
  height: 22px;
  accent-color: #0b5d4f;
}

.sondhan-consent-reopen {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 2147482998;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(11, 93, 79, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0b5d4f;
  box-shadow: 0 8px 24px rgba(16, 32, 29, 0.14);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 768px) {
  .sondhan-consent-reopen {
    right: auto;
    left: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 760px) {
  .sondhan-consent-banner {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .sondhan-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sondhan-consent-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sondhan-consent-banner,
  .sondhan-consent-dialog {
    scroll-behavior: auto;
  }
}
