/* ═══ ALMA IA · PREMIUM VALIDATE STYLES ═══ */
/* 100% aislado — prefijo .pv- — no sobrescribe CSS existente */

/* ── Modal de confirmación "Ya pagué" ── */
.pv-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5, 5, 16, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.pv-modal.open {
  opacity: 1;
  pointer-events: all;
}

.pv-modal-box {
  width: 90%;
  max-width: 380px;
  background: linear-gradient(160deg, #0e0628 0%, #050514 100%);
  border: 1px solid rgba(100, 220, 130, 0.25);
  border-radius: 24px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow:
    0 0 50px rgba(100, 220, 130, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.35s cubic-bezier(0.34, 1.1, 0.64, 1);
  position: relative;
}
.pv-modal.open .pv-modal-box {
  transform: scale(1) translateY(0);
}

.pv-modal-icon {
  font-size: 40px;
  margin-bottom: 14px;
}
.pv-modal-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: #4ade80;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.pv-modal-text {
  font-size: 13px;
  line-height: 1.8;
  color: #c8c0e0;
  margin-bottom: 20px;
}
.pv-modal-text strong {
  color: #4ade80;
}

/* Input */
.pv-input-wrap {
  margin-bottom: 20px;
}
.pv-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(100, 220, 130, 0.3);
  border-radius: 50px;
  color: #fff;
  font-size: 15px;
  font-family: 'Montserrat', monospace;
  letter-spacing: 3px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pv-input:focus {
  border-color: #4ade80;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}
.pv-input-hint {
  font-size: 10px;
  color: #6b7280;
  margin-top: 7px;
  letter-spacing: 1px;
}

/* Botones del modal */
.pv-modal-actions {
  display: flex;
  gap: 10px;
}
.pv-btn-cancel {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(150, 80, 255, 0.2);
  border-radius: 50px;
  color: #888;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}
.pv-btn-cancel:hover {
  color: #fff;
  border-color: rgba(150, 80, 255, 0.5);
}
.pv-btn-confirm {
  flex: 2;
  padding: 13px;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pv-btn-confirm:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(74, 222, 128, 0.45);
}
.pv-btn-confirm:active {
  transform: scale(0.97);
}

/* Error */
.pv-error {
  margin-top: 12px;
  font-size: 12px;
  color: #f87171;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
}

/* ── Botón "Ya pagué" dentro del overlay premium ── */
.pv-btn-yapague {
  display: block;
  width: 100%;
  padding: 11px;
  margin-top: 10px;
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 50px;
  color: rgba(74, 222, 128, 0.85);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
}
.pv-btn-yapague:hover {
  color: #4ade80;
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

/* ── Botón flotante persistente (esquina inferior izquierda) ── */
.pv-float-btn {
  position: fixed;
  bottom: 24px;
  left: 16px;
  z-index: 7000;
  padding: 9px 18px;
  background: rgba(10, 12, 24, 0.85);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 50px;
  color: rgba(74, 222, 128, 0.75);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1.5px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s;
  text-transform: uppercase;
  opacity: 0.7;
}
.pv-float-btn:hover {
  opacity: 1;
  color: #4ade80;
  border-color: #4ade80;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.2);
}

/* ── Toast de notificación ── */
.pv-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 9500;
  padding: 13px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.1, 0.64, 1);
  pointer-events: none;
  white-space: nowrap;
}
.pv-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.pv-toast-success {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.95), rgba(74, 222, 128, 0.9));
  color: #fff;
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.35);
}
.pv-toast-info {
  background: rgba(88, 28, 135, 0.9);
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
