/* Page styles: pay-online */
/* ── PAYMENT LAYOUT ── */
.pay-layout { display:grid; grid-template-columns:1fr 380px; gap:36px; align-items:start; }

/* ── METHOD TABS ── */
.pay-methods { display:flex; gap:0; border-bottom:2px solid #eee; margin-bottom:30px; flex-wrap:wrap; }
.pay-method-btn { padding:13px 28px; font-size:14px; font-weight:700; color:#666; cursor:pointer; border:none; background:none; border-bottom:3px solid transparent; margin-bottom:-2px; font-family:inherit; transition:color .2s; display:flex; align-items:center; gap:8px; }
.pay-method-btn i { font-size:18px; }
.pay-method-btn.active { color:#5c1414; border-bottom-color:#f5a623; }
.pay-pane { display:none; }
.pay-pane.active { display:block; }

/* ── QR PANEL ── */
.qr-panel { text-align:center; }
.qr-box { background:#fff; border:3px solid #f5a623; border-radius:20px; padding:32px; display:inline-block; box-shadow:0 8px 32px rgba(245,166,35,.18); position:relative; }
.qr-box img { width:220px; height:220px; object-fit:contain; display:block; margin:0 auto 18px; border-radius:12px; }
.qr-label { font-size:15px; font-weight:700; color:#5c1414; margin-bottom:4px; }
.qr-upi-id { font-size:14px; color:#f5a623; font-weight:700; background:#fff8e1; padding:8px 18px; border-radius:8px; display:inline-block; margin-bottom:14px; letter-spacing:.5px; }
.qr-apps { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:10px; }
.qr-app { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:11px; font-weight:600; color:#555; }
.qr-app-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; }
.qr-app-icon.gpay   { background:#fff; border:2px solid #eee; color:#4285f4; }
.qr-app-icon.phonepe{ background:#5f259f; color:#fff; }
.qr-app-icon.paytm  { background:#00baf2; color:#fff; }
.qr-app-icon.bhim   { background:#0f5093; color:#fff; }
.qr-steps { text-align:left; margin-top:28px; }
.qr-steps h4 { font-size:15px; font-weight:700; color:#5c1414; margin-bottom:14px; }
.qr-step { display:flex; gap:14px; margin-bottom:14px; align-items:flex-start; }
.step-circle { width:32px; height:32px; background:#5c1414; border-radius:50%; color:#f5a623; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.step-text h5 { font-size:13px; font-weight:700; color:#5c1414; margin-bottom:2px; }
.step-text p  { font-size:12px; color:#777; line-height:1.5; }

/* ── UPI PANEL ── */
.upi-box { background:#fff; border-radius:16px; padding:28px; box-shadow:0 4px 18px rgba(0,0,0,.08); margin-bottom:22px; }
.upi-box h4 { font-size:16px; font-weight:700; color:#5c1414; margin-bottom:6px; }
.upi-box p  { font-size:13px; color:#777; margin-bottom:16px; }
.upi-id-display { display:flex; align-items:center; gap:12px; background:#fdf7f7; border:2px solid #f8e8e8; border-radius:10px; padding:14px 18px; }
.upi-id-display span { font-size:15px; font-weight:700; color:#5c1414; flex:1; letter-spacing:.5px; }
.btn-copy { background:#5c1414; color:#fff; border:none; padding:8px 16px; border-radius:7px; font-size:12px; font-weight:700; cursor:pointer; transition:.2s; font-family:inherit; display:flex; align-items:center; gap:5px; }
.btn-copy:hover { background:#f5a623; }
.btn-copy.copied { background:#2ecc71; }
.upi-apps-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.upi-app-btn { display:flex; align-items:center; gap:8px; padding:9px 16px; border-radius:9px; font-size:13px; font-weight:600; cursor:pointer; border:2px solid transparent; transition:.2s; }
.upi-app-btn.gpay    { background:#f8f8ff; border-color:#ddd; color:#333; }
.upi-app-btn.phonepe { background:#f3e8ff; border-color:#c084fc; color:#5f259f; }
.upi-app-btn.paytm   { background:#e0f7fa; border-color:#00baf2; color:#0077a8; }
.upi-app-btn.bhim    { background:#e8f0fe; border-color:#3b6fcf; color:#0f5093; }
.upi-app-btn:hover   { transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,.1); }
.upi-app-icon { font-size:20px; }

/* ── BANK PANEL ── */
.bank-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 4px 18px rgba(0,0,0,.08); margin-bottom:22px; }
.bank-card-header { background:linear-gradient(135deg,#5c1414,#6e1c1c); padding:20px 24px; display:flex; align-items:center; gap:14px; }
.bank-logo { width:52px; height:52px; background:#fff; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:22px; }
.bank-logo.sbi   { color:#22408e; }
.bank-logo.hdfc  { color:#004c8f; }
.bank-card-header h3 { color:#fff; font-size:17px; font-weight:700; margin-bottom:2px; }
.bank-card-header p  { color:rgba(255,255,255,.65); font-size:12px; }
.bank-details { padding:20px 24px; }
.bank-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid #f0f0f0; }
.bank-row:last-child { border-bottom:none; }
.bank-row .label { font-size:12px; font-weight:600; color:#888; text-transform:uppercase; letter-spacing:.5px; }
.bank-row .value { font-size:14px; font-weight:700; color:#5c1414; display:flex; align-items:center; gap:8px; }
.btn-copy-sm { background:none; border:1px solid #ddd; color:#888; width:28px; height:28px; border-radius:6px; cursor:pointer; font-size:11px; display:flex; align-items:center; justify-content:center; transition:.2s; }
.btn-copy-sm:hover { background:#f5a623; color:#fff; border-color:#f5a623; }
.btn-copy-sm.copied { background:#2ecc71; color:#fff; border-color:#2ecc71; }

/* ── SIDEBAR ── */
.pay-sidebar-card { background:#fff; border-radius:16px; box-shadow:0 4px 18px rgba(0,0,0,.09); overflow:hidden; margin-bottom:22px; }
.psc-head { background:#5c1414; padding:16px 20px; color:#fff; font-size:14px; font-weight:700; }
.psc-head span { color:#f5a623; }
.psc-body { padding:20px; }
.pay-amount-form .fg { margin-bottom:14px; }
.pay-amount-form label { font-size:12px; font-weight:700; color:#333; display:block; margin-bottom:5px; }
.pay-amount-form input,
.pay-amount-form select,
.pay-amount-form textarea { width:100%; padding:11px 13px; border:1.5px solid #e5e5e5; border-radius:9px; font-size:13px; font-family:inherit; outline:none; transition:.2s; }
.pay-amount-form input:focus,
.pay-amount-form select:focus { border-color:#5c1414; }
.pay-amount-form textarea { resize:vertical; min-height:70px; }
.amount-display { background:#fdf7f7; border-radius:10px; padding:14px; text-align:center; margin-bottom:16px; }
.amount-display .adlabel { font-size:12px; color:#aaa; }
.amount-display .adval   { font-size:26px; font-weight:800; color:#5c1414; }
.btn-proceed { width:100%; background:#f5a623; color:#fff; border:none; padding:14px; border-radius:10px; font-size:15px; font-weight:700; cursor:pointer; font-family:inherit; transition:.2s; display:flex; align-items:center; justify-content:center; gap:8px; }
.btn-proceed:hover { background:#d4891a; }

/* ── INFO BOXES ── */
.info-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:44px; }
.info-strip-card { background:#fff; border-radius:12px; padding:20px 14px; text-align:center; box-shadow:0 2px 12px rgba(0,0,0,.07); }
.info-strip-card .ic { font-size:26px; color:#f5a623; margin-bottom:8px; }
.info-strip-card h4 { font-size:13px; font-weight:700; color:#5c1414; margin-bottom:3px; }
.info-strip-card p  { font-size:11px; color:#888; line-height:1.5; }

/* ── SCREENSHOT UPLOAD ── */
.upload-zone {
  position: relative;
  border: 2px dashed #f2dada;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  background: #fdf7f7;
  cursor: pointer;
  transition: border-color .25s, background .25s;
  margin-bottom: 0;
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: #f5a623;
  background: #fff8ee;
}
.upload-zone.has-file {
  border-color: #2ecc71;
  background: #f0fdf4;
}
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}
.upload-icon {
  font-size: 28px;
  color: #eccece;
  margin-bottom: 8px;
  transition: color .25s;
}
.upload-zone:hover .upload-icon,
.upload-zone.drag-over .upload-icon { color: #f5a623; }
.upload-zone.has-file .upload-icon  { color: #2ecc71; }
.upload-zone .upload-title {
  font-size: 13px;
  font-weight: 700;
  color: #5c1414;
  margin-bottom: 3px;
}
.upload-zone .upload-sub {
  font-size: 11px;
  color: #aaa;
  line-height: 1.5;
}
.upload-preview {
  display: none;
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.upload-preview.show { display: block; }
.upload-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  background: #f0f0f0;
  border-radius: 10px;
  display: block;
}
.upload-preview-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #e8f8f0;
  border-radius: 0 0 10px 10px;
  font-size: 12px;
  color: #2e7d32;
  font-weight: 600;
}
.upload-preview-info i { font-size: 14px; }
.upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  background: rgba(0,0,0,.55);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.upload-remove:hover { background: #e74c3c; }
/* non-image file (PDF etc) preview card */
.upload-file-card {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #e8f8f0;
  border-radius: 10px;
  margin-top: 10px;
  position: relative;
}
.upload-file-card.show { display: flex; }
.ufc-icon { font-size: 28px; color: #2ecc71; flex-shrink: 0; }
.ufc-info { flex: 1; min-width: 0; }
.ufc-name { font-size: 13px; font-weight: 700; color: #5c1414; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ufc-size { font-size: 11px; color: #aaa; margin-top: 2px; }
.ufc-remove { background: none; border: none; color: #e74c3c; font-size: 16px; cursor: pointer; flex-shrink: 0; padding: 4px; }

/* ── SUCCESS MODAL ── */
.pay-success-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:9999; align-items:center; justify-content:center; padding:20px; }
.pay-success-overlay.open { display:flex; }
.pay-success-box { background:#fff; border-radius:20px; padding:40px 36px; text-align:center; max-width:440px; width:100%; box-shadow:0 20px 60px rgba(0,0,0,.25); }
.pay-success-box .tick { width:80px; height:80px; background:#e8f8f0; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:36px; color:#2ecc71; }
.pay-success-box h2 { font-size:22px; font-weight:800; color:#5c1414; margin-bottom:8px; }
.pay-success-box p  { font-size:14px; color:#666; margin-bottom:22px; line-height:1.7; }
.pay-ref { background:#fdf7f7; border-radius:10px; padding:12px 18px; font-size:13px; color:#5c1414; font-weight:700; margin-bottom:22px; display:flex; justify-content:space-between; align-items:center; }

@media(max-width:900px){ .pay-layout{grid-template-columns:1fr;} .info-strip{grid-template-columns:1fr 1fr;} }
@media(max-width:540px){ .info-strip{grid-template-columns:1fr;} .qr-box img{width:180px;height:180px;} .pay-methods{gap:0;} .pay-method-btn{padding:10px 14px;font-size:12px;} }
