/* Playbean Booking Form — matches site theme */

#play-booking-root * {
  box-sizing: border-box;

  font-family: 'Poppins', Arial, sans-serif;
}

#play-booking-root {
  /* max-width: 540px; */
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.pb-card {
  background: #faeedc;
  border-radius: 20px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(180, 130, 80, 0.10);
  min-height: 800px !important;
  width: 100% !important;
}

.pb-title {
  font-size: 26px;
  font-weight: 700;
  color: #e07830;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.pb-subtitle {
  margin: -0.75rem 0 1rem;
  color: #8e6b45;
  font-size: 14px;
  line-height: 1.45;
}

/* Fields */
.pb-field {
  margin-bottom: 1.25rem;
}

.pb-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #a07850;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pb-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e8d9c8;
  border-radius: 10px;
  font-size: 15px;
  color: #2d1f0e;
  background: #fdf8f3;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.pb-input:focus {
  border-color: #e07830;
  box-shadow: 0 0 0 3px rgba(224, 120, 48, 0.12);
  background: #fff;
}

/* Service pills */
.pb-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pb-pill {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid #e8d9c8;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: #fdf8f3;
  color: #7a5c3a;
  transition: all 0.15s;
  user-select: none;
}

.pb-pill:hover {
  border-color: #e07830;
  color: #e07830;
}

.pb-pill.active-group {
  background: #e07830;
  border-color: #e07830;
  color: #fff;
}

.pb-pill.active-private {
  background: #7F77DD;
  border-color: #7F77DD;
  color: #fff;
}

/* Time slots grid */
.pb-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.pb-slot {
  padding: 10px 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid #e8d9c8;
  border-radius: 10px;
  cursor: pointer;
  background: #fdf8f3;
  color: #2d1f0e;
  transition: all 0.15s;
  user-select: none;
}

.pb-slot:hover:not(.pb-slot-disabled):not(.pb-slot-private):not(.pb-slot-selected) {
  border-color: #e07830;
  color: #e07830;
  background: #fff8f3;
}

.pb-slot-selected {
  background: #e07830;
  border-color: #e07830;
  color: #fff;
  cursor: default;
}

.pb-slot-disabled {
  background: #f5ede0;
  color: #c4a882;
  cursor: not-allowed;
  text-decoration: line-through;
  border-color: #ecddc9;
}

.pb-slot-private {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #ef4444;
  cursor: not-allowed;
  font-size: 11px;
}

/* Legend */
.pb-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pb-leg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #a07850;
}

.pb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Alerts */
.pb-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.pb-alert-info {
  background: #fff3e8;
  color: #a05010;
  border: 1px solid #f5c89a;
}

.pb-alert-warn {
  background: #fff8ec;
  color: #92400e;
  border: 1px solid #fde68a;
}

.pb-alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.pb-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Cap note */
.pb-cap-note {
  font-size: 12px;
  color: #c4a882;
  margin-top: 6px;
}

/* Submit button — matches site orange CTA */
.pb-btn {
  width: 100%;
  padding: 14px;
  background: #5fafa1;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pb-btn:hover {
  background: #4e978a;
}

.pb-btn:active {
  transform: scale(0.98);
}

.pb-btn:disabled {
  background: #e8c9a8;
  cursor: not-allowed;
  transform: none;
}

/* Divider */
.pb-divider {
  border: none;
  border-top: 1px solid #f0e4d4;
  margin: 1.25rem 0;
}

/* Success screen */
.pb-success {
  text-align: center;
  padding: 1.5rem 1rem;
}

.pb-success-icon {
  width: 68px;
  height: 68px;
  background: #fff3e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 30px;
  color: #e07830;
}

.pb-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2d1f0e;
  margin-bottom: 0.4rem;
}

.pb-success p {
  font-size: 14px;
  color: #a07850;
  line-height: 1.6;
}

.pb-summary {
  background: #fdf8f3;
  border: 1px solid #f0e4d4;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  text-align: left;
}

.pb-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 5px 0;
  border-bottom: 1px solid #f0e4d4;
  color: #2d1f0e;
}

.pb-summary-row:last-child {
  border-bottom: none;
}

.pb-summary-row span:first-child {
  color: #a07850;
}

.pb-btn-outline {
  width: 100%;
  padding: 12px;
  background: #fff;
  color: #e07830;
  border: 1.5px solid #e07830;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pb-btn-outline:hover {
  background: #fff8f3;
}

/* Spinner */
.pb-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pb-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes pb-spin {
  to { transform: rotate(360deg); }
}

.pb-no-slots {
  font-size: 13px;
  color: #c4a882;
  grid-column: 1 / -1;
  padding: 1rem 0;
}

/* ── Stepper ── */
.pb-stepper {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
  width: 100%;
  min-width: 0;
}

.pb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  min-width: 72px;
}

.pb-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid #e8d9c8;
  background: #fdf8f3;
  color: #c4a882;
  transition: all 0.2s;
}

.pb-step.active .pb-step-circle {
  background: #e07830;
  border-color: #e07830;
  color: #fff;
}

.pb-step.done .pb-step-circle {
  background: #f0fdf4;
  border-color: #86efac;
  color: #16a34a;
}

.pb-step-label {
  font-size: 11px;
  font-weight: 500;
  color: #c4a882;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.pb-step.active .pb-step-label {
  color: #e07830;
}

.pb-step.done .pb-step-label {
  color: #16a34a;
}

.pb-step-line {
  flex: 1;
  height: 2px;
  background: #e8d9c8;
  margin: 0 6px;
  margin-bottom: 16px;
  border-radius: 2px;
  transition: background 0.2s;
}

.pb-step-line.done {
  background: #86efac;
}

/* ── Back/Next button row ── */
.pb-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 0.5rem;
}

.pb-btn-back {
  flex: 0 0 auto;
  width: auto;
  padding: 13px 20px;
}

.pb-btn-flex {
  flex: 1;
}

/* ── Mini summary on step 2 ── */
.pb-summary-mini {
  margin-bottom: 1.25rem;
  background: #fdf8f3;
  border: 1px solid #f0e4d4;
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.pb-summary-mini .pb-summary-row {
  font-size: 13px;
  padding: 3px 0;
}

/* Amount pill */
.pb-amount-pill {
  background: #ecf9f5;
  border: 1px solid #b8e7da;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.pb-amount-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #15806f;
}
.pb-amount-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: #3b8f82;
}
.pb-amount-val {
  font-size: 21px;
  font-weight: 700;
  color: #0f7667;
}

.pb-pay-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 1.1rem;
}
.pb-pay-step {
  background: #fff7ef;
  border: 1px solid #f3dcc4;
  border-radius: 10px;
  color: #8b6440;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px;
  text-align: center;
}
.pb-pay-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e07830;
  color: #fff;
  font-weight: 700;
  margin-right: 5px;
}
 
/* Bank selector pills */
.pb-bank-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}
.pb-bank-pill {
  flex: 1;
  padding: 10px 0;
  border: 1px solid #e2d0bc;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #8b6440;
  background: #fffaf4;
  transition: all .15s;
  user-select: none;
}
.pb-bank-pill:hover {
  border-color: #cfab88;
  color: #6d4c31;
}
.pb-bank-pill.gcash.active {
  background: #E8F0FD;
  border-color: #1a73e8;
  color: #1a55b0;
}
.pb-bank-pill.bpi.active {
  background: #FFF0E8;
  border-color: #C9420A;
  color: #9B320A;
}
.pb-bank-icon {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
 
/* QR panel */
.pb-qr-panel {
  border: 1px solid #f0dfce;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  background: #fffaf6;
}
.pb-qr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.pb-qr-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}
.pb-qr-badge.gcash { background: #E8F0FD; color: #1a55b0; }
.pb-qr-badge.bpi   { background: #FFF0E8; color: #9B320A; }
.pb-qr-acct { font-size: 12px; color: #8e6b45; }
.pb-qr-account-card {
  border: 1px solid #efdcca;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.pb-qr-account-line {
  margin: 0;
  font-size: 12px;
  color: #6f4e33;
}
.pb-qr-account-line + .pb-qr-account-line {
  margin-top: 4px;
}
.pb-qr-box {
  background: #f6ede3;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 10px;
}
.pb-qr-svg  { width: 130px; height: 130px; display: block; }
.pb-qr-note { font-size: 11px; color: #927253; text-align: center; margin: 0; }
 
/* Upload zone */
.pb-upload-zone {
  border: 1.5px dashed #d9bea2;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  background: #fffaf6;
  transition: border-color .15s, background .15s;
  margin-bottom: 0.45rem;
}
.pb-upload-zone:hover   { border-color: #ba8f65; background: #fff; }
.pb-upload-zone.has-file {
  border-style: solid;
  border-color: #67c0a5;
  background: #ecf9f5;
}
.pb-upload-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pb-upload-text    { font-size: 13px; color: #7f5f3f; margin: 0; }
.pb-upload-sub     { font-size: 11px; color: #9f7d5a; margin-top: 3px; }
.pb-upload-success { font-size: 13px; color: #1f8c73; font-weight: 600; }
.pb-upload-help {
  margin: 0 0 0.6rem;
  font-size: 11px;
  color: #9a7857;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .pb-stepper {
    justify-content: space-between;
    align-items: flex-start;
  }

  .pb-step {
    flex: 1 1 0;
    min-width: 0;
    gap: 4px;
  }

  .pb-step-circle {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .pb-step-label {
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .pb-step-line {
    flex: 0 0 8px;
    margin: 0 3px 18px;
  }

  .pb-pay-steps {
    grid-template-columns: 1fr;
  }
}