/**
 * Pairove Razorpay — Frontend Styles
 */

/* Razorpay primary button */
.pairove-razorpay-btn {
  background: linear-gradient(135deg, #0F4C81 0%, #1A73E8 100%) !important;
  color: #fff !important;
  border: none !important;
  margin-bottom: 8px !important;
  position: relative;
  font-weight: 700 !important;
}

.pairove-razorpay-btn:hover {
  background: linear-gradient(135deg, #0A3A66 0%, #1565C0 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(15, 76, 129, 0.35) !important;
}

.pairove-razorpay-btn .rzp-flag {
  margin-right: 6px;
  font-size: 16px;
}

.pairove-razorpay-btn .rzp-loading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Stripe button as secondary */
.pairove-stripe-btn-secondary {
  background: transparent !important;
  border: 2px solid #E5E7EB !important;
  color: #4B5563 !important;
  font-size: 13px !important;
  padding: 10px 20px !important;
  font-weight: 500 !important;
}

.pairove-stripe-btn-secondary:hover {
  border-color: #5F259F !important;
  color: #5F259F !important;
  background: rgba(95, 37, 159, 0.04) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* OR divider */
.pairove-payment-divider {
  text-align: center;
  font-size: 11px;
  color: #9CA3AF;
  margin: 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.pairove-payment-divider::before,
.pairove-payment-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: #E5E7EB;
}

.pairove-payment-divider::before { left: 0; }
.pairove-payment-divider::after  { right: 0; }

/* Success modal */
.pairove-razorpay-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  backdrop-filter: blur(8px);
}

.pairove-razorpay-modal-content {
  background: #fff;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: rzpSuccessIn 0.4s ease-out;
}

@keyframes rzpSuccessIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.pairove-rzp-success-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: rzpBounce 0.6s ease-out;
}

@keyframes rzpBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.pairove-razorpay-modal-content h2 {
  color: #5F259F;
  font-size: 28px;
  margin: 0 0 12px;
}

.pairove-razorpay-modal-content p {
  color: #6B7280;
  font-size: 16px;
  margin: 0 0 25px;
}

.pairove-rzp-btn {
  display: inline-block;
  background: linear-gradient(135deg, #5F259F, #8B5CF6);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(95, 37, 159, 0.3);
}

.pairove-rzp-btn:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

/* Standalone shortcode button */
.pairove-razorpay-standalone {
  display: inline-block;
  background: linear-gradient(135deg, #0F4C81, #1A73E8);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.25);
}

.pairove-razorpay-standalone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(15, 76, 129, 0.35);
  color: #fff;
}

/* Trust badges row (India-specific) */
.pairove-rzp-trust {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
  font-size: 12px;
  color: #6B7280;
}

.pairove-rzp-trust span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
