/* ================================
   PAYMENT PAGE — FULL STYLES
   ================================ */

/* ── Hero ── */
.pay-hero {
  min-height: 42vh;
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 55%, #4C1D95 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 60px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pay-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(167, 139, 250, 0.15) 0%, transparent 60%);
}

.pay-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.pay-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #A5F3FC;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pay-hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
}

.pay-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #C8960C, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pay-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.pay-hero-methods {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.pay-hero-methods span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── All Payments wrapper ── */
.all-payments {
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Payment Block ── */
.pay-block {
  background: #fff;
  border-radius: 24px;
  border: 1.5px solid rgba(108, 99, 255, 0.12);
  box-shadow: 0 6px 30px rgba(108, 99, 255, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.pay-block:hover {
  box-shadow: 0 12px 45px rgba(108, 99, 255, 0.15);
}

.pay-block-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #F5F3FF, #EFF6FF);
  border-bottom: 1.5px solid rgba(108, 99, 255, 0.1);
}

.pay-block-num {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(108, 99, 255, 0.35);
}

.pay-block-title h2 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-block-title h2 i {
  color: var(--primary);
  font-size: 18px;
}

.pay-block-title p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

.pay-block-body {
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .pay-block-body {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .all-payments {
    padding: 40px 16px;
  }

  .pay-block-header {
    padding: 18px 20px;
  }

  .pay-block-body {
    padding: 22px 20px;
  }
}

/* ── OR Divider ── */
.pay-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
}

.pay-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(108, 99, 255, 0.15);
}

.pay-divider span {
  background: #f8f8ff;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(108, 99, 255, 0.15);
  letter-spacing: 1px;
}

/* ── QR Section ── */
.qr-col {
  text-align: center;
}

.qr-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(108, 99, 255, 0.2);
  position: relative;
  background: #F5F3FF;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qr-caption {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.qr-caption i {
  color: var(--primary);
  margin-right: 4px;
}

.upi-app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* New UPI app buttons */
.upi-app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid #E5E7EB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.upi-app-btn:hover,
.upi-app-btn:active {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.upi-app-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.upi-app-btn span {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* App card grid */
.upi-app-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upi-app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  border: 1.5px solid rgba(108, 99, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.upi-app-card:hover,
.upi-app-card:active {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.15);
  border-color: rgba(108, 99, 255, 0.3);
}

.uac-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #fff;
  padding: 6px;
}

.uac-icon-lg {
  width: 68px;
  height: 68px;
  padding: 10px;
  border-radius: 18px;
}

.uac-icon-xl {
  width: 84px;
  height: 84px;
  padding: 12px;
  border-radius: 22px;
}

.uac-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zoom-logo {
  transform: scale(1.35);
}

.uac-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.uac-name {
  font-size: 15px;
  font-weight: 700;
  color: #1E1B4B;
}

.uac-sub {
  font-size: 12px;
  color: #6B7280;
}

.uac-arrow {
  color: #9CA3AF;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.upi-app-card:hover .uac-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

/* ── UPI Col ── */
.upi-col {}

.upi-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.upi-id-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F5F3FF;
  border: 2px solid rgba(108, 99, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.upi-id-link:hover .upi-id-row {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.upi-id-row:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.upi-id-text {
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  word-break: break-all;
}

.copy-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.copy-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

/* ── Steps ── */
.pay-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.pay-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.ps-num {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ── Alert boxes ── */
.pay-alert {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
  margin-top: 16px;
}

.pay-alert i {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pay-alert.orange {
  background: #FFF7ED;
  border: 1.5px solid #FED7AA;
  color: #92400E;
}

.pay-alert.orange i {
  color: #F59E0B;
}

.pay-alert.green {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  color: #14532D;
}

.pay-alert.green i {
  color: #16A34A;
}

/* ── Razorpay Block ── */
.razorpay-body {
  grid-template-columns: 160px 1fr;
}

.rp-left {
  text-align: center;
}

.rp-icon-big {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #6C63FF, #A78BFA);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.35);
}

.rp-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.rp-chips span {
  background: #F5F3FF;
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.rp-chips span i {
  color: #16A34A;
  font-size: 12px;
}

.rp-right {}

.rp-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.rp-pay-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6C63FF, #A78BFA);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.35);
  transition: all 0.35s ease;
  margin-bottom: 14px;
  display: flex;
  width: fit-content;
}

.rp-pay-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 36px rgba(108, 99, 255, 0.5);
}

.rp-link-text {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rp-link-text a {
  color: var(--primary);
  font-weight: 600;
}

.rp-link-text a:hover {
  text-decoration: underline;
}

/* ── Bank Block ── */
.bank-body {
  grid-template-columns: 1fr;
}

.bank-info-card {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.bank-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.bank-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0EA5E9, #0284C7);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.bank-logo-row h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 4px;
}

.bank-badge {
  background: #ECFDF5;
  color: #059669;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.bank-details-grid {
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}

.bd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.2s ease;
  gap: 16px;
}

.bd-row:last-child {
  border-bottom: none;
}

.bd-row.copyable {
  cursor: pointer;
}

.bd-row.copyable:hover {
  background: #F5F3FF;
}

.bd-label {
  color: var(--text-light);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bd-label i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.bd-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.copy-btn-sm {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #EDE9FE;
  color: var(--primary);
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.copy-btn-sm:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .all-payments {
    padding: 50px 24px;
  }

  .pay-block-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .razorpay-body {
    grid-template-columns: 1fr;
  }

  .rp-left {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  .rp-icon-big {
    width: 72px;
    height: 72px;
    font-size: 32px;
    flex-shrink: 0;
    margin: 0;
  }

  .rp-chips {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .qr-col {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
  }

  .qr-frame {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
  }

  .upi-app-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {

  /* Hero */
  .pay-hero {
    padding: 88px 18px 44px;
  }

  .pay-hero h1 {
    font-size: 26px;
  }

  .pay-hero p {
    font-size: 14px;
  }

  .pay-hero-methods {
    gap: 8px;
  }

  .pay-hero-methods span {
    font-size: 12px;
    padding: 6px 14px;
  }

  /* All payments container */
  .all-payments {
    padding: 28px 14px;
    gap: 0;
  }

  /* Block header */
  .pay-block {
    border-radius: 18px;
  }

  .pay-block-header {
    padding: 16px 18px;
    gap: 12px;
  }

  .pay-block-num {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .pay-block-title h2 {
    font-size: 16px;
  }

  .pay-block-title p {
    font-size: 13px;
  }

  /* Block body */
  .pay-block-body {
    padding: 20px 18px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* QR — centered on mobile */
  .qr-col {
    flex-direction: column;
    align-items: center;
    text-align: center;
    display: flex;
  }

  .qr-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .upi-app-chips {
    justify-content: center;
  }

  /* UPI ID row */
  .upi-id-row {
    padding: 10px 14px;
  }

  .upi-id-text {
    font-size: 15px;
  }

  .copy-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  /* Steps */
  .pay-step {
    font-size: 13px;
  }

  .ps-num {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  /* Alert */
  .pay-alert {
    font-size: 13px;
    padding: 12px 14px;
  }

  /* OR divider */
  .pay-divider {
    margin: 14px 0;
  }

  /* Razorpay */
  .razorpay-body {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rp-left {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .rp-icon-big {
    width: 60px;
    height: 60px;
    font-size: 26px;
    flex-shrink: 0;
    margin: 0;
    border-radius: 16px;
  }

  .rp-chips {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .rp-chips span {
    font-size: 12px;
    padding: 4px 12px;
  }

  .rp-desc {
    font-size: 14px;
  }

  .rp-pay-btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 16px 20px;
    border-radius: 50px;
  }

  .rp-link-text {
    font-size: 12px;
  }

  /* Bank */
  .bank-logo-row {
    gap: 12px;
  }

  .bank-icon {
    width: 46px;
    height: 46px;
    font-size: 20px;
    border-radius: 12px;
  }

  .bank-logo-row h3 {
    font-size: 16px;
  }

  .bd-row {
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .bd-label {
    font-size: 13px;
  }

  .bd-val {
    font-size: 14px;
  }

  .copy-btn-sm {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  /* Security section */
  section[style*="light-bg"] {
    padding: 44px 18px !important;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .feature-card {
    padding: 18px 12px;
  }
}

@media (max-width: 380px) {
  .qr-frame {
    width: 170px;
    height: 170px;
  }

  .upi-id-text {
    font-size: 13px;
  }

  .pay-block-body {
    padding: 16px 14px;
  }

  .rp-pay-btn {
    font-size: 15px;
    padding: 14px 18px;
  }
}