/* payment.css — payment.html (reference search + payment section + receipt upload) */

body{ background:var(--mint); }

.pay-wrap{ min-height:70vh; padding:5rem 1.5rem; }
.pay-card{
  max-width:760px; margin:0 auto; background:#fff; border-radius:1.5rem;
  padding:3rem 2.5rem; box-shadow:0 20px 50px rgba(0,0,0,.08);
}

/* ---- Reference search ---- */
.ref-head{ text-align:center; margin-bottom:2rem; }
.ref-head h1{ font-family:'Playfair Display',serif; font-size:2rem; color:var(--green-dark); font-weight:700; }
.ref-head p{ color:var(--muted); margin-top:.5rem; font-size:.95rem; }
.ref-form{ display:flex; gap:.75rem; max-width:460px; margin:0 auto; flex-wrap:wrap; }
.ref-form input{
  flex:1; min-width:200px; padding:.85rem 1rem; border:1px solid #d8d2c4; border-radius:.6rem;
  font-family:inherit; font-size:1rem; text-transform:uppercase; letter-spacing:.05em;
}
.ref-form input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(45,80,50,.12); }
.ref-form button{
  background:var(--accent); color:#fff; border:none; padding:.85rem 1.6rem; border-radius:.6rem;
  font-weight:600; font-family:inherit; cursor:pointer; display:flex; align-items:center; gap:.5rem; transition:.2s;
}
.ref-form button:hover{ background:var(--accent-dark); }
.ref-msg{ text-align:center; margin-top:1rem; font-size:.9rem; min-height:1.2rem; }
.ref-msg.error{ color:#c0392b; }
.ref-msg.info{ color:#9a5b00; }

/* ---- Payment section ---- */
.pay-section{ display:none; }
.pay-section.show{ display:block; animation:fadeInUp .4s ease; }
.pay-title{ font-family:'Playfair Display',serif; font-size:2.4rem; font-weight:700; color:#1a1a1a; text-align:center; margin-bottom:1.25rem; }
.pay-intro{ color:#444; line-height:1.8; text-align:center; max-width:600px; margin:0 auto 2.5rem; }

/* booking summary chip */
.pay-summary{ background:var(--mint); border-radius:.85rem; padding:1rem 1.25rem; margin-bottom:2rem;
  display:flex; flex-wrap:wrap; gap:.5rem 2rem; justify-content:center; font-size:.9rem; color:var(--green-dark); }
.pay-summary b{ color:var(--green-dark); }

/* method choice */
.pay-methods{ display:grid; grid-template-columns:1fr auto 1fr; align-items:start; gap:1.5rem; margin-bottom:1rem; }
@media(max-width:560px){ .pay-methods{ grid-template-columns:1fr; } .pay-divider{ display:none; } }
.pay-divider{ width:1px; background:#ddd; align-self:stretch; }
.method-card{
  border:2px solid #e2ddd2; border-radius:.85rem; padding:1.5rem; text-align:center; cursor:pointer; transition:.2s;
}
.method-card:hover{ border-color:var(--accent); }
.method-card.selected{ border-color:var(--accent); background:#f1f5ee; box-shadow:0 6px 18px rgba(45,80,50,.15); }
.method-card h3{ font-size:1.15rem; color:#1a1a1a; font-weight:700; margin-bottom:.25rem; }
.method-card small{ color:#888; }
.method-info{ text-align:center; color:#333; font-size:.95rem; margin-top:.75rem; line-height:1.6; }
.method-col{ display:flex; flex-direction:column; }

/* upload + submit */
.pay-upload{ display:none; margin-top:2rem; border-top:1px solid #eee; padding-top:2rem; }
.pay-upload.show{ display:block; animation:fadeInUp .3s ease; }
.pay-upload label{ display:block; font-weight:600; color:var(--green-dark); margin-bottom:.6rem; }
.pay-upload input[type="file"]{ width:100%; padding:.75rem; border:1px dashed #c8c2b4; border-radius:.6rem; background:#fafafa; font-family:inherit; }
.btn-pay-submit{
  width:100%; margin-top:1.25rem; background:var(--green-dark); color:#fff; border:none;
  padding:.95rem; border-radius:.65rem; font-weight:600; font-size:1rem; font-family:inherit; cursor:pointer; transition:.2s;
}
.btn-pay-submit:hover{ background:var(--green); }
.btn-pay-submit:disabled{ opacity:.6; cursor:not-allowed; }

/* success */
.pay-success{ display:none; text-align:center; }
.pay-success.show{ display:block; animation:fadeInUp .4s ease; }
.pay-success .ok-icon{ width:72px; height:72px; border-radius:50%; background:#dff3e4; color:var(--green);
  display:flex; align-items:center; justify-content:center; margin:0 auto 1.25rem; }
.pay-success .ok-icon i{ width:36px; height:36px; }
.pay-success h2{ font-family:'Playfair Display',serif; color:var(--green-dark); font-size:1.8rem; margin-bottom:.75rem; }
.pay-success p{ color:var(--muted); line-height:1.7; max-width:480px; margin:0 auto .5rem; }
.pay-success .btn-home{ display:inline-block; margin-top:1.5rem; background:var(--accent); color:#fff;
  text-decoration:none; padding:.8rem 1.8rem; border-radius:.6rem; font-weight:600; }
