.tbp-app{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--tbp-text);max-width:1180px;margin:25px auto;background:#fff;border:1px solid #e4eaf0;border-radius:26px;box-shadow:0 24px 70px rgba(15,38,64,.10);overflow:hidden}.tbp-hero{padding:34px 34px 30px;display:flex;align-items:flex-end;justify-content:space-between;gap:25px;border-bottom:1px solid #edf1f5}.tbp-kicker{font-size:11px;letter-spacing:.16em;font-weight:900;color:var(--tbp-accent)}.tbp-hero h2{font-size:32px;line-height:1.15;margin:8px 0 7px;color:var(--tbp-text)}.tbp-hero p{margin:0;color:#718096;font-size:15px}.tbp-legend{display:flex;gap:15px;white-space:nowrap;font-size:12px;color:#596b7d}.tbp-dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:6px;background:var(--tbp-available)}.tbp-dot.booked{background:var(--tbp-booked)}.tbp-dot.off{background:var(--tbp-off);border:1px solid #d7dde3}.tbp-main{display:grid;grid-template-columns:48% 52%;min-height:560px}.tbp-calendar-card{padding:28px;border-right:1px solid #edf1f5}.tbp-calendar-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.tbp-nav{width:42px;height:42px;border:0;background:#f4f7fa;color:var(--tbp-primary);border-radius:12px;font-size:28px;cursor:pointer;transition:.2s}.tbp-nav:hover{background:#eaf3f9;transform:translateY(-1px)}.tbp-current-month{text-align:center}.tbp-current-month strong{display:block;font-size:19px}.tbp-current-month button{border:0;background:transparent;color:var(--tbp-accent);font-size:11px;font-weight:800;cursor:pointer;margin-bottom:3px}.tbp-week{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-bottom:8px;text-align:center}.tbp-week span{font-size:11px;font-weight:800;color:#8a98a8}.tbp-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.tbp-day{position:relative;min-height:49px;border:1px solid #edf1f5;background:#fff;border-radius:12px;color:#34495e;font-weight:800;cursor:pointer;transition:.18s}.tbp-day:hover{border-color:var(--tbp-accent);transform:translateY(-1px)}.tbp-day.today{box-shadow:inset 0 0 0 2px var(--tbp-accent)}.tbp-day.selected{background:var(--tbp-primary);color:#fff;border-color:var(--tbp-primary)}.tbp-day.past{color:#aab3bc;background:#fafbfc;cursor:not-allowed}.tbp-day.off{background:var(--tbp-off);color:#8c98a4;cursor:not-allowed}.tbp-day.booked-date:after{content:"";position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:5px;height:5px;background:#e85c5c;border-radius:50%}.tbp-day.off:after{content:"OFF";position:absolute;bottom:3px;left:50%;width:100%;text-align:center;font-size:7px;font-weight:900}.tbp-day.muted{border:0;background:transparent;cursor:default}.tbp-day-note{min-height:18px;margin-top:13px;font-size:12px;color:#bd6800}.tbp-booking-card{padding:28px}.tbp-selection{padding:15px 17px;border-radius:15px;background:#f7fafc;margin-bottom:17px}.tbp-selection small,.tbp-summary small,.tbp-modal-selection small{display:block;font-size:10px;letter-spacing:.08em;color:#8291a2;font-weight:900;margin-bottom:4px}.tbp-selection strong{font-size:17px}.tbp-controls{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.tbp-controls label{font-size:11px;font-weight:900;color:#718096}.tbp-controls select{display:block;width:100%;margin-top:5px;padding:11px 12px;border:1px solid #dce5ed;border-radius:11px;background:#fff;color:#23384d;font-size:14px;outline:none}.tbp-controls select:focus{border-color:var(--tbp-accent);box-shadow:0 0 0 3px rgba(53,191,237,.10)}.tbp-live-rate{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0;padding:13px;background:#f9fbfc;border:1px solid #edf1f5;border-radius:14px}.tbp-live-rate span{display:block;color:#7b8998;font-size:10px;text-transform:uppercase;font-weight:800}.tbp-live-rate strong{display:block;margin-top:4px;font-size:18px;color:var(--tbp-primary)}.tbp-slot-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:8px 0 12px}.tbp-slot-title h3{font-size:15px;margin:0}.tbp-slot-title span{font-size:11px;color:#8997a6}.tbp-slots{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;max-height:300px;overflow:auto;padding-right:2px}.tbp-slot{border:1px solid #dce7df;background:var(--tbp-available);border-radius:12px;padding:12px;text-align:left;cursor:pointer;transition:.18s}.tbp-slot:hover:not(:disabled){transform:translateY(-1px);border-color:var(--tbp-accent)}.tbp-slot strong{display:block;font-size:13px;color:#244158}.tbp-slot small{display:block;margin-top:4px;color:#5e7386;font-weight:700}.tbp-slot.busy{background:var(--tbp-booked);border-color:#f0d5d5;color:#a77474;cursor:not-allowed;opacity:.72}.tbp-slot.busy strong{text-decoration:line-through}.tbp-slot.chosen{border:2px solid var(--tbp-primary);background:#eef5fb}.tbp-empty{padding:22px;text-align:center;border:1px dashed #d9e2ea;border-radius:12px;color:#7d8c9a;font-size:13px;grid-column:1/-1}.tbp-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 25px;background:#f8fbfd;border-top:1px solid #e9eff4}.tbp-summary strong{display:block;font-size:16px}.tbp-summary span{display:block;color:#708295;font-size:12px;margin-top:3px}.tbp-summary-price{text-align:right;margin-left:auto}.tbp-summary-price strong{font-size:22px;color:var(--tbp-primary)}.tbp-summary>button,.tbp-submit{border:0;background:var(--tbp-primary);color:#fff;padding:13px 19px;border-radius:11px;font-weight:900;cursor:pointer;box-shadow:0 7px 18px rgba(8,56,106,.18);transition:.2s}.tbp-summary>button:hover,.tbp-submit:hover{transform:translateY(-1px);filter:brightness(1.04)}.tbp-modal{position:fixed;inset:0;background:rgba(10,27,44,.68);z-index:999999;display:none;align-items:center;justify-content:center;padding:20px}.tbp-modal.open{display:flex}.tbp-modal-card{position:relative;background:#fff;width:min(780px,100%);max-height:92vh;overflow:auto;border-radius:22px;padding:30px;box-shadow:0 35px 100px rgba(0,0,0,.25)}.tbp-close{position:absolute;top:13px;right:14px;width:36px;height:36px;border:0;background:#f2f5f7;border-radius:50%;font-size:23px;cursor:pointer}.tbp-modal-head h3{font-size:25px;margin:7px 0}.tbp-modal-head p{margin:0;color:#718096;font-size:13px}.tbp-modal-selection{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;background:#f7fafc;border:1px solid #edf1f5;border-radius:14px;padding:14px;margin:20px 0}.tbp-modal-selection strong{font-size:13px}.tbp-form-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}.tbp-field{grid-column:span 6}.tbp-field.cols-12{grid-column:span 12}.tbp-field.cols-1{grid-column:span 1}.tbp-field.cols-2{grid-column:span 2}.tbp-field.cols-3{grid-column:span 3}.tbp-field.cols-4{grid-column:span 4}.tbp-field.cols-5{grid-column:span 5}.tbp-field.cols-7{grid-column:span 7}.tbp-field.cols-8{grid-column:span 8}.tbp-field.cols-9{grid-column:span 9}.tbp-field.cols-10{grid-column:span 10}.tbp-field.cols-11{grid-column:span 11}.tbp-field label{display:block;font-size:11px;font-weight:900;color:#54677a;margin-bottom:6px}.tbp-field label em{color:#e05454;font-style:normal}.tbp-field input,.tbp-field select,.tbp-field textarea{width:100%;box-sizing:border-box;border:1px solid #dce5ed;border-radius:10px;padding:11px 12px;background:#fff;color:#263c50;outline:none}.tbp-field input:focus,.tbp-field select:focus,.tbp-field textarea:focus{border-color:var(--tbp-accent);box-shadow:0 0 0 3px rgba(53,191,237,.10)}.tbp-check{display:flex!important;align-items:center;gap:7px}.tbp-check input{width:auto!important}.tbp-submit{margin-top:18px}.tbp-form-msg{min-height:18px;margin-top:12px;color:#bb4c4c;font-size:12px}.tbp-success-card{background:#f1fbf5;border:1px solid #d9f1e2;border-radius:16px;padding:23px}.tbp-success-icon{width:48px;height:48px;border-radius:50%;background:#dff5e8;color:#1e8c50;display:grid;place-items:center;font-size:25px;font-weight:900}.tbp-success-card h3{margin:13px 0 5px;font-size:23px}.tbp-success-card p{color:#64748b;font-size:13px}.tbp-receipt{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.tbp-receipt div{background:#fff;border:1px solid #e3eee7;border-radius:11px;padding:11px}.tbp-receipt small{display:block;color:#879596;font-size:10px;text-transform:uppercase;font-weight:900}.tbp-receipt strong{display:block;margin-top:3px;font-size:13px}.tbp-admin-mode .tbp-modal{display:none}.tbp-admin-mode .tbp-admin-submit{display:block}@media(max-width:850px){.tbp-hero{display:block}.tbp-legend{margin-top:18px}.tbp-main{grid-template-columns:1fr}.tbp-calendar-card{border-right:0;border-bottom:1px solid #edf1f5}.tbp-modal-selection{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.tbp-app{border-radius:16px}.tbp-hero,.tbp-calendar-card,.tbp-booking-card{padding:20px}.tbp-hero h2{font-size:26px}.tbp-controls{grid-template-columns:1fr}.tbp-slots{grid-template-columns:1fr}.tbp-summary{align-items:flex-start;flex-wrap:wrap}.tbp-summary-price{margin-left:0;text-align:left}.tbp-summary>button{width:100%}.tbp-modal{padding:10px}.tbp-modal-card{padding:23px 18px}.tbp-field{grid-column:span 12!important}.tbp-receipt{grid-template-columns:1fr}}

/* Turf Booking Pro 2.1 modal refinement */
.tbp-modal-card{padding:26px;width:min(720px,100%);max-height:88vh;border:1px solid rgba(255,255,255,.65);border-radius:20px}
.tbp-close{top:14px;right:14px;width:34px;height:34px;display:grid;place-items:center;padding:0;background:#eef3f7;color:#53687a;border:1px solid #dbe4eb;font-size:22px;line-height:1;font-weight:500;box-shadow:0 3px 10px rgba(20,45,70,.08);z-index:2}
.tbp-close:hover{background:#e4edf3;color:#173650;transform:rotate(90deg)}
.tbp-modal-head{padding-right:42px}
.tbp-modal-head h3{font-size:22px;line-height:1.2;margin:5px 0 5px}
.tbp-modal-head p{font-size:12px}
.tbp-modal-selection{grid-template-columns:repeat(4,1fr);gap:8px;padding:10px;margin:16px 0;border-radius:13px;background:linear-gradient(135deg,#f7fafc,#f3f8fb)}
.tbp-modal-selection div{min-width:0;padding:4px 6px}
.tbp-modal-selection strong{font-size:12px;line-height:1.35;display:block;word-break:break-word}
.tbp-form-grid{gap:11px}
.tbp-field textarea{height:100px;min-height:100px;resize:vertical}
.tbp-form-msg{margin-top:9px}
.tbp-submit{margin-top:12px;padding:11px 18px}
.tbp-success-card{background:#fff;border:1px solid #e4ebef;border-radius:17px;padding:20px;box-shadow:0 12px 35px rgba(15,38,64,.08)}
.tbp-success-top{display:flex;align-items:center;gap:12px;padding-right:36px}
.tbp-success-icon{width:42px;height:42px;min-width:42px;border-radius:13px;background:#e8f8ef;color:#19854d;font-size:21px}
.tbp-success-card h3{margin:0 0 3px;font-size:19px;color:#173650}
.tbp-success-card p{margin:0;color:#718096;font-size:12px}
.tbp-receipt{gap:7px;margin:14px 0}
.tbp-receipt div{padding:9px 10px;border-radius:10px}
.tbp-receipt strong{font-size:12px;line-height:1.35}
.tbp-success-context{padding:9px 11px;background:#f7fafc;border:1px solid #e7edf2;border-radius:10px;color:#607588;font-size:11px;font-weight:700;margin-bottom:12px}
.tbp-success-context span{color:#a1adb7;margin:0 4px}
.tbp-admin-mode .tbp-modal{position:fixed!important;display:none!important;inset:0!important;background:rgba(10,27,44,.68)!important;z-index:999999!important;align-items:center!important;justify-content:center!important;padding:20px!important}
.tbp-admin-mode .tbp-modal.open{display:flex!important}
@media(max-width:700px){
 .tbp-modal{padding:10px}
 .tbp-modal-card{padding:20px 15px;max-height:92vh;border-radius:17px}
 .tbp-modal-selection{grid-template-columns:repeat(2,1fr)}
 .tbp-success-top{align-items:flex-start}
}
@media(max-width:430px){
 .tbp-modal-selection{grid-template-columns:1fr 1fr}
 .tbp-modal-selection strong{font-size:11px}
 .tbp-receipt{grid-template-columns:1fr 1fr}
 .tbp-success-card{padding:16px}
}

.tbp-modal-context{display:flex;align-items:center;gap:7px;margin:-7px 0 15px;padding:9px 11px;background:#fbfcfd;border:1px solid #e9eef2;border-radius:10px;color:#647789;font-size:11px;font-weight:800}.tbp-modal-context i{font-style:normal;color:#a7b2bb}

/* Turf Booking Pro 2.2.2 UI + booking-state refinement */
.tbp-app{background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);border:1px solid #dfe8ef;box-shadow:0 28px 80px rgba(8,56,106,.11)}
.tbp-hero{background:linear-gradient(135deg,#ffffff 0%,#f5fbfe 100%);padding:38px 38px 32px}
.tbp-hero h2{letter-spacing:-.025em;font-weight:800}
.tbp-legend{align-items:center;gap:12px;padding:9px 12px;border:1px solid #e7edf2;border-radius:999px;background:#fff;box-shadow:0 7px 20px rgba(20,45,70,.05)}
.tbp-dot.pending{background:#f4c542}.tbp-dot.booked{background:#e85d5d}.tbp-dot.available{background:#55b87a}.tbp-dot.off{background:#aab4bd}
.tbp-calendar-card,.tbp-booking-card{background:rgba(255,255,255,.82)}
.tbp-calendar-nav{margin-bottom:18px}.tbp-nav{border:1px solid #e5edf3;background:#fff;box-shadow:0 5px 15px rgba(20,45,70,.06)}
.tbp-current-month strong{font-weight:800;color:#173650}.tbp-day{background:#fff;border-color:#e6edf2;box-shadow:0 3px 10px rgba(20,45,70,.025)}
.tbp-day.available{background:#f3fbf6}.tbp-day.pending-date{background:#fff7d7;border-color:#f1d36c;color:#735b00}.tbp-day.pending-date:after{content:"";position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:6px;height:6px;background:#e8bd2f;border-radius:50%}.tbp-day.booked-date{background:#fff1f1;border-color:#efcaca;color:#9d3f3f}
.tbp-day.selected{background:linear-gradient(135deg,var(--tbp-primary),#0c4d82);color:#fff;border-color:var(--tbp-primary);box-shadow:0 7px 18px rgba(8,56,106,.18)}
.tbp-day.today:not(.selected){box-shadow:inset 0 0 0 2px var(--tbp-accent),0 3px 10px rgba(53,191,237,.08)}
.tbp-selection{background:linear-gradient(135deg,#f4f9fc,#f9fbfd);border:1px solid #e6eef3;box-shadow:0 7px 20px rgba(20,45,70,.04)}
.tbp-live-rate{background:#fff;box-shadow:0 6px 18px rgba(20,45,70,.04)}
.tbp-slot{position:relative;background:#f2fbf6;border-color:#cfe9d8;box-shadow:0 4px 12px rgba(30,110,65,.04)}
.tbp-slot:hover:not(:disabled){box-shadow:0 8px 20px rgba(20,80,50,.08)}
.tbp-slot.pending{background:#fff6cf;border-color:#efd06a;color:#6c5600;opacity:1}
.tbp-slot.pending strong,.tbp-slot.pending small{color:#765d00}.tbp-slot.accepted{background:#fff0f0;border-color:#efc5c5;color:#a53f3f;opacity:1}.tbp-slot.accepted strong,.tbp-slot.accepted small{color:#9b4242}.tbp-slot.past{background:#f4f6f8;border-color:#e1e6eb;color:#9aa5af}.tbp-slot.busy strong{text-decoration:none}
.tbp-slot.pending:before,.tbp-slot.accepted:before{content:"";position:absolute;top:9px;right:9px;width:7px;height:7px;border-radius:50%}.tbp-slot.pending:before{background:#e4b82d}.tbp-slot.accepted:before{background:#df5a5a}
.tbp-summary{background:linear-gradient(135deg,#f8fbfd,#f1f8fc);padding:18px 28px}.tbp-summary>button,.tbp-submit{background:linear-gradient(135deg,var(--tbp-primary),#0b4f86)}
.tbp-modal{backdrop-filter:blur(6px);background:rgba(8,24,40,.62)}.tbp-modal-card{box-shadow:0 30px 90px rgba(4,28,52,.32)}
.tbp-success-card{box-shadow:0 18px 45px rgba(15,38,64,.09)}
@media(max-width:600px){.tbp-hero{padding:25px 20px}.tbp-legend{width:max-content;max-width:100%;flex-wrap:wrap;border-radius:14px}.tbp-calendar-grid{gap:5px}.tbp-day{min-height:43px;border-radius:10px}.tbp-summary{padding:16px 18px}}

/* 2.2.3 exact reservation-range rendering */
.tbp-slot.blocked-range{cursor:not-allowed;opacity:1!important;pointer-events:none;box-shadow:none}.tbp-slot.blocked-range.pending{background:#fff3bf;border-color:#e8c54f}.tbp-slot.blocked-range.accepted{background:#fff0f0;border-color:#e9bebe}.tbp-slot.blocked-range small{font-weight:800}.tbp-slot.blocked-range.pending small{color:#7b6200}.tbp-slot.blocked-range.accepted small{color:#9a4141}

/* Turf Booking Pro 2.2.8 responsive + usability polish */
.tbp-app,.tbp-app *{box-sizing:border-box}
.tbp-app{width:100%;min-width:0}
.tbp-main>*,.tbp-booking-card,.tbp-calendar-card{min-width:0}
.tbp-nav{display:grid;place-items:center;line-height:1;font-weight:800;padding:0;flex:0 0 42px}
.tbp-calendar-nav{align-items:center}
.tbp-current-month{min-width:0;flex:1}
.tbp-slots{max-height:420px;min-height:110px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overscroll-behavior:contain}
.tbp-slot{min-height:66px;padding:14px 15px;display:flex;flex-direction:column;justify-content:center}
.tbp-slot strong{font-size:14px;line-height:1.35}
.tbp-slot small{font-size:11px;line-height:1.35}
.tbp-empty{min-height:110px;display:grid;place-items:center;text-align:center;padding:20px}
.tbp-modal{padding:16px}
.tbp-modal-card{width:min(720px,100%);overflow-x:hidden}
.tbp-form-grid{min-width:0}
.tbp-field{min-width:0}
.tbp-field input,.tbp-field select,.tbp-field textarea{min-width:0;max-width:100%;font-size:14px}
.tbp-field input::placeholder,.tbp-field textarea::placeholder{color:#9aa8b5;opacity:1}
.tbp-field textarea{height:100px;min-height:100px}

@media (max-width: 900px){
  .tbp-app{margin:14px auto;border-radius:20px}
  .tbp-main{grid-template-columns:1fr;min-height:0}
  .tbp-calendar-card{border-right:0;border-bottom:1px solid #edf1f5;padding:22px}
  .tbp-booking-card{padding:22px}
  .tbp-calendar-grid{gap:6px}
  .tbp-day{min-width:0;min-height:48px}
  .tbp-slots{max-height:460px}
}

@media (max-width: 767px){
  .tbp-app{width:calc(100% - 16px);margin:8px auto;border-radius:16px}
  .tbp-hero{padding:22px 17px 20px;display:block}
  .tbp-hero h2{font-size:25px;line-height:1.18}
  .tbp-hero p{font-size:13px;line-height:1.5}
  .tbp-legend{margin-top:14px;width:100%;justify-content:flex-start;gap:10px;padding:8px 10px}
  .tbp-calendar-card,.tbp-booking-card{padding:17px 14px}
  .tbp-calendar-nav{margin-bottom:14px;gap:8px}
  .tbp-nav{width:40px;height:40px;flex-basis:40px;font-size:25px;border-radius:11px}
  .tbp-current-month strong{font-size:16px}
  .tbp-week{gap:4px;margin-bottom:6px}
  .tbp-week span{font-size:10px}
  .tbp-calendar-grid{gap:4px}
  .tbp-day{min-height:42px;border-radius:9px;font-size:13px}
  .tbp-day.off:after{font-size:6px;bottom:2px}
  .tbp-day.pending-date:after,.tbp-day.booked-date:after{bottom:3px}
  .tbp-selection{padding:12px 13px;margin-bottom:13px}
  .tbp-selection strong{font-size:15px;line-height:1.35}
  .tbp-controls{grid-template-columns:1fr;gap:10px}
  .tbp-controls select{padding:11px 12px;min-height:44px}
  .tbp-live-rate{grid-template-columns:1fr 1fr;margin:13px 0;padding:11px}
  .tbp-slot-title{display:block;margin-top:6px}
  .tbp-slot-title h3{font-size:16px}
  .tbp-slot-title span{display:block;margin-top:4px;line-height:1.4}
  .tbp-slots{grid-template-columns:1fr;max-height:none;min-height:120px;gap:9px;padding-right:0}
  .tbp-slot{min-height:74px;padding:14px 15px;border-radius:12px}
  .tbp-slot strong{font-size:14px}
  .tbp-slot small{font-size:11px;margin-top:5px}
  .tbp-summary{display:block;padding:14px}
  .tbp-summary>div:first-child{margin-bottom:10px}
  .tbp-summary-price{margin:0 0 12px!important;text-align:left!important}
  .tbp-summary>button{width:100%;min-height:46px}
  .tbp-modal{padding:8px}
  .tbp-modal-card{width:100%;max-height:94vh;padding:19px 14px;border-radius:16px}
  .tbp-modal-head{padding-right:35px}
  .tbp-modal-head h3{font-size:19px}
  .tbp-modal-selection{grid-template-columns:1fr 1fr;gap:6px;padding:8px;margin:13px 0}
  .tbp-modal-selection div{padding:4px}
  .tbp-modal-selection strong{font-size:11px}
  .tbp-modal-context{margin:-5px 0 12px;flex-wrap:wrap;line-height:1.4}
  .tbp-form-grid{grid-template-columns:1fr;gap:10px}
  .tbp-field,.tbp-field[class*="cols-"]{grid-column:1 / -1!important}
  .tbp-field input,.tbp-field select,.tbp-field textarea{min-height:44px;padding:10px 11px}
  .tbp-field textarea{height:100px;min-height:100px}
  .tbp-submit{width:100%;min-height:46px}
  .tbp-success-card{padding:14px;border-radius:14px}
  .tbp-success-top{gap:9px;padding-right:30px}
  .tbp-success-icon{width:38px;height:38px;min-width:38px;border-radius:11px;font-size:19px}
  .tbp-success-card h3{font-size:17px}
  .tbp-success-card p{font-size:11px;line-height:1.45}
  .tbp-receipt{grid-template-columns:1fr 1fr;gap:6px;margin:11px 0}
  .tbp-receipt div{padding:8px}
  .tbp-receipt strong{font-size:11px}
  .tbp-success-context{font-size:10px;padding:8px;margin-bottom:10px}
  .tbp-close{width:32px;height:32px;top:10px;right:10px;font-size:20px}
}

@media (max-width: 380px){
  .tbp-app{width:calc(100% - 10px)}
  .tbp-calendar-card,.tbp-booking-card{padding:14px 10px}
  .tbp-day{min-height:39px;font-size:12px}
  .tbp-week span{font-size:9px}
  .tbp-modal-card{padding:17px 11px}
  .tbp-modal-selection{gap:5px}
  .tbp-receipt{grid-template-columns:1fr}
}

/* 2.2.9 mobile availability scrolling */
.tbp-slots{touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-width:thin}.tbp-slot.available{min-height:72px;display:flex;flex-direction:column;justify-content:center}.tbp-slot.blocked-range{min-height:72px;display:flex;flex-direction:column;justify-content:center;cursor:not-allowed}.tbp-dot.pending{background:#f2c94c}.tbp-slot.pending{background:#fff4c2;border-color:#f0d36a}.tbp-slot.accepted{background:#fdecec;border-color:#f1cccc}.tbp-day.pending-date:after{content:"";position:absolute;bottom:5px;left:50%;transform:translateX(-50%);width:5px;height:5px;background:#e5b52d;border-radius:50%}
@media(max-width:600px){.tbp-app{overflow:visible}.tbp-main{min-height:0}.tbp-calendar-card,.tbp-booking-card{min-width:0}.tbp-slots{max-height:none;overflow:visible;display:grid;grid-template-columns:1fr;gap:10px}.tbp-slot.available,.tbp-slot.blocked-range{min-height:78px;padding:15px}.tbp-slot strong{font-size:15px}.tbp-slot small{font-size:12px}.tbp-calendar-nav{gap:10px}.tbp-nav{flex:0 0 42px}.tbp-current-month{min-width:0;flex:1}.tbp-current-month strong{font-size:17px}.tbp-day{min-height:44px}.tbp-booking-card{padding-bottom:28px}}
@media(max-width:380px){.tbp-hero h2{font-size:23px}.tbp-week{gap:4px}.tbp-calendar-grid{gap:4px}.tbp-day{min-height:40px;border-radius:9px;font-size:12px}.tbp-nav{width:38px;height:38px;flex-basis:38px}.tbp-booking-card{padding:16px}.tbp-slot.available,.tbp-slot.blocked-range{min-height:74px}}


/* Turf Booking Pro 2.2.10 theme controls and responsive total */
.tbp-app .tbp-summary>button,.tbp-app .tbp-submit{background:var(--tbp-button-bg);color:var(--tbp-button-text)}
.tbp-app .tbp-summary>button:hover,.tbp-app .tbp-submit:hover{background:var(--tbp-button-hover-bg);color:var(--tbp-button-hover-text);filter:none}
.tbp-app .tbp-nav:hover,.tbp-app .tbp-day:hover:not(.past):not(.off),.tbp-app .tbp-slot:hover:not(:disabled),.tbp-app .tbp-controls select:hover,.tbp-app .tbp-field input:hover,.tbp-app .tbp-field select:hover,.tbp-app .tbp-field textarea:hover{background-color:var(--tbp-hover-bg);color:var(--tbp-hover-text)}
.tbp-app .tbp-summary{flex-wrap:wrap}.tbp-app .tbp-summary-price{min-width:120px}.tbp-app .tbp-summary>button{flex:0 0 auto}
@media(max-width:767px){.tbp-app .tbp-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tbp-app .tbp-summary>div:first-child{grid-column:1/-1;margin-bottom:0}.tbp-app .tbp-summary-price{margin:0!important;text-align:left!important;min-width:0}.tbp-app .tbp-summary>button{width:100%;grid-column:1/-1;min-width:0}.tbp-app .tbp-summary-price strong{font-size:20px;overflow-wrap:anywhere}}
@media(max-width:380px){.tbp-app .tbp-summary{grid-template-columns:1fr}.tbp-app .tbp-summary>div:first-child,.tbp-app .tbp-summary>button{grid-column:auto}}

/* Final app wrapper override: requested zero vertical margin and 15px radius. */
.tbp-app{margin:0;border-radius:15px}

/* v2.2.12: Compact Additional Notes field */
.tbp-field textarea#tbp-notes,
.tbp-field textarea[name="notes"]{height:50px;min-height:50px;max-height:50px;resize:vertical}

/* 2.2.16: fast booking submission state */
.tbp-submit.is-loading{opacity:.75;cursor:wait;pointer-events:none;position:relative;}
.tbp-submit.is-loading::after{content:' ';display:inline-block;width:14px;height:14px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:tbpSpin .65s linear infinite;}
@keyframes tbpSpin{to{transform:rotate(360deg)}}

/* Turf Booking Pro 2.2.20 - cross-device availability fix */
.tbp-app{max-width:1180px;width:min(1180px,calc(100% - 24px));margin-left:auto;margin-right:auto}
.tbp-main{width:100%;min-width:0}
.tbp-calendar-card,.tbp-booking-card{min-width:0;overflow:visible}
.tbp-slots{width:100%;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));visibility:visible;opacity:1}
.tbp-slot{width:100%;min-width:0;box-sizing:border-box}
@media (max-width: 900px){
  .tbp-app{width:calc(100% - 20px)}
  .tbp-main{grid-template-columns:1fr!important}
  .tbp-calendar-card,.tbp-booking-card{width:100%;min-width:0}
  .tbp-slots{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible}
}
@media (max-width: 767px){
  .tbp-app{width:calc(100% - 16px)}
  .tbp-slots{grid-template-columns:1fr!important;display:grid!important;max-height:none!important;overflow:visible!important}
  .tbp-slot{display:flex!important;min-height:76px}
  .tbp-slot-title{position:relative;z-index:1}
}
@media (max-width: 480px){
  .tbp-app{width:calc(100% - 10px)}
  .tbp-calendar-card,.tbp-booking-card{padding-left:10px!important;padding-right:10px!important}
  .tbp-day{min-width:0}
  .tbp-slots{gap:8px}
}

/* 2.2.21 availability error state */
.tbp-empty.tbp-error{color:#a94442;background:#fff7f7;border-color:#efcaca}
.tbp-day{touch-action:manipulation;-webkit-tap-highlight-color:transparent}

/* v2.2.22: calendar date hover text should remain white while keeping the configured hover background. */
.tbp-app .tbp-day:hover:not(.past):not(.off){color:#fff!important;}
.tbp-app .tbp-day:hover:not(.past):not(.off) *{color:#fff!important;}

/* v2.2.23: calendar date hover */
.tbp-app .tbp-day:hover:not(.past):not(.off){background:#1f7a46!important;color:#fff!important;border-color:#1f7a46!important;}
.tbp-app .tbp-day:hover:not(.past):not(.off) *{color:#fff!important;}
/* v2.2.24: Mobile screenshot-safe confirmation modal. Keep the confirmation\n   overlay outside the plugin app so parent transforms/overflow cannot clip it. */\nbody > .tbp-modal{\n  position:fixed !important;\n  inset:0 !important;\n  width:100vw !important;\n  height:100vh !important;\n  height:100dvh !important;\n  box-sizing:border-box !important;\n  z-index:2147483000 !important;\n  overflow-y:auto !important;\n  -webkit-overflow-scrolling:touch !important;\n  overscroll-behavior:contain !important;\n  align-items:flex-start !important;\n  padding:clamp(10px,3vw,24px) !important;\n}\nbody > .tbp-modal.open{display:flex !important;}\nbody > .tbp-modal .tbp-modal-card{\n  width:min(720px,100%) !important;\n  max-width:100% !important;\n  max-height:none !important;\n  margin:auto !important;\n  box-sizing:border-box !important;\n  overflow:visible !important;\n}\nbody > .tbp-modal .tbp-success-card{\n  break-inside:avoid;\n  -webkit-print-color-adjust:exact;\n  print-color-adjust:exact;\n}\n.tbp-success-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}\n@media(max-width:600px){\n  body > .tbp-modal{padding:8px !important;align-items:flex-start !important;}\n  body > .tbp-modal .tbp-modal-card{\n    width:100% !important;\n    margin:0 auto !important;\n    border-radius:14px !important;\n    padding:15px 11px !important;\n  }\n  body > .tbp-modal .tbp-success-card{padding:14px !important;}\n  body > .tbp-modal .tbp-success-top{padding-right:28px !important;}\n  body > .tbp-modal .tbp-success-actions{display:block !important;}\n  body > .tbp-modal .tbp-success-actions .tbp-submit{width:100% !important;}\n}\n@media(max-width:380px){\n  body > .tbp-modal .tbp-modal-card{padding:12px 9px !important;}\n  body > .tbp-modal .tbp-success-card{padding:11px !important;}\n  body > .tbp-modal .tbp-receipt{grid-template-columns:1fr !important;}\n}\n

/* v2.2.25: Force confirmation modal/button styling and make mobile confirmation
   screenshot-friendly across themes/page builders. */
html.tbp-modal-open,
body.tbp-modal-open{overflow:hidden !important;}

body > .tbp-modal,
body > .tbp-modal.open{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  box-sizing:border-box !important;
  z-index:2147483647 !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  padding:12px !important;
  background:rgba(10,27,44,.72) !important;
}
body > .tbp-modal:not(.open){display:none !important;}
body > .tbp-modal .tbp-modal-card{
  position:relative !important;
  width:min(720px,100%) !important;
  max-width:720px !important;
  max-height:none !important;
  height:auto !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  flex:0 0 auto !important;
}

/* Both Confirm Booking and Close buttons. */
body > .tbp-modal .tbp-submit,
body > .tbp-modal .tbp-success-actions .tbp-close-success{
  background:#f2b64a !important;
  background-image:none !important;
  color:#ffffff !important;
  border:1px solid #f2b64a !important;
  box-shadow:none !important;
  opacity:1 !important;
  filter:none !important;
}
body > .tbp-modal .tbp-submit:hover,
body > .tbp-modal .tbp-submit:focus,
body > .tbp-modal .tbp-success-actions .tbp-close-success:hover,
body > .tbp-modal .tbp-success-actions .tbp-close-success:focus{
  background:#1f7a46 !important;
  background-image:none !important;
  color:#ffffff !important;
  border-color:#1f7a46 !important;
  filter:none !important;
  transform:translateY(-1px);
}
body > .tbp-modal .tbp-submit:disabled{opacity:.75 !important;}

/* Top X close button */
body > .tbp-modal .tbp-close{
  background:#f2b64a !important;
  color:#ffffff !important;
  border:1px solid #f2b64a !important;
  box-shadow:none !important;
}
body > .tbp-modal .tbp-close:hover,
body > .tbp-modal .tbp-close:focus{
  background:#1f7a46 !important;
  color:#ffffff !important;
  border-color:#1f7a46 !important;
  transform:none !important;
}

/* Keep the complete confirmation receipt compact enough for a phone screenshot. */
body > .tbp-modal .tbp-success-card{
  width:100% !important;
  box-sizing:border-box !important;
  padding:18px !important;
  margin:0 !important;
}
body > .tbp-modal .tbp-success-top{gap:10px !important;}
body > .tbp-modal .tbp-success-icon{width:40px !important;height:40px !important;min-width:40px !important;}
body > .tbp-modal .tbp-success-card h3{font-size:19px !important;line-height:1.2 !important;}
body > .tbp-modal .tbp-success-card p{font-size:12px !important;line-height:1.4 !important;}
body > .tbp-modal .tbp-receipt{margin:12px 0 !important;gap:7px !important;}
body > .tbp-modal .tbp-receipt div{padding:9px !important;}
body > .tbp-modal .tbp-success-context{margin-bottom:9px !important;padding:8px 10px !important;}
body > .tbp-modal .tbp-success-actions{margin-top:9px !important;}
body > .tbp-modal .tbp-success-actions .tbp-close-success{margin-top:0 !important;}

@media (max-width:600px){
  body > .tbp-modal{padding:6px !important;}
  body > .tbp-modal .tbp-modal-card{width:100% !important;max-width:100% !important;border-radius:13px !important;padding:12px 10px !important;}
  body > .tbp-modal .tbp-success-card{padding:11px !important;border-radius:12px !important;}
  body > .tbp-modal .tbp-success-top{padding-right:26px !important;}
  body > .tbp-modal .tbp-success-card h3{font-size:16px !important;}
  body > .tbp-modal .tbp-success-card p{font-size:10.5px !important;}
  body > .tbp-modal .tbp-receipt{grid-template-columns:1fr 1fr !important;margin:9px 0 !important;gap:5px !important;}
  body > .tbp-modal .tbp-receipt div{padding:7px !important;}
  body > .tbp-modal .tbp-receipt small{font-size:8px !important;}
  body > .tbp-modal .tbp-receipt strong{font-size:11px !important;line-height:1.25 !important;overflow-wrap:anywhere !important;}
  body > .tbp-modal .tbp-success-context{font-size:9px !important;padding:6px 7px !important;margin-bottom:6px !important;overflow-wrap:anywhere !important;}
  body > .tbp-modal .tbp-success-actions{display:block !important;margin-top:6px !important;}
  body > .tbp-modal .tbp-success-actions .tbp-close-success{width:100% !important;min-height:40px !important;padding:9px 14px !important;}
}
@media (max-width:380px){
  body > .tbp-modal{padding:4px !important;}
  body > .tbp-modal .tbp-modal-card{padding:9px 7px !important;}
  body > .tbp-modal .tbp-success-card{padding:8px !important;}
  body > .tbp-modal .tbp-receipt{gap:4px !important;}
  body > .tbp-modal .tbp-receipt div{padding:6px !important;}
}


/* v2.2.26: mobile screenshot-safe success receipt.
   The success overlay uses document positioning so mobile screenshot/full-page
   capture tools include the confirmation instead of dropping a fixed layer. */
body > .tbp-modal.success-mode{
  position:absolute !important;
  top:0;
  left:0 !important;
  right:0 !important;
  bottom:auto !important;
  width:100vw !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  height:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  padding:16px !important;
  box-sizing:border-box !important;
}
body > .tbp-modal.success-mode .tbp-modal-card{
  width:min(680px,100%) !important;
  max-width:680px !important;
  max-height:calc(100vh - 32px) !important;
  max-height:calc(100dvh - 32px) !important;
  overflow:auto !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
}
body > .tbp-modal.success-mode .tbp-success-card{
  width:100% !important;
  box-sizing:border-box !important;
  margin:0 !important;
}
@media(max-width:600px){
  body > .tbp-modal.success-mode{
    padding:10px !important;
  }
  body > .tbp-modal.success-mode .tbp-modal-card{
    max-height:calc(100vh - 20px) !important;
    max-height:calc(100dvh - 20px) !important;
    border-radius:14px !important;
    padding:12px 10px !important;
  }
  body > .tbp-modal.success-mode .tbp-success-card{
    padding:10px !important;
  }
  body > .tbp-modal.success-mode .tbp-success-top{
    align-items:center !important;
    padding-right:28px !important;
  }
  body > .tbp-modal.success-mode .tbp-success-card h3{
    font-size:17px !important;
    line-height:1.2 !important;
    margin:3px 0 !important;
  }
  body > .tbp-modal.success-mode .tbp-success-card p{
    font-size:11px !important;
    line-height:1.35 !important;
  }
  body > .tbp-modal.success-mode .tbp-receipt{
    grid-template-columns:1fr 1fr !important;
    gap:5px !important;
    margin:9px 0 !important;
  }
  body > .tbp-modal.success-mode .tbp-receipt div{
    padding:7px !important;
    min-width:0 !important;
  }
  body > .tbp-modal.success-mode .tbp-receipt small{font-size:8px !important;}
  body > .tbp-modal.success-mode .tbp-receipt strong{
    font-size:11px !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }
  body > .tbp-modal.success-mode .tbp-success-context{
    font-size:9px !important;
    padding:6px 7px !important;
    margin-bottom:6px !important;
    overflow-wrap:anywhere !important;
  }
  body > .tbp-modal.success-mode .tbp-success-actions{
    display:block !important;
    margin-top:7px !important;
  }
  body > .tbp-modal.success-mode .tbp-success-actions .tbp-close-success{
    display:block !important;
    width:100% !important;
    min-height:40px !important;
  }
}


/* v2.2.27: reliable success confirmation display on mobile/tablet/desktop.
   The success receipt is a document-positioned layer attached directly to BODY. */
body > .tbp-modal.success-mode {
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:auto !important;
  width:100% !important;
  min-width:100% !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  height:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:20px !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  z-index:2147483647 !important;
  background:rgba(8,24,40,.62) !important;
  backdrop-filter:blur(6px) !important;
}
body > .tbp-modal.success-mode .tbp-modal-card {
  position:relative !important;
  width:min(680px,100%) !important;
  max-width:680px !important;
  max-height:none !important;
  height:auto !important;
  margin:auto !important;
  overflow:visible !important;
  flex:0 0 auto !important;
  transform:none !important;
}
body > .tbp-modal.success-mode .tbp-success-card {
  width:100% !important;
  margin:0 !important;
  box-sizing:border-box !important;
}
@media(max-width:600px){
  body > .tbp-modal.success-mode {
    padding:12px !important;
    align-items:center !important;
  }
  body > .tbp-modal.success-mode .tbp-modal-card {
    width:100% !important;
    max-width:100% !important;
    max-height:calc(100vh - 24px) !important;
    max-height:calc(100dvh - 24px) !important;
    overflow:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }
}

/* v2.2.28: stable modal overlay for booking form and success receipt.
   The backdrop is fixed and never scrolls; only the card may scroll when needed. */
html.tbp-modal-open,
body.tbp-modal-open{
  overflow:hidden !important;
  height:100% !important;
}
body > .tbp-modal{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100vh !important;
  height:100dvh !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  display:none !important;
  align-items:center !important;
  justify-content:center !important;
  padding:16px !important;
  margin:0 !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
  overscroll-behavior:none !important;
  z-index:2147483647 !important;
  background:rgba(8,24,40,.68) !important;
}
body > .tbp-modal.open{
  display:flex !important;
}
body > .tbp-modal .tbp-modal-card{
  position:relative !important;
  width:min(720px,100%) !important;
  max-width:720px !important;
  max-height:calc(100vh - 32px) !important;
  max-height:calc(100dvh - 32px) !important;
  height:auto !important;
  margin:0 auto !important;
  overflow:auto !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch !important;
  box-sizing:border-box !important;
  flex:0 1 auto !important;
}
body > .tbp-modal.success-mode{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100vh !important;
  height:100dvh !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:16px !important;
  overflow:hidden !important;
  overscroll-behavior:none !important;
  background:rgba(8,24,40,.68) !important;
}
body > .tbp-modal.success-mode .tbp-modal-card{
  width:min(680px,100%) !important;
  max-width:680px !important;
  max-height:calc(100vh - 32px) !important;
  max-height:calc(100dvh - 32px) !important;
  height:auto !important;
  margin:0 auto !important;
  overflow:auto !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch !important;
}
@media (max-width:767px){
  body > .tbp-modal,
  body > .tbp-modal.success-mode{
    padding:10px !important;
  }
  body > .tbp-modal .tbp-modal-card,
  body > .tbp-modal.success-mode .tbp-modal-card{
    max-height:calc(100vh - 20px) !important;
    max-height:calc(100dvh - 20px) !important;
    border-radius:16px !important;
  }
}

/* Screenshot instruction above the success Close button. */
body > .tbp-modal .tbp-screenshot-note{display:block;width:100%;box-sizing:border-box;margin:18px 0 10px;padding:12px 14px;text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;color:#475569;font-size:13px;font-weight:700;line-height:1.45;}
@media(max-width:600px){body > .tbp-modal .tbp-screenshot-note{margin-top:16px;padding:11px 12px;font-size:12px;}}
