/* Fondo oscuro con desenfoque suave */
.dr-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dr-backdrop.dr-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Tarjeta del Modal */
.dr-modal {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 16px;
  max-width: 400px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: center;
  transform: translateY(12px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dr-backdrop.dr-visible .dr-modal {
  transform: translateY(0) scale(1);
}

.dr-modal h3 {
  margin: 0 0 10px 0;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.dr-modal p {
  color: #475569;
  font-size: 0.925rem;
  line-height: 1.55;
  margin: 0 0 22px 0;
}

/* Grupo de botones */
.dr-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dr-btn {
  border: 1px solid transparent;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  width: 100%;
}

.dr-btn:active {
  transform: scale(0.98);
}

/* Opción 1: Ir a donar ahora */
.dr-btn-primary {
  background-color: #2563eb;
  color: #ffffff;
}

.dr-btn-primary:hover {
  background-color: #1d4ed8;
}

/* Opción 2: Donar después */
.dr-btn-secondary {
  background-color: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}

.dr-btn-secondary:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* Opción 3: Ya doné */
.dr-btn-tertiary {
  background-color: transparent;
  color: #64748b;
}

.dr-btn-tertiary:hover {
  color: #0f172a;
  background-color: #f8fafc;
}