/* Same as v1.0 with minor tweaks */
#wadp-root, #wadp-root-manual {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}
#wadp-root.wadp-visible, #wadp-root-manual.wadp-visible { display: flex; }

.wadp-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }

.wadp-modal {
  position: relative;
  max-width: 520px;
  width: 92%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  padding: 20px 20px 16px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  animation: wadp-pop 160ms ease-out;
}

@keyframes wadp-pop {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.wadp-title { font-size: 20px; font-weight: 600; margin: 0 0 8px 0; }
.wadp-message { font-size: 14px; margin: 0 0 14px 0; }

.wadp-actions {
  display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 12px; flex-wrap: wrap;
}
.wadp-btn { border: 0; cursor: pointer; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.wadp-primary { background: #16a34a; color: #fff; }
.wadp-secondary { background: #efefef; color: #111; }
.wadp-consent { font-size: 11px; color: #6b7280; margin-top: 8px; }

.wadp-pos-bottom-right .wadp-modal, .wadp-pos-bottom-left .wadp-modal { position: fixed; bottom: 20px; }
.wadp-pos-bottom-right .wadp-modal { right: 20px; }
.wadp-pos-bottom-left .wadp-modal  { left: 20px; }
.wadp-hidden { display: none; }
