.booking-detail-page{max-width:760px;margin:0 auto;padding-bottom:110px}.detail-hero{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.detail-hero>div{padding:14px;border-radius:18px;background:linear-gradient(180deg,#f0faf7,#fff);border:1px solid #dfebe7}.detail-hero small,.detail-hero strong,.detail-hero span{display:block}.detail-hero small{font-size:.5rem;color:#91a19b}.detail-hero strong{margin-top:4px;font-size:1.05rem;color:#0aa27b}.detail-hero span{margin-top:3px;color:#64756e;font-size:.54rem;font-weight:800}
.detail-status,.detail-payment-paid,.detail-payment-partially_paid,.detail-payment-unpaid,.detail-confirmed{padding:6px 8px;border-radius:999px;font-size:.48rem;font-weight:950;white-space:nowrap}.detail-confirmed,.detail-payment-paid{background:#e3f8ef;color:#008f6e}.detail-pending,.detail-hold,.detail-payment-unpaid{background:#fff3dc;color:#aa7418}.detail-cancelled,.detail-expired{background:#fff0f0;color:#c44c4c}
.detail-resource-list{display:grid;gap:7px}.detail-resource-row{display:grid;grid-template-columns:36px 1fr auto;gap:8px;align-items:center;padding:8px;border:1px solid #e7efec;border-radius:13px}.detail-resource-icon{width:36px;height:32px;border-radius:9px;display:grid;place-items:center;background:#e7f8f2;color:#00a67d}.detail-resource-row strong,.detail-resource-row small{display:block}.detail-resource-row strong{font-size:.6rem}.detail-resource-row small{margin-top:2px;color:#8b9893;font-size:.49rem}.detail-resource-row>b{font-size:.56rem;color:#25372f}
.detail-money-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.detail-money-grid>div{padding:9px;border-radius:12px;background:#fafcfc;border:1px solid #edf2f0}.detail-money-grid small,.detail-money-grid strong{display:block}.detail-money-grid small{font-size:.47rem;color:#98a49f}.detail-money-grid strong{margin-top:4px;font-size:.62rem}
.payment-instruction-row{display:flex;gap:9px;padding:9px 0;border-bottom:1px dashed #e2ece8}.payment-instruction-row>span{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#edf9f5}.payment-instruction-row small,.payment-instruction-row strong,.payment-instruction-row p{display:block}.payment-instruction-row small{font-size:.45rem;color:#98a49f}.payment-instruction-row strong{font-size:.6rem;margin-top:2px}.payment-instruction-row p{margin:2px 0 0;color:#73837c;font-size:.5rem}.payment-note{margin-top:8px;padding:8px;border-radius:11px;background:#fff9ea;color:#876d34;font-size:.5rem}
.detail-muted,.detail-policy{font-size:.53rem;color:#7c8b85;line-height:1.75;margin:6px 0}.detail-policy{padding:7px 8px;border-radius:10px;background:#f8fbfa}
.receipt-upload{display:grid;gap:7px}.receipt-drop{display:flex;align-items:center;gap:9px;min-height:52px;padding:8px 10px;border:1px dashed #cfe3dd;border-radius:12px;background:#fbfefd;cursor:pointer}.receipt-drop input{display:none}.receipt-drop span{font-size:.58rem;font-weight:900;color:#2d473e}.receipt-drop small{margin-inline-start:auto;color:#94a19c;font-size:.48rem;max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-action-button{border:0;border-radius:11px;min-height:39px;background:#08a981;color:#fff;font-size:.58rem;font-weight:950;cursor:pointer}.detail-form-message{font-size:.52rem;color:#7c8c85}.detail-form-message.ok{color:#008f6d}.detail-form-message.error{color:#c64a4a}.receipt-history{display:grid;gap:5px;margin-top:9px}.receipt-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:11px;background:#f8fbfa;border:1px solid #e8efec}.receipt-item>span{font-size:.9rem}.receipt-item strong,.receipt-item small{display:block}.receipt-item strong{font-size:.55rem}.receipt-item small{margin-top:2px;font-size:.46rem;color:#87958f}
.booking-chat{max-height:310px;overflow:auto;display:grid;gap:7px;padding:2px}.chat-bubble{max-width:84%;padding:8px 9px;border-radius:12px;background:#f3f7f5}.chat-bubble.mine{margin-inline-start:auto;background:#e7f8f2}.chat-bubble p{margin:0;font-size:.57rem;line-height:1.6}.chat-bubble a{display:block;margin-top:4px;color:#008f6e;font-size:.5rem;font-weight:900}.chat-bubble small{display:block;margin-top:4px;color:#98a49f;font-size:.43rem}.chat-empty{text-align:center;padding:18px;color:#98a49f;font-size:.52rem}.chat-compose{display:grid;grid-template-columns:1fr 34px 56px;gap:5px;margin-top:7px}.chat-compose input{min-width:0;border:1px solid #e1ebe7;border-radius:10px;padding:0 9px;height:36px;font-size:.56rem;outline:0}.chat-attach{height:36px;border:1px solid #e1ebe7;border-radius:10px;display:grid;place-items:center;cursor:pointer}.chat-attach input{display:none}.chat-attach span{font-size:.85rem}.chat-compose button{border:0;border-radius:10px;background:#08a981;color:#fff;font-size:.54rem;font-weight:950}.detail-cancel-button{width:100%;min-height:40px;border:1px solid #e5a8a8;background:#fff4f4;color:#c44c4c;border-radius:11px;font-size:.58rem;font-weight:950}
@media(max-width:390px){.detail-hero{grid-template-columns:1fr}.chat-compose{grid-template-columns:1fr 34px 52px}}
.customer-booking-list-modern{display:grid;gap:9px}.customer-booking-card{display:block;padding:11px 12px;border:1px solid #e2ece8;border-radius:16px;background:#fff;box-shadow:0 7px 21px rgba(17,57,48,.05)}.customer-booking-card-top,.customer-booking-card-date,.customer-booking-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.customer-booking-card-top strong{font-size:.62rem}.customer-booking-card-date{margin-top:8px}.customer-booking-card-date span{font-size:.53rem;color:#899791}.customer-booking-card-date b{font-size:.58rem;color:#2d4038}.customer-booking-card-resources{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.customer-booking-card-resources span{padding:5px 7px;background:#f2f8f6;color:#557069;border-radius:999px;font-size:.49rem;font-weight:850}.customer-booking-card-bottom{margin-top:9px;padding-top:8px;border-top:1px dashed #e1ebe7}.customer-booking-card-bottom strong{color:#00a27c;font-size:.68rem}.customer-booking-card-bottom span{font-size:.48rem;color:#87958f}.customer-booking-card-bottom b{font-size:.5rem;color:#00a27c}
/* Shared mobile details for sports, resources and booking history. */
body:has(.booking-mobile-page) .topbar,
body:has(.booking-mobile-page) .mobile-nav,
body:has(.booking-detail-page) .topbar,
body:has(.booking-detail-page) .mobile-nav{display:none}
.booking-inline-link{font-size:.5rem;color:#00a27c;font-weight:950}
.sport-detail-hero,.resource-detail-hero{overflow:hidden;border:1px solid #e1ece8;border-radius:19px;background:#fff;box-shadow:0 8px 24px rgba(17,57,48,.05);margin-bottom:12px}
.sport-detail-art{position:relative;min-height:210px;display:flex;align-items:flex-end;padding:14px;color:#fff;overflow:hidden;background:linear-gradient(145deg,#0a5e4f,#0ca67f)}
.sport-detail-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.sport-detail-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,28,23,.05),rgba(4,28,23,.78))}
.sport-detail-art>span{font-size:4rem;position:absolute;top:42px;right:50%;z-index:2;transform:translateX(50%);filter:drop-shadow(0 8px 12px rgba(0,0,0,.18))}
.sport-detail-art>div{position:relative;z-index:3;width:100%}.sport-detail-art small,.sport-detail-art strong{display:block}.sport-detail-art small{font-size:.5rem;opacity:.78}.sport-detail-art strong{font-size:1.15rem;margin-top:3px;font-weight:950}.sport-detail-art p{margin:5px 0 0;font-size:.55rem;line-height:1.65;max-width:92%;opacity:.9}
.sport-detail-resource-list{display:grid;gap:7px}.sport-detail-resource-card{display:grid;grid-template-columns:76px 1fr 18px;gap:9px;align-items:center;padding:7px;border:1px solid #e5eeeb;border-radius:13px;background:#fff}.sport-detail-resource-image{width:76px;height:60px;border-radius:10px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#155445,#0e9875);color:#fff}.sport-detail-resource-image img{width:100%;height:100%;object-fit:cover}.sport-detail-resource-image span{font-size:1.6rem}.sport-detail-resource-card div>small,.sport-detail-resource-card div>strong,.sport-detail-resource-card div>p{display:block}.sport-detail-resource-card div>small{color:#99a5a1;font-size:.46rem}.sport-detail-resource-card div>strong{font-size:.62rem;margin-top:2px}.sport-detail-resource-card div>p{margin:2px 0 0;color:#788b84;font-size:.49rem;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.sport-detail-resource-card>span{color:#00a37c;font-size:.85rem}
.resource-detail-photo{height:220px;position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#155445,#0c9f78)}.resource-detail-photo img{width:100%;height:100%;object-fit:cover}.resource-detail-photo>span:not(.resource-detail-status){font-size:4.3rem;color:#fff}.resource-detail-status{position:absolute;top:10px;left:10px;padding:5px 8px;border-radius:999px;font-size:.5rem;font-weight:950;background:#e3f8ef;color:#008f6d}.resource-detail-status.unavailable{background:#fff0f0;color:#c44c4c}
.resource-detail-copy{padding:12px 13px}.resource-detail-tags{display:flex;gap:5px;flex-wrap:wrap}.resource-detail-tags span{padding:4px 6px;border-radius:999px;background:#eef8f4;color:#048f70;font-size:.45rem;font-weight:900}.resource-detail-copy h2{margin:7px 0 3px;font-size:1rem}.resource-detail-copy p{margin:0 0 8px;color:#7b8c85;font-size:.55rem;line-height:1.7}.resource-detail-copy>strong{color:#00a27c;font-size:1rem}.resource-detail-copy>strong small{font-size:.48rem;color:#7d8d87;font-weight:800}
.resource-slot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.resource-slot{display:grid;gap:2px;padding:8px 5px;text-align:center;border-radius:11px;border:1px solid #e4ece9}.resource-slot span{font-size:.6rem;font-weight:950}.resource-slot small{font-size:.45rem}.resource-slot b{font-size:.47rem}.resource-slot.free{background:#effaf6;color:#008f6d;border-color:#d5efe5}.resource-slot.busy{background:#fff4e7;color:#9f6d1c;border-color:#f1dfc1}.booking-empty-state{padding:25px;text-align:center;border:1px dashed #d5e4df;border-radius:14px;color:#8a9994;font-size:.56rem}
@media(max-width:390px){.resource-slot-grid{grid-template-columns:repeat(3,1fr)}.sport-detail-art{min-height:195px}}

.customer-profile-mobile{max-width:760px;margin:0 auto;padding-bottom:110px}
.profile-card-modern{border-radius:18px;padding:14px;margin-bottom:10px}
.profile-actions-mobile{display:grid;gap:8px}
.profile-actions-mobile>a{display:grid;grid-template-columns:38px 1fr 18px;align-items:center;gap:9px;padding:11px;border:1px solid #e2ece8;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(17,50,43,.04)}
.profile-actions-mobile>a>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eaf8f3;color:#00a27b;font-size:1rem}
.profile-actions-mobile strong,.profile-actions-mobile small{display:block}.profile-actions-mobile strong{font-size:.62rem}.profile-actions-mobile small{margin-top:3px;color:#899791;font-size:.49rem;line-height:1.5}.profile-actions-mobile>b{color:#98a49f;font-size:.85rem}
.profile-actions-mobile .profile-admin-action{border-color:#bfeadd;background:linear-gradient(180deg,#effaf6,#fff)}
.profile-actions-mobile .profile-admin-action>span{background:#07aa83;color:#fff}
@media(min-width:621px){.customer-profile-mobile{padding-top:15px}}
