.appointment-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 1rem;align-items:end}.appointment-search{grid-column:span 2}.appointment-filter-actions{display:flex;gap:.6rem;align-items:center;padding-bottom:.9rem}.appointment-result-head,.appointment-pagination,.appointment-detail-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.appointment-result-head p{margin:.55rem 0}.appointment-table td small{display:block;margin-top:.25rem;color:var(--muted)}.appointment-status{display:inline-flex;border-radius:999px;padding:.32rem .58rem;font-size:.76rem;font-weight:800;background:#eee;color:#333}.status-confirmed{background:#e9f0fa;color:#245387}.status-completed{background:#e4f4ec;color:#176146}.status-no_show{background:#fff1d9;color:#77510d}.status-cancelled{background:#f7e4e7;color:#8b303c}.appointment-pagination{justify-content:flex-end;margin-top:1rem}.appointment-detail{width:min(960px,calc(100vw - 2rem));max-height:min(880px,calc(100vh - 2rem));overflow:auto}.appointment-detail h2{margin:.2rem 0}.appointment-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.appointment-detail-grid section{border:1px solid var(--line);border-radius:14px;padding:1rem}.appointment-detail-grid h3{margin-top:0}.appointment-detail dl{display:grid;grid-template-columns:minmax(110px,.7fr) 1.3fr;margin:0}.appointment-detail dt,.appointment-detail dd{margin:0;padding:.48rem 0;border-bottom:1px solid #f1e5e0}.appointment-detail dt{color:var(--muted)}.appointment-detail dd{font-weight:700;overflow-wrap:anywhere}.appointment-actions .actions{margin-top:.8rem}.appointment-reschedule-form{display:grid;grid-template-columns:1fr 1.4fr auto;gap:1rem;align-items:end}.appointment-slot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin-top:1rem}.appointment-slot-grid .booking-slot{display:grid;gap:.2rem;min-height:62px;padding:.65rem;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);cursor:pointer}.appointment-slot-grid .booking-slot:hover{border-color:var(--rose);background:var(--cream)}.appointment-slot-grid span{font-size:.72rem;color:var(--muted)}.appointment-history{display:grid;gap:.75rem;list-style:none;margin:0;padding:0}.appointment-history li{border-left:3px solid var(--blush);padding:.5rem .8rem;background:var(--cream)}.appointment-history strong,.appointment-history span{display:block}.appointment-history span{margin-top:.18rem;color:var(--muted);font-size:.8rem}.appointment-history p{margin:.35rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:1000px){.appointment-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.appointment-filters,.appointment-detail-grid,.appointment-reschedule-form{grid-template-columns:1fr}.appointment-search{grid-column:auto}.appointment-filter-actions{padding-bottom:0}.appointment-result-head{align-items:flex-start;flex-direction:column}.appointment-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-detail{width:calc(100vw - 1rem);padding:1rem}.appointment-detail-head .btn.small{min-height:44px}.appointment-detail dl{grid-template-columns:1fr}.appointment-detail dd{padding-top:0}.appointment-table{min-width:980px}}
