/* REPORT.PHP — selectable test cards */
.lab-test-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lab-test-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:20px;border-radius:18px;background:linear-gradient(145deg,#fff,#f8fcfc);min-height:190px;overflow:hidden}
.lab-test-item:before{content:"LAB TEST";position:absolute;right:16px;top:13px;letter-spacing:.12em;font-size:.62rem;font-weight:800;color:#8ca2ad}
.lab-test-item:hover{border-color:#0f766e;box-shadow:0 14px 30px #0f766e1c;transform:translateY(-4px)}
.lab-test-item input{position:absolute;opacity:0;pointer-events:none}
.lab-test-item label{display:flex;flex-direction:column;align-items:flex-start;padding-top:24px;min-width:0}
.lab-test-item label:before{content:"";width:22px;height:22px;border-radius:8px;border:2px solid #b8cdd3;position:absolute;left:18px;top:17px;background:#fff}
.lab-test-item label:after{content:"Select & Book";margin-top:auto;border:1px solid #0f766e;border-radius:9px;padding:8px 11px;color:#0f766e;font-size:.73rem;font-weight:800;transition:.2s}
.lab-test-item input:checked+label:before{content:"✓";display:grid;place-items:center;border-color:#0f766e;background:#0f766e;color:#fff;font-size:.78rem}
.lab-test-item input:checked+label:after{content:"Selected ✓";background:#0f766e;color:#fff}
.lab-test-item:has(input:checked){border-color:#0f766e;background:linear-gradient(145deg,#f1fbfa,#fff);box-shadow:0 10px 24px #0f766e20}
.lab-test-item strong{font-size:1.02rem;line-height:1.35;padding-right:4px}.lab-test-item small{line-height:1.45}.lab-test-item em{margin-top:8px;background:#fff4e5;border-radius:7px;padding:5px 7px;color:#b76200;line-height:1.35}
.lab-cost{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:3px;padding-top:26px}.lab-cost b:last-child{font-size:1.2rem}.lab-cost b:not(:last-child){font-size:.65rem;background:#ecfdf5;color:#087f5b;border-radius:99px;padding:3px 6px}
.lab-total{border:1px solid #cce9e5;background:linear-gradient(90deg,#e9f9f6,#f7fffe)}.lab-submit{box-shadow:0 12px 20px #0f766e33;transition:.2s}.lab-submit:hover{transform:translateY(-2px);box-shadow:0 16px 25px #0f766e45}
.lab-booking-panel form{display:flex;flex-direction:column}.lab-booking-panel form>.lab-test-list{order:-2}.lab-booking-panel form>.row{order:-1;display:none;margin-top:4px!important;padding:20px 0 4px;border-top:1px dashed #c7dce1;animation:labFormReveal .35s ease}.lab-booking-panel form>.lab-total,.lab-booking-panel form>.lab-submit{display:none}.lab-booking-panel form:has(input:checked)>.row{display:flex}.lab-booking-panel form:has(input:checked)>.lab-total,.lab-booking-panel form:has(input:checked)>.lab-submit{display:flex}.lab-booking-panel form:has(input:checked)>.lab-submit{justify-content:center;align-items:center}.lab-booking-panel form:not(:has(input:checked))>.lab-test-list:after{content:"Choose a test card to open the booking form";display:block;text-align:center;color:#63808c;font-size:.83rem;padding:2px 0 6px}.lab-test-item label:after{content:"Book This Test"}@keyframes labFormReveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.lab-test-list{grid-template-columns:1fr;gap:12px}.lab-test-item{min-height:155px;padding:16px}.lab-test-item:before{right:12px;top:10px}.lab-test-item label{padding-top:21px}.lab-test-item label:before{left:14px;top:14px}.lab-test-item strong{font-size:.94rem}.lab-cost{padding-top:24px}.lab-cost b:last-child{font-size:1.03rem}.lab-test-item label:after{padding:7px 9px;font-size:.68rem}}
