.help-block{ color: red;} 
.pt-page { font-family: 'Roboto', sans-serif; background: #f8f8f8; min-height: 60vh; }

  /* ── TOP NAV: MONTHS ── */
  .pt-topbar {
    background: #fff;
    border-bottom: 2px solid #ebebeb;
    padding: 0;
    display: flex;
    align-items: stretch;
    position: sticky;
    top: 0;
    z-index: 10; margin-top:50px
  }
  .month-tabs { display: flex; }
  .month-tab {
    padding: 16px 26px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #919191;
    border-bottom: 3px solid transparent;
    transition: all .2s;
    white-space: nowrap;
    user-select: none;
  }
  .month-tab .month-label { display: block; font-size: 10px; color: #919191; margin-top: 2px; }
  .month-tab .month-num  { display: block; font-size: 20px; font-weight: 800; }
  .month-tab:hover { color: #202020; background: #f8f8f8; }
  .month-tab.active { color: #196577; border-bottom-color: #196577; background: rgba(25,101,119,.04); }
  .month-tab.active .month-label { color: #196577; opacity: .7; }

  /* ── LEGEND ── */
  .pt-legend-bar { padding: 10px 32px; border-bottom: 1px solid #ebebeb; background: #fff; }
  .pt-legend-items { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .pt-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #555; font-weight: 500; }
  .pt-legend-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
  .pt-legend-dot.morning-dot { background: #f59e0b; }
  .pt-legend-dot.evening-dot { background: #0891b2; }
  .pt-legend-dot.avail-dot   { background: #16a34a; }
  .pt-legend-dot.fast-dot    { background: #d97706; }
  .pt-legend-dot.sold-dot    { background: #dc2626; }
  .pt-legend-sep { width: 1px; height: 16px; background: #e0e0e0; margin: 0 4px; }

  /* ── MAIN CONTENT ── */
  .pt-content { padding: 24px 32px; }

  /* ── COACH CARD ── */
  .coach-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    padding: 22px 28px;
    margin-bottom: 16px;
    transition: border-color .2s, box-shadow .2s;
  }
  .coach-card:hover { border-color: #196577; box-shadow: 0 8px 28px rgba(25,101,119,.12); }

  .coach-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
  }

  .coach-logo {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: #196577;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    color: #fff;
    flex-shrink: 0;
    text-transform: uppercase;
  }

  .coach-info h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #202020;
    margin-bottom: 4px;
  }

  .coach-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

  /* ── BASE TAG ── */
  .coach-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1px solid;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
  }
  .coach-tag:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
  .coach-tag i { font-size: 10px; flex-shrink: 0; }
  .coach-tag::before { display: none; } /* remove old dot */

  /* ── SKILL COLOR VARIANTS ── */
  .coach-tag.sk-cert    { background: linear-gradient(135deg,#fffbeb,#fef3c7); border-color: #fcd34d; color: #78350f; }
  .coach-tag.sk-cert  i { color: #d97706; }

  .coach-tag.sk-cricket   { background: linear-gradient(135deg,#fff7ed,#ffedd5); border-color: #fdba74; color: #9a3412; }
  .coach-tag.sk-cricket i { color: #ea580c; }

  .coach-tag.sk-field   { background: linear-gradient(135deg,#f0fdfa,#ccfbf1); border-color: #6ee7b7; color: #065f46; }
  .coach-tag.sk-field i { color: #059669; }

  .coach-tag.sk-elite   { background: linear-gradient(135deg,#faf5ff,#ede9fe); border-color: #c4b5fd; color: #4c1d95; }
  .coach-tag.sk-elite i { color: #7c3aed; }

  .coach-tag.sk-dev   { background: linear-gradient(135deg,#eef2ff,#e0e7ff); border-color: #a5b4fc; color: #312e81; }
  .coach-tag.sk-dev i { color: #4f46e5; }

  .coach-tag.sk-match   { background: linear-gradient(135deg,#fff1f2,#ffe4e6); border-color: #fda4af; color: #881337; }
  .coach-tag.sk-match i { color: #e11d48; }

  .coach-tag.sk-fit   { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border-color: #86efac; color: #14532d; }
  .coach-tag.sk-fit i { color: #16a34a; }

  .coach-tag.sk-train   { background: linear-gradient(135deg,#eff6ff,#dbeafe); border-color: #93c5fd; color: #1e3a8a; }
  .coach-tag.sk-train i { color: #2563eb; }

  .coach-tag.sk-default   { background: linear-gradient(135deg,#eff6ff,#dbeafe); border-color: #bfdbfe; color: #1d4ed8; }
  .coach-tag.sk-default i { color: #3b82f6; }

  /* ── PRICE TAG ── */
  .coach-tag.price   { background: linear-gradient(135deg,#f0fdf4,#dcfce7); border-color: rgba(22,163,74,.4); color: #166534; font-weight: 700; }
  .coach-tag.price i { color: #16a34a; }

  /* ── SLOTS ── */
  .slots-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .slot-btn {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid #28a745;
    color: #1a7a32;
    border-radius: 14px;
    padding: 12px 24px 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all .25s;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(40,167,69,.12);
    gap: 0;
  }
  .slot-btn::before {
    content: "\f017";
    font-size: 15px;
    margin-bottom: 4px;
    display: block;
    filter: grayscale(0);
    font-family: FontAwesome;
  }
  .slot-btn .slot-session-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: 3px;
    order: -1;
  }
  .slot-btn .slot-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
  }
  .slot-btn .slot-time-sep {
    font-weight: 400;
    opacity: .6;
    font-size: 11px;
  }
  .slot-btn:hover {
    background: linear-gradient(135deg, #28a745 0%, #1e913a 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(40,167,69,.35);
  }
  .slot-btn:hover::before { filter: brightness(0) invert(1); }

  /* ── MORNING SLOTS (AM) ── */
  .slot-btn.morning {
    border-color: #f59e0b;
    color: #78350f;
    box-shadow: 0 2px 10px rgba(245,158,11,.15);
  }
  .slot-btn.morning::before { content: "\f185"; } /* fa-sun-o */
  .slot-btn.morning:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(245,158,11,.4);
  }
  .slot-btn.morning:hover::before { filter: brightness(0) invert(1); }

  /* ── EVENING SLOTS (PM) ── */
  .slot-btn.evening {
    border-color: #0891b2;
    color: #0c4a6e;
    box-shadow: 0 2px 10px rgba(8,145,178,.15);
  }
  .slot-btn.evening::before { content: "\f186"; } /* fa-moon-o */
  .slot-btn.evening:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0369a1 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(8,145,178,.4);
  }
  .slot-btn.evening:hover::before { filter: brightness(0) invert(1); }

  /* ── STATUS BADGE STRIP ── */
  .slot-status-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 0;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .07em;
    text-transform: uppercase;
    border-radius: 0 0 11px 11px;
    pointer-events: none;
  }
  .slot-status-badge.available    { background: #dcfce7; color: #15803d; }
  .slot-status-badge.filling-fast { background: #fef3c7; color: #b45309; }
  .slot-status-badge.sold-out     { background: #fee2e2; color: #dc2626; }

  /* Sold-out slot appearance */
  .slot-btn.slot-sold-out { opacity: .55; cursor: not-allowed; }
  .slot-btn.slot-sold-out:hover {
    transform: none;
    background: #fff;
    color: inherit;
    border-color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
  }
  .slot-btn.slot-sold-out:hover::before { filter: none; }
  .slot-btn.morning.slot-sold-out:hover { color: #78350f; }
  .slot-btn.evening.slot-sold-out:hover { color: #0c4a6e; }

  /* Tooltip */
  .slot-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 16px;
    min-width: 160px;
    z-index: 100;
    box-shadow: 0 16px 48px rgba(0,0,0,.14);
    pointer-events: none;
    text-align: left;
  }
  .slot-tooltip::before {
    content: '';
    position: absolute;
    top: -7px; left: 50%; transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #e0e0e0;
  }
  .slot-tooltip::after {
    content: '';
    position: absolute;
    top: -5px; left: 50%; transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
  }
  .slot-btn:hover .slot-tooltip { display: block; }
  .tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    padding: 5px 0;
    border-bottom: 1px dashed #f0f0f0;
  }
  .tooltip-row:last-child { border-bottom: none; padding-bottom: 0; }
  .tooltip-label { color: #888; font-weight: 500; }
  .tooltip-val { font-weight: 700; color: #202020; }
  .tooltip-val.green { color: #28a745; }
  .tooltip-val.red { color: #fe5858; }

  .cancellation-note {
    margin-top: 12px;
    font-size: 12px;
    color: #3F3F3F;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  /* ── MODAL OVERLAY ── */
  .pt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
  }
  .pt-modal-overlay.open { display: flex; }

  .pt-modal {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 20px;
    width: 680px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    animation: ptSlideUp .3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
  }
  @keyframes ptSlideUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

  .pt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -32px -32px 24px -32px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #196577 0%, #1a7a8f 100%);
    border-radius: 20px 20px 0 0;
  }
  .pt-modal-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .pt-modal-avatar {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff;
    flex-shrink: 0;
    text-transform: uppercase;
  }
  .pt-modal-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: #fff;
    letter-spacing: .01em;
  }
  .pt-modal-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
  }
  .pt-modal-meta-time {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 2px 10px;
  }
  .pt-modal-meta-price {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    background: rgba(22,163,74,.15);
    border: 1px solid rgba(22,163,74,.35);
    border-radius: 20px;
    padding: 2px 10px;
  }

  .pt-modal-close {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.7);
    width: 34px; height: 34px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
  }
  .pt-modal-close:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.4); color: #fff; }

  /* ── DAY DROPDOWN ── */
  .day-select-section { margin-bottom: 24px; }
  .dow-chips { display: flex; gap: 8px; flex-wrap: wrap; }
  .dow-chip {
    width: 48px;
    height: 48px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    color: #444;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
  }
  .dow-chip:hover { border-color: #fe5858; color: #fe5858; }
  .dow-chip.active { background: #fe5858; border-color: #fe5858; color: #fff; }
  .dow-chip.dow-off, .dow-chip:disabled { background: #f1f1f1; border-color: #ddd; color: #bbb; cursor: not-allowed; opacity: 0.6; }
  .dow-chip.dow-off:hover { border-color: #ddd; color: #bbb; }
  .field-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #919191;
    margin-bottom: 8px;
  }
  .select-wrap { position: relative; }
  .select-wrap select {
    appearance: none;
    width: 100%;
    background: #f1f1f1;
    border: 1px solid #ebebeb;
    color: #202020;
    padding: 12px 40px 12px 16px;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s;
  }
  .select-wrap select:focus { outline: none; border-color: #fe5858; }
  .select-wrap::after {
    content: '▾';
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    color: #919191;
    pointer-events: none;
  }

  /* ── CALENDAR LEGEND ── */
  .cal-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }
  .cal-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #919191; }
  .cal-dot { width: 10px; height: 10px; border-radius: 3px; }
  .cal-dot.avail    { background: #28a745; }
  .cal-dot.off      { background: #ff9500; }
  .cal-dot.booked   { background: #f7dbdb; }
  .cal-dot.selected { background: #10b73a; }

  /* ── CALENDAR GRID ── */
  .pt-calendar { display: block; width: 100%; border: 1px solid #ebebeb; border-radius: 14px; overflow: hidden; }

  .cal-month-header {
    background: #202020;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .cal-month-name {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
  }
  .cal-nav {
    background: none;
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    width: 30px; height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all .2s;
    display: flex; align-items: center; justify-content: center;
  }
  .cal-nav:hover { border-color: #fe5858; color: #fe5858; }

  .cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f1f1f1;
    border-top: 1px solid #ebebeb;
  }
  .cal-weekday {
    text-align: center;
    padding: 10px 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #919191;
  }

  .cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #ebebeb;
  }

  .cal-day {
    background: #fff;
    text-align: center;
    padding: 14px 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    position: relative;
    user-select: none;
    color: #202020;
  }
  .cal-day.empty { background: #f8f8f8; cursor: default; }
  .cal-day.available { background: #edf7f0; color: #28a745; font-weight: 600; }
  .cal-day.available:hover { background: rgba(40,167,69,.18); transform: scale(1.05); z-index: 1; }
  .cal-day.weekly-off { background: #fff4e5; color: #ff9500; cursor: not-allowed; font-weight: 600; }
  .cal-day.booked { background: #f7dbdb; color: #c54e4e; cursor: not-allowed; text-decoration: line-through; padding-bottom: 20px; }
  .cal-booked-badge {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #c54e4e;
    color: #fff;
    text-align: center;
    padding: 2px 0;
    text-decoration: none;
    display: block;
    border-radius: 0 0 2px 2px;
  }
  .cal-day.selected { background: #edf7f0 !important; color: #0da829 !important; font-weight: 700; }
  .cal-day.selected::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 2px solid #0e9b21;
    border-radius: 6px;
    pointer-events: none;
  }
  .cal-day.past { background: #fafafa; color: #ccc; cursor: not-allowed; }
  .cal-day.no-pt { background: #f0f0f0; color: #bbb; cursor: not-allowed; }

  /* ── MODAL FOOTER ── */
  .pt-modal-footer {
    margin: 24px -32px -32px -32px;
    padding: 16px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #f8f8f8;
    border-top: 1px solid #ebebeb;
    border-radius: 0 0 20px 20px;
  }
  .pt-btn-cancel {
    background: transparent;
    border: 1px solid #ebebeb;
    color: #919191;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
  }
  .pt-btn-cancel:hover { border-color: #202020; color: #202020; }

  .pt-btn-confirm {
    background: #fe5858;
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .02em;
  }
  .pt-btn-confirm:hover { background: #e04040; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(254,88,88,.4); }

  .pt-btn-cash {
    background: #28a745;
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .02em;
  }
  .pt-btn-cash:hover { background: #218838; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(40,167,69,.4); }
  .pt-btn-cash:disabled, .pt-btn-confirm:disabled { cursor: not-allowed; }


  @media (max-width: 640px) {
    .pt-topbar { padding: 0; overflow-x: auto; }
    .pt-modal { padding: 20px; }
  }
/* ── PAYMENT SUMMARY ── */
.pt-payment-summary {
  border: 1px solid #ebebeb;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0;
}
.pay-summary-header {
  background: #202020;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 18px;
}
.pay-summary-body {
  padding: 4px 18px 8px;
  background: #fff;
}
.pay-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #888;
  padding: 9px 0;
  border-bottom: 1px dashed #f0f0f0;
}
.pay-summary-row:last-child { border-bottom: none; }
.pay-summary-row span:last-child { font-weight: 600; color: #202020; }
.pay-summary-divider {
  border: none;
  border-top: 2px dashed #ebebeb;
  margin: 4px 0;
}
.pay-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(254,88,88,.06);
  border-top: 2px solid #fe5858;
}
.pay-summary-total span:first-child {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #202020;
  letter-spacing: .02em;
}
.pay-summary-total span:last-child {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fe5858;
}

.pay-summary-coupon-form {
  display: flex;
  gap: 8px;
  padding: 10px 0;
}
.pay-summary-coupon-form input {
  flex: 1;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}
.pay-summary-coupon-applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #1e913a;
  padding: 9px 0;
}
.pay-summary-coupon-applied a { color: #fe5858; font-weight: 600; }
.coupon-msg {
  font-size: 12px;
  color: #fe5858;
  padding-bottom: 6px;
}

.pf-wrap { padding: 4px 2px 10px; }

/* Earlier payment notice */
.pf-notice {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 0.88em;
    color: #555;
}
.pf-notice strong { color: #333; }

/* Payment mode pills */
.pf-mode-group {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.pf-mode-label {
    flex: 1;
    cursor: pointer;
}
.pf-mode-label input[type="radio"] { display: none; }
.pf-mode-card {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
    transition: all 0.2s;
    background: #fafafa;
}
.pf-mode-card .pf-mode-title { font-weight: 700; font-size: 0.95em; color: #444; }
.pf-mode-card .pf-mode-sub   { font-size: 0.78em; color: #888; margin-top: 2px; }
.pf-mode-label input[type="radio"]:checked + .pf-mode-card {
    border-color: #fe5858;
    background: #fff5f5;
}
.pf-mode-label input[type="radio"]:checked + .pf-mode-card .pf-mode-title { color: #fe5858; }

/* Amount summary card */
.pf-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.pf-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #555;
    padding: 4px 0;
}
.pf-summary-row.pf-total {
    border-top: 1px solid #ddd;
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 1.05em;
    color: #222;
}
.pf-summary-row.pf-total span:last-child { color: #fe5858; }
.pf-summary-empty {
    text-align: center;
    color: #aaa;
    font-size: 0.85em;
    padding: 6px 0;
}

/* Batch display badge */
.pf-batch-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f0faf4 0%, #fff 100%);
    border: 2px solid #27ae60;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.pf-batch-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #27ae60, #5cdb95);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pf-batch-icon i { color: #fff; font-size: 1.1em; }
.pf-batch-info { flex: 1; }
.pf-batch-name { font-weight: 700; font-size: 0.95em; color: #202020; line-height: 1.2; }
.pf-batch-label { font-size: 0.75em; color: #27ae60; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.pf-batch-check { color: #27ae60; font-size: 1.4em; flex-shrink: 0; }

/* Inline message */
.pf-msg { border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; font-size: 0.88em; display: none; }
.pf-msg.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.pf-msg.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Player select hint & shake */
.player-select-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 1.5px solid #ffc107;
  border-radius: 10px;
  padding: 9px 14px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #7d5a00;
  line-height: 1.4;
}
.player-hint-icon {
  font-size: 16px;
  flex-shrink: 0;
  color: #e6a817;
}
#playerSelect.player-select-shake {
  border: 2px solid #fe5858 !important;
  box-shadow: 0 0 0 3px rgba(254,88,88,.25) !important;
  animation: playerShake .5s ease;
}
@keyframes playerShake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  40%      { transform: translateX(5px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}

@media screen and (max-width: 600px) {
  /* ── page layout ── */
  .pt-content        { padding: 12px; }
  .pt-legend-bar     { padding: 8px 12px; }
  .pt-legend-items   { gap: 10px; }
  .pt-legend-item    { font-size: 11px; }

  /* ── month tabs ── */
  .month-tab           { padding: 10px 14px !important; }
  .month-tab .month-num { font-size: 14px !important; }

  /* ── coach card ── */
  .coach-card   { padding: 14px; border-radius: 12px; margin-bottom: 10px; }
  .coach-header { gap: 10px; margin-bottom: 12px; }
  .coach-logo   { width: 42px; height: 42px; font-size: 14px; border-radius: 10px; flex-shrink: 0; }
  .coach-info h3 { font-size: 14px; margin-bottom: 3px; }
  .coach-meta   { gap: 6px; }
  .coach-tag    { font-size: 10px; padding: 3px 8px; }

  /* ── slots: 2-column grid ── */
  .slots-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .slot-btn {
    width: 100%;
    min-width: 0;
    padding: 10px 8px 26px;
  }
  .slot-btn .slot-session-label { font-size: 8px; letter-spacing: .07em; }
  .slot-btn::before { font-size: 14px; margin-bottom: 3px; }

  /* stack "04:30 PM – 05:30 PM" vertically so it fits narrow cards */
  .slot-btn .slot-time {
    flex-direction: column;
    align-items: center;
    gap: 0;
    font-size: 11px;
    line-height: 1.4;
  }
  .slot-btn .slot-time-sep { display: none; }

  .slot-btn:hover { z-index: 9; }
}

/* ── CASH SUCCESS FLASH ── */
.cash-flash-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.cash-flash-overlay.show { display: flex; }
.cash-flash-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px 28px;
  max-width: 420px;
  width: 90vw;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  animation: ptSlideUp .3s ease;
}
.cash-flash-close {
  position: absolute;
  top: 14px; right: 14px;
  background: #f0f0f0;
  border: none;
  width: 32px; height: 32px;
  border-radius: 8px;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.cash-flash-close:hover { background: #ebebeb; color: #202020; }
.cash-flash-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #28a745, #1e913a);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(40,167,69,.35);
}
.cash-flash-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #202020;
  margin-bottom: 10px;
}
.cash-flash-msg {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 24px;
}
.cash-flash-progress-wrap {
  height: 4px;
  background: #ebebeb;
  border-radius: 2px;
  overflow: hidden;
}
.cash-flash-bar {
  height: 100%;
  background: #28a745;
  border-radius: 2px;
  width: 100%;
}