/* V24 visual layer, scoped to the patient booking experience. The administrator's functionality remains unchanged. */
:root{--hospital-green:#116342;--hospital-deep:#0e4637;--hospital-mid:#1d7759;--hospital-light:#e4f6eb;--hospital-ink:#153c35}
body{background:#f4f8f7;color:var(--hospital-ink)}
body:not(.admin-screen)>header{height:auto;min-height:78px;padding:12px clamp(18px,4.5vw,76px);gap:32px;border-bottom:1px solid #e0ebe5;box-shadow:0 2px 24px #164e3610;position:relative;z-index:5}
body:not(.admin-screen)>header .brand{font-size:19px;gap:12px;white-space:nowrap;color:#174a39}
body:not(.admin-screen)>header .brand small{color:#5b8470;font-size:10px;font-weight:600;letter-spacing:.3px}
body:not(.admin-screen)>header .logo{height:47px;width:47px}
.hospital-menu{display:flex;align-items:center;gap:clamp(12px,2.2vw,30px);margin:auto;white-space:nowrap}
.hospital-menu a{color:#536b68;text-decoration:none;font-size:13px;font-weight:750;line-height:2;transition:color .2s}
.hospital-menu a.selected{color:var(--hospital-green);border-bottom:2px solid var(--hospital-green)}
.hospital-menu a:hover{color:var(--hospital-green)}
body:not(.admin-screen)>header>.row{gap:9px;flex-wrap:nowrap}
body:not(.admin-screen) #topPatientAccount{position:relative;min-width:0}
.v24-account-trigger{display:flex;align-items:center;gap:12px;border:1px solid #dfebe5;background:#f6faf8;padding:7px 11px;border-radius:28px;color:#284e44;min-width:148px;cursor:pointer;text-align:right}
.v24-account-trigger .user-icon{background:#e7eeeb;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:17px}
.v24-account-trigger strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:138px}
.v24-account-trigger small{margin:0;color:#759087;font-weight:600;font-size:10px}
.v24-account-trigger .arrow{color:#668878;font-size:12px}
.v24-account-popup{position:absolute;direction:rtl;top:calc(100% + 10px);left:0;min-width:195px;z-index:40;background:white;border:1px solid #dfebe5;box-shadow:0 16px 30px #113b3426;border-radius:16px;padding:7px}
.v24-account-popup button{width:100%;text-align:right;padding:11px 12px;border:0;background:transparent;border-radius:10px;color:#294a42;font-size:13px;font-weight:650}
.v24-account-popup button:hover{background:#edf7ef}
.v24-bell{position:relative;width:40px;height:40px;display:grid;place-items:center;background:#f1f6f4;border:1px solid #e2ece6;border-radius:50%;font-size:19px;color:#245a49;cursor:pointer}
.v24-bell-count{position:absolute;right:-3px;top:-4px;background:#d73752;color:white;font-size:10px;min-width:17px;height:17px;border-radius:50%;display:grid;place-items:center}
body:not(.staff-mode) #adminEntry,body:not(.staff-mode) #branchDeskEntry{display:none!important}
body:not(.admin-screen) #backBtn{display:none!important}
body:not(.admin-screen)>header .tag{display:none}
body:not(.admin-screen)>header .row>a.btn.outline{display:none}
body:not(.admin-screen) main#publicPage{max-width:none;padding:0;margin:0}
#publicPage .hero{min-height:158px;margin:0;background:linear-gradient(90deg,#e4f1ea9c,#f8fbf9 54%,#f6fbf9),url('profile-reception.webp') center 45%/cover;display:flex;align-items:center;justify-content:flex-start;padding:31px max(24px,calc((100vw - 1330px)/2));position:relative}
#publicPage .hero h1{font-size:clamp(26px,3vw,39px);font-weight:850;color:#0d6349;letter-spacing:-.5px}
#publicPage .hero p{font-size:14px;color:#617d74}
#publicPage .hero .tag{display:none}
#publicPage .branch-indicator{display:none}
#comingSoonGate{margin-top:36px}
#bookingFormWrap{max-width:1350px;margin:-13px auto 45px;padding:0 18px;position:relative;z-index:2}
#bookingFormWrap .preview-ribbon{font-size:12px;padding:9px 15px;margin:12px 0;border-radius:11px}
#bookingFormWrap #clinicPrototypeWarning{padding:8px 14px;font-size:11px;line-height:1.55;background:#fff9e9;border-color:#f1dfa7;margin-bottom:14px}
#bookingFormWrap>.steps{display:none}
#accountStatus{display:none}
.v24-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:25px 20px 20px;background:white;border:1px solid #e4ede8;border-radius:22px 22px 0 0;box-shadow:0 14px 40px #173e3511;position:relative;margin:0}
.v24-progress:before{content:'';height:2px;background:#d9e4df;position:absolute;top:43px;left:13%;right:13%;z-index:0}
.v24-progress-item{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:7px;color:#889995;font-size:13px;font-weight:720}
.v24-progress-item i{font-style:normal;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#edf2f0;color:#81918b;font-size:15px;border:3px solid white;box-shadow:0 0 0 2px #e0e7e4}
.v24-progress-item.active{color:#0d6244}.v24-progress-item.active i,.v24-progress-item.done i{background:#126547;color:#fff;box-shadow:0 0 0 2px #126547}.v24-progress-item.done{color:#2c7059}
.v24-shell{background:#fff;border:1px solid #e4ede8;border-top:0;border-radius:0 0 22px 22px;padding:20px 24px 30px;box-shadow:0 15px 45px #173e3510}
.v24-shell .card{border:0;box-shadow:none;padding:0;margin:0;border-radius:0}
.v24-shell .modern-top-card>h2{display:none}
.v24-top-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:18px}
.v24-top-fields label{font-size:13px;color:#304a46}
.v24-shell select,.v24-shell input,.v24-shell textarea{border:1px solid #d8e7df;border-radius:11px;min-height:48px;color:#254c43;background:white}
.v24-shell select:focus,.v24-shell input:focus,.v24-shell textarea:focus{border-color:#1b835d;box-shadow:0 0 0 3px #d2f0e0}
.v24-doctor-section{border:1px solid #e3ebe7;border-radius:16px;padding:17px 20px;margin-top:7px}
.v24-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}
.v24-section-head strong{font-size:17px;color:#154e3e}.v24-section-head small{font-size:11px;color:#84958e}
.v24-doc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.v24-doc-tile{display:flex;gap:10px;align-items:center;text-align:right;border:1px solid #dfe9e5;background:#fff;border-radius:13px;padding:12px;min-height:121px;transition:.18s;position:relative;min-width:0;color:#1b3b35}
.v24-doc-tile:hover{border-color:#7cbca0;background:#f6fcf8;transform:translateY(-1px)}
.v24-doc-tile.selected{border:2px solid #278461;background:#f2faf5;box-shadow:0 0 0 2px #d1ebdc}
.v24-doc-tile .avatar{width:82px;height:90px;flex:0 0 82px;border-radius:12px;object-fit:cover}
.v24-doc-info{min-width:0;display:flex;flex-direction:column;gap:6px;flex:1}
.v24-doc-info strong{font-size:13px;line-height:1.5;max-height:3em;overflow:hidden}
.v24-doc-info small{font-size:10px;line-height:1.5;color:#79908a;max-height:3em;overflow:hidden}
.v24-doc-action{border:1px solid #dbe8e2;border-radius:9px;padding:7px 6px;text-align:center;font-size:11px;font-weight:700;color:#326d57;background:#fff}
.v24-doc-tile.selected .v24-doc-action{background:#106347;color:white;border-color:#106347}
.v24-more-doctors{border:1px solid #dbebe3;color:#267052;background:#f1f8f4;border-radius:10px;padding:8px 13px;cursor:pointer;font-weight:700;font-size:12px}
.v24-trio{display:grid;grid-template-columns:1.35fr .65fr .76fr;gap:14px;align-items:stretch;margin-top:16px;direction:ltr}
.v24-trio>section{direction:rtl;border:1px solid #e1ebe6;border-radius:16px;padding:16px;min-width:0}
.v24-trio h3{font-size:17px;margin:0 0 14px;color:#1d4a3b}
.v24-calendar #doctorNotes{padding:10px;font-size:11px;line-height:1.7;margin:6px 0;border:0;background:#f1f8f3;color:#426e59}
.v24-calendar #doctorSchedule{margin:0}
.v24-calendar .doctor-calendar{background:#fff;padding:0;margin:0 0 18px;border:0;border-radius:0}
.v24-calendar .calendar-header{margin-bottom:10px}.v24-calendar .calendar-header strong{font-size:15px}
.v24-calendar .calendar-header .btn{background:#edf7f1;color:#116345;border:0;padding:8px 11px}
.v24-calendar .calendar-grid{gap:5px}
.v24-calendar .calendar-day{height:39px;border-radius:8px;font-size:13px}
.v24-calendar .calendar-day.available{background:#e4f7ea;color:#176b48}
.v24-calendar .calendar-day.selected{background:#106346!important;color:white!important}
.v24-calendar .calendar-grid .weekday{font-size:11px}
.v24-calendar .calendar-legend{margin-top:10px;font-size:11px}
.v24-calendar #nextDays{margin-top:12px}
.v24-calendar #nextDays button{font-size:11px;padding:7px;border-radius:8px}
.v24-calendar #dayAvailability .availability-panel{font-size:12px;background:#f2faf5;border:1px solid #d5e9dd;border-radius:12px;padding:10px;line-height:1.7}
.v24-calendar #dayAvailability .availability-panel strong{font-size:15px}
.v24-summary-card{display:flex;flex-direction:column;gap:14px}
.v24-summary-hero{display:flex;align-items:center;gap:11px;background:#f7faf8;border-radius:13px;padding:12px}
.v24-summary-hero .avatar{width:64px;height:68px;border-radius:12px;object-fit:cover;flex:0 0 64px}
.v24-summary-hero strong{font-size:12px;color:#163d31}.v24-summary-hero small{font-size:10px;color:#7b938a}
.v24-summary-details{display:grid;gap:8px;font-size:12px;color:#5b7469}
.v24-summary-details .line{display:flex;align-items:center;justify-content:space-between;gap:6px;border-bottom:1px solid #edf0ee;padding-bottom:8px}
.v24-summary-details b{color:#284d41;text-align:left;font-size:11px}
.v24-summary-status{background:#edf8f1;border-radius:11px;padding:15px;color:#126548;text-align:center;font-size:13px;font-weight:800}
.v24-summary-status.is-empty{background:#f2f5f4;color:#8a9892}
.v24-pay-card>.card>h2{display:none}
.v24-pay-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:17px!important}
.v24-pay-choices .switch{border:1px solid #dfe9e4;border-radius:12px;padding:13px 5px;min-height:86px;flex-direction:column;gap:8px;text-align:center;font-size:12px;font-weight:750;cursor:pointer;color:#3a5b4d}
.v24-pay-choices .switch input{width:auto;height:auto;min-height:0;margin:0;accent-color:#14774e}
.v24-pay-choices .switch.picked{border:1.5px solid #178261;background:#f0faf4}
.v24-pay-choices .pay-icon{font-size:19px}
.v24-pay-card #companyArea{display:block;grid-template-columns:1fr;gap:9px}
.v24-pay-card #companyArea .field{margin-bottom:12px}
.v24-pay-card #companyArea .field>label{font-size:12px}
.v24-pay-card #companyArea #company{display:none}
.v24-pay-card #selectedCompanyLogo{font-size:11px!important}
.v24-pay-card #selectedCompanyLogo .company-logo{width:48px;height:38px;object-fit:contain}
.v24-partner-btn{width:100%;border:1px solid #b2d6c3;background:#f9fefb;color:#154d38;border-radius:10px;padding:12px;text-align:right;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:700;min-height:48px}
.v24-pay-card textarea{min-height:68px;font-size:11px}
.v24-pay-card #bookingDisclaimer{font-size:10px;padding:10px;line-height:1.7;background:#eef7f2;border:0;color:#527461}
.v24-pay-card #submitBtn{width:100%;background:#106345;padding:15px;margin-top:10px;border-radius:10px;font-size:14px}
.v24-pay-card #submitState{display:block;font-size:10px;text-align:center}
.v24-partner-popup .partner-search{margin:10px 0 16px}
.v24-partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:49vh;overflow:auto}
.v24-partner-item{border:1px solid #e1ece6;border-radius:12px;background:white;padding:12px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:120px;color:#21483a;font-size:12px;font-weight:700}
.v24-partner-item:hover{background:#f1faf4;border-color:#6dbd91}
.v24-partner-item.selected{border-color:#187b4f;background:#f0faf3}
.v24-partner-item img{height:64px;width:100%;object-fit:contain}
.v24-partner-item .no-logo{height:56px;width:56px;display:grid;place-items:center;font-size:26px;background:#edf6ee;border-radius:13px}
.v24-pay-card .row:has(#submitBtn){display:block}
#myBookingsView{max-width:1250px;margin:30px auto}
body.admin-screen>header .hospital-menu{display:none}
@media(max-width:1230px){.hospital-menu{gap:11px}.hospital-menu a{font-size:11px}.v24-doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v24-trio{grid-template-columns:1.2fr .8fr}.v24-pay-card{grid-column:1/-1}}
@media(max-width:880px){body:not(.admin-screen)>header{flex-wrap:wrap;gap:10px;padding:12px 18px}.hospital-menu{width:100%;order:3;overflow:auto;justify-content:center;scrollbar-width:none}.hospital-menu a{font-size:12px}body:not(.admin-screen)>header .row{margin-right:auto}#publicPage .hero{padding:35px 26px;min-height:148px}#bookingFormWrap{padding:0 14px}.v24-shell{padding:18px}.v24-trio{grid-template-columns:1fr 1fr}.v24-calendar{grid-column:1/-1}.v24-pay-card{grid-column:1/-1}}
@media(max-width:620px){body:not(.admin-screen)>header{flex-direction:row;align-items:center;gap:10px}body:not(.admin-screen)>header .brand{font-size:14px}body:not(.admin-screen)>header .brand small{font-size:9px}body:not(.admin-screen)>header .logo{width:40px;height:40px}body:not(.admin-screen)>header .row{width:auto;flex:1;justify-content:flex-end}#topPatientAccount{flex:0 1 auto}.v24-account-trigger{min-width:115px;padding:5px 7px;gap:6px}.v24-account-trigger .user-icon{display:none}.v24-account-trigger strong{max-width:95px;font-size:11px}.hospital-menu{order:4;justify-content:flex-start;gap:18px;padding:4px 0 0}#publicPage .hero{padding:32px 18px;min-height:132px}#publicPage .hero h1{font-size:25px}#publicPage .hero p{font-size:11px}#bookingFormWrap{padding:0 9px;margin-top:-5px}.v24-progress{padding:16px 6px 14px}.v24-progress:before{top:33px}.v24-progress-item{font-size:10px;gap:6px}.v24-progress-item i{width:30px;height:30px;font-size:12px}.v24-shell{padding:13px}.v24-top-fields{grid-template-columns:1fr;gap:10px}.v24-doctor-section{padding:12px}.v24-doc-grid{grid-template-columns:1fr 1fr;gap:7px}.v24-doc-tile{padding:8px;min-height:100px;gap:7px;flex-direction:column;text-align:center}.v24-doc-tile .avatar{height:64px;width:64px;flex:0 0 64px;border-radius:50%}.v24-doc-info strong{font-size:11px;line-height:1.25}.v24-doc-info small{font-size:10px}.v24-doc-action{font-size:10px}.v24-trio{grid-template-columns:1fr;gap:10px}.v24-trio>section{padding:12px}.v24-calendar,.v24-pay-card{grid-column:auto}.v24-calendar .calendar-day{height:39px}.v24-partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v24-account-popup{left:0}.v24-section-head strong{font-size:15px}}
