#promte-consent-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2147483000;
  font-family: "Segoe UI", "Prompt", system-ui, -apple-system, sans-serif;
}

#promte-consent-settings-button {
  position: fixed;
  left: 16px;
  bottom: 16px;
  border: 0;
  border-radius: 999px;
  padding: 10px 15px;
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
  cursor: pointer;
  pointer-events: auto;
  display: none;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

#promte-consent-settings-button.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#promte-consent-banner {
  position: fixed;
  right: 16px;
  left: auto;
  bottom: 16px;
  max-width: calc(100vw - 32px);
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.2);
  padding: 13px 18px;
  display: none;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

#promte-consent-banner.is-visible {
  display: flex;
  animation: promte-consent-fade-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.promte-consent-inline-text {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #111827;
  text-transform: none !important;
}

.promte-consent-link {
  border: none;
  background: transparent;
  color: #111827;
  text-decoration: underline;
  font-size: 14px;
  padding: 0;
  cursor: pointer;
}

.promte-consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 0;
  align-items: center;
}

.promte-consent-actions button,
#promte-consent-modal button {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 9px 12px;
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), color 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.promte-consent-actions button:hover,
#promte-consent-modal button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(17, 24, 39, 0.16);
}

.promte-consent-actions button:focus-visible,
#promte-consent-modal button:focus-visible,
#promte-consent-settings-button:focus-visible,
.promte-consent-link:focus-visible {
  outline: 2px solid rgba(0, 96, 255, 0.35);
  outline-offset: 2px;
}

.promte-consent-actions .promte-consent-primary,
#promte-consent-modal .promte-consent-primary {
  background: linear-gradient(180deg, #111827 0%, #0b1322 100%);
  border-color: #111827;
  color: #ffffff;
}

.promte-consent-dark {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #ffffff !important;
}

#promte-consent-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  pointer-events: auto;
  padding: 16px;
}

#promte-consent-modal.is-visible {
  display: flex;
}

.promte-consent-modal-card {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 18px;
  background: #ffffff;
  color: #111827;
  padding: 16px;
  box-shadow: 0 22px 58px rgba(17, 24, 39, 0.3);
}

.promte-consent-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.promte-consent-modal-header h2 {
  margin: 0;
  font-size: 20px;
}

#promte-consent-close {
  min-width: 40px;
}

.promte-consent-options {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.promte-consent-option {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "checkbox title"
    "checkbox description";
  column-gap: 10px;
  row-gap: 2px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.promte-consent-option:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.08);
}

.promte-consent-option input {
  grid-area: checkbox;
  margin-top: 3px;
}

.promte-consent-option-title {
  grid-area: title;
  font-weight: 700;
  font-size: 14px;
}

.promte-consent-option-description {
  grid-area: description;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.45;
}

.promte-consent-modal-footer {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

iframe[data-consent-blocked="1"] {
  background: #f3f4f6;
}

.promte-consent-embed {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.promte-consent-embed iframe {
  display: block;
  max-width: 100%;
}

.promte-consent-embed-overlay {
  position: absolute;
  inset: 0;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.98) 100%);
  color: #111827;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.promte-consent-embed-overlay:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.14);
}

.promte-consent-embed-overlay:focus-visible {
  outline: 2px solid rgba(0, 96, 255, 0.35);
  outline-offset: 2px;
}

.promte-consent-embed-message {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 34ch;
}

.promte-consent-embed-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

@keyframes promte-consent-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  #promte-consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .promte-consent-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }

  .promte-consent-inline-text {
    width: 100%;
    white-space: normal;
  }

  .promte-consent-actions button,
  #promte-consent-modal button {
    width: auto;
  }

  #promte-consent-settings-button {
    left: 10px;
    bottom: 10px;
  }
}
