@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{font-family:'DM Sans',sans-serif;color:#17394a;background:#eff7fb;font-synthesis:none;--ink:#17394a;--muted:#75909c;--blue:#167b9c;--line:#deebf0;--radius:24px}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 95% 0%,#d7edf6,transparent 45%),#f3f8fb}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.055em;margin-top:0}h1{font-size:clamp(32px,4vw,54px);line-height:1.14;font-weight:800}h2{font-size:26px}h3{font-size:19px}p{line-height:1.6}button{transition:transform .18s,background .18s,box-shadow .18s}button:hover:not(:disabled){transform:translateY(-2px)}button:focus-visible,a:focus-visible{outline:3px solid #48a4c9;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #48a4c9;outline-offset:2px}input,select,textarea{border:1px solid #d5e3ea;border-radius:14px;background:#fff;padding:13px 15px;color:var(--ink);min-height:48px;width:100%}label{font-size:13px;font-weight:600;line-height:1.8}small{color:var(--muted)}
.app-shell,.app{max-width:1460px;margin:auto;min-height:100vh}.sidebar{background:rgba(255,255,255,.72);border-right:1px solid var(--line);backdrop-filter:blur(18px)}.brand{font-family:Manrope,sans-serif;font-weight:800;font-size:25px;letter-spacing:-1px}.logo-mark{color:#117e9d;background:#e0f3f8;border-radius:14px}.nav-item{border:0;background:transparent;color:#6d8996;border-radius:14px;text-align:left;font-weight:500}.nav-item.active{background:#e2f2f7;color:#117691;font-weight:700}.nav-item:hover{background:#edf5f8}.main-content,main{min-width:0}.topbar{border-bottom:1px solid var(--line)}.eyebrow,.section-kicker{text-transform:uppercase;letter-spacing:.15em;font-size:10px;font-weight:800;color:#478597}.muted,.subtitle{color:#75909c}.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#e4f3f8,#d8edf6 70%,#c8e5f1);border:1px solid #d6e9f1;border-radius:30px}.hero p{max-width:430px;color:#65838f}.hero::after{content:'';position:absolute;width:310px;height:310px;border:1px solid #ffffff80;border-radius:50%;right:-70px;bottom:-160px;pointer-events:none}.hero-art{filter:drop-shadow(0 25px 18px #398bac25)}.primary,.primary-button,.btn-primary{background:#167b9c;color:white;border:0;box-shadow:0 8px 20px #167b9c20;border-radius:13px;padding:13px 20px;font-weight:600}.secondary,.secondary-button,.btn-secondary{background:#fff;border:1px solid #dce8ed;color:#345c6d;border-radius:13px;padding:12px 20px}.card,.dentist-card,.appointment-card,.profile-card,.booking-card{background:rgba(255,255,255,.94);border:1px solid #e0ebef;border-radius:22px;box-shadow:0 7px 24px #43677905}.dentist-card{transition:box-shadow .2s,transform .2s}.dentist-card:hover{box-shadow:0 12px 30px #326a7e12;transform:translateY(-3px)}.avatar,.dentist-avatar{background:#e5f2f7;object-fit:cover;border-radius:18px}.tag,.badge,.chip{display:inline-flex;align-items:center;border-radius:100px;background:#edf6f9;color:#4d7d90;padding:5px 10px;font-size:11px;font-weight:600}.rating{color:#ad863d;font-weight:700}.search-box{background:#fff;border:1px solid #e0ebf0;border-radius:15px}.search-box input{border:0;background:transparent}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 18px}.section-heading h2{margin:0}.category,.category-button{border:1px solid #dce9ef;background:#fff;border-radius:17px;color:#476c7c}.category.active,.category-button.active{border-color:#69abc2;background:#e7f4f9;color:#167b9c}.category-icon{background:#eaf6fa;border-radius:14px;color:#398aa6}.status,.status-confirmed{background:#e4f5ed;color:#358163;border-radius:100px;padding:6px 10px;font-size:11px}.status-cancelled{background:#fae9e7;color:#b5665b}.empty-state{text-align:center;padding:50px 22px;border:1px dashed #cfdee5;border-radius:24px;color:#75909c}.modal-backdrop{background:#17394a50;backdrop-filter:blur(7px)}.modal{background:#fafdff;border:1px solid #fff;border-radius:28px;box-shadow:0 24px 100px #11394b35}.modal h2{letter-spacing:-.04em}.slot,.time-slot{background:#fff;border:1px solid #d9e7ed;border-radius:12px;padding:11px 14px;color:#547686}.slot.selected,.time-slot.selected{background:#167b9c;border-color:#167b9c;color:#fff}.notice,.demo-notice{background:#edf6fa;border:1px solid #d9eaf1;border-radius:14px;padding:12px 16px;color:#638290;font-size:12px}.error{color:#ac534c;background:#fff0ee;border-radius:12px;padding:10px 14px}.success{color:#337c62;background:#eaf7f0;border-radius:12px;padding:12px}.toast{background:#17394a;color:white;border-radius:16px;box-shadow:0 12px 32px #17394a25}.mobile-nav{background:#ffffffed;border-top:1px solid #dfebf0;backdrop-filter:blur(15px)}
@media(max-width:700px){h1{font-size:34px}.hero{border-radius:22px}.hero p{font-size:13px}.section-heading h2{font-size:22px}.card,.dentist-card,.appointment-card{border-radius:20px}.modal{border-radius:24px}.primary,.primary-button,.btn-primary{min-height:46px}body{background:#f3f8fb}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Android-first interaction polish */
button{min-height:44px}nav button{min-width:44px}.category{min-height:116px}.category.selected{border-color:#167b9c;background:#e6f4f9}.slot.chosen{background:#167b9c;color:#fff}.card-body h3{letter-spacing:-.025em}.tag{line-height:1.4}.portrait{background:radial-gradient(circle at 60% 30%,#f5fcff,#d6ebf2)}.panel{box-shadow:0 10px 35px #41687b06}.back{min-height:44px;margin-bottom:14px}.muted,.notice,small,.footer{color:#526f7d}.hero p{color:#4d6f7e}.category small{color:#526f7d}.floating{backdrop-filter:blur(12px)}.hero::after{z-index:0}.hero>div{position:relative;z-index:1}.primary{background:#147b9b}.primary:hover{background:#0c6888}.secondary:hover{background:#dceef5}.hero-art .tooth{filter:drop-shadow(10px 24px 18px #41849f40)}
@media(max-width:760px){header{border-bottom:0;background:#ffffffdd;backdrop-filter:blur(16px)}header nav{position:fixed;left:0;right:0;bottom:0;z-index:20;background:#ffffffed;backdrop-filter:blur(18px);border-top:1px solid #dce9ef;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:4px}header nav button{flex:1;min-height:48px;font-size:12px;padding:10px 6px;border-radius:12px;white-space:nowrap}.container{padding-bottom:30px}.footer{padding-bottom:calc(98px + env(safe-area-inset-bottom))}.toast{bottom:calc(85px + env(safe-area-inset-bottom))}.hero{padding:26px 24px}.hero h1{font-size:35px}.hero-art{margin-top:12px}.hero .primary{width:100%;text-align:center}.grid{gap:16px}.card-footer{gap:10px}.section-head{flex-wrap:wrap}.profile-head{align-items:flex-start}.profile-head h1{overflow-wrap:anywhere}.form-row{gap:0}.two-col{gap:18px}.category{padding:17px}.actions>*{flex:1;text-align:center}.confirmation h1{font-size:30px}.panel{padding:22px}.treatment .primary{width:100%}}
@media(max-width:360px){.container{padding-left:12px;padding-right:12px}.hero h1{font-size:30px}.floating{padding:8px 10px}.floating.two{top:18px}header nav button{font-size:11px}}
/* Professional and administration spaces */
.management-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.management-header h1{font-size:clamp(28px,4vw,42px);margin-bottom:10px}.management-header p{margin:0;color:#526f7d;max-width:610px}.management-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;align-items:start}.management-card{background:#fff;border:1px solid #dce9ef;border-radius:22px;padding:26px;min-width:0}.management-card h2{font-size:22px;letter-spacing:-.035em}.management-card h3{font-size:17px}.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}.admin-toolbar .search{margin:0;flex:1;min-width:180px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.admin-tabs button{border:1px solid #dbe8ee;background:#fff;border-radius:12px;padding:10px 15px;color:#526f7d}.admin-tabs button.active{background:#e4f3f8;border-color:#77b1c6;color:#126b87;font-weight:700}.status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:100px;font-size:11px;line-height:1.5;padding:6px 10px;font-weight:700;white-space:nowrap}.status-badge::before{content:'';height:6px;width:6px;border-radius:50%;background:currentColor}.status-badge.pending,.pill.pending{background:#fff4dc;color:#896216}.status-badge.approved,.pill.approved{background:#e6f5ec;color:#286c4d}.status-badge.inactive,.pill.inactive{background:#f0eef2;color:#706473}.table-scroll{overflow:auto;border:1px solid #dce9ef;border-radius:18px}.management-table{width:100%;border-collapse:collapse;background:#fff;text-align:left;font-size:13px}.management-table th{font-size:11px;letter-spacing:.04em;text-transform:uppercase;background:#f1f7fa;color:#526f7d;padding:15px 18px;font-weight:700}.management-table td{padding:17px 18px;border-top:1px solid #e6eef2;vertical-align:middle}.management-table td strong{display:block;line-height:1.6}.management-table td small{display:block;margin-top:3px}.management-table .actions{margin:0;gap:6px}.management-table button{font-size:12px;padding:10px 13px}.management-list{display:grid;gap:14px}.management-list>.management-card{padding:22px}.dentist-summary{display:flex;gap:15px;align-items:center;margin-bottom:18px}.dentist-summary .avatar{height:62px;width:62px;flex-shrink:0;font-size:22px;border-width:4px}.dentist-summary h3{margin:0 0 4px}.dentist-summary p{margin:0;font-size:13px}.professional-form textarea{min-height:108px;resize:vertical;line-height:1.5}.form-help{font-size:12px;line-height:1.6;color:#526f7d;margin:7px 0 0}.tariff-list{display:grid;gap:12px;margin:18px 0}.tariff-row{display:grid;grid-template-columns:minmax(120px,1fr) 100px 100px 44px;gap:12px;align-items:end;padding:14px 0;border-bottom:1px solid #e6eef2}.tariff-row label{margin:0 0 6px;font-size:12px}.tariff-row input,.tariff-row select{min-width:0}.tariff-row button{width:44px;padding:0;border-radius:12px;background:#fff0ee;color:#a95147}.tariff-row p{margin:0}.tariff-editor-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.admin-stat{padding:20px;border:1px solid #dce9ef;background:#fff;border-radius:18px}.admin-stat strong{display:block;font-family:Manrope,sans-serif;font-size:28px;margin:6px 0;color:#17394a}.admin-stat span{font-size:12px;color:#526f7d}.admin-note{border-left:3px solid #69abc2;padding:10px 15px;background:#edf6fa;border-radius:0 12px 12px 0;color:#526f7d;font-size:13px;line-height:1.6}.management-empty{text-align:center;padding:35px 20px;color:#526f7d}
@media(max-width:760px){.management-header{flex-direction:column;gap:16px}.management-header .primary{width:100%;text-align:center}.management-grid{grid-template-columns:1fr;gap:18px}.management-card{padding:20px}.admin-stats{gap:8px}.admin-stat{padding:14px 12px}.admin-stat strong{font-size:24px}.admin-stat span{font-size:11px}.admin-toolbar{align-items:stretch}.admin-toolbar .search{flex-basis:100%}.admin-toolbar>button,.admin-toolbar>select{flex:1}.management-table th,.management-table td{padding:13px 12px}.tariff-row{grid-template-columns:1fr 1fr 44px;gap:10px}.tariff-row>label:first-child,.tariff-row>.tariff-name{grid-column:1/-1}.tariff-row>div:first-child{grid-column:1/-1}.tariff-editor-header{flex-wrap:wrap}.management-list>.management-card{padding:18px}.dentist-summary{align-items:flex-start}.dentist-summary>div{min-width:0}.dentist-summary h3{overflow-wrap:anywhere}.admin-tabs{gap:6px}.admin-tabs button{flex:1;font-size:12px;padding:10px}.management-table .actions{flex-wrap:wrap}header nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}header nav::-webkit-scrollbar{display:none}header nav button{flex:1 0 auto;min-width:70px}}
/* Identity and secure professional access */
.status-badge.rejected,.pill.rejected{background:#fdece8;color:#a14838}.auth-shell{max-width:760px;margin:24px auto}.auth-card{background:#fff;border:1px solid #dce9ef;border-radius:26px;padding:32px;box-shadow:0 14px 50px #305c7010}.auth-card h1{font-size:32px;letter-spacing:-.04em;margin-bottom:12px}.auth-card>p{color:#526f7d;font-size:14px}.auth-tabs{display:flex;border:1px solid #dce9ef;padding:5px;border-radius:15px;background:#f2f8fa;gap:5px;margin:24px 0}.auth-tabs button{flex:1;background:transparent;color:#526f7d;padding:12px;border-radius:10px;font-weight:600}.auth-tabs button.active{background:#fff;color:#126b87;box-shadow:0 3px 12px #38586c10}.auth-fields{display:grid;gap:16px}.auth-fields label{margin:0 0 7px}.auth-fields .primary{width:100%;margin-top:6px}.auth-card .error,.auth-error{background:#fff0ed;color:#a14838;padding:12px 15px;border-radius:12px;font-size:13px;line-height:1.5}.session-banner{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 20px;background:#e6f3f8;border:1px solid #cfe5ee;border-radius:17px;margin-bottom:24px}.session-banner strong{display:block;font-size:14px}.session-banner small{display:block;margin-top:3px}.session-banner button{background:#fff;border:1px solid #cde2eb;border-radius:11px;padding:10px 14px;color:#326982;font-size:12px}.auth-note{background:#f0f7fa;border-radius:13px;padding:14px 16px;color:#526f7d;font-size:12px;line-height:1.65;margin:20px 0}.password-hint{color:#526f7d;font-size:12px;line-height:1.6;margin-top:8px}.professional-form input[type=checkbox],.tariff-row input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:#147b9b;flex:none}.tariff-row>label:first-child{display:flex;align-items:center;gap:10px;min-height:44px;line-height:1.4}.pending-approval{padding:20px;background:#fff7e7;border:1px solid #efdfb5;border-radius:17px;color:#715a25;line-height:1.6}.pending-approval h3{color:#715a25;margin-bottom:8px}
@media(max-width:760px){.auth-shell{margin:8px auto}.auth-card{padding:24px 20px;border-radius:22px}.auth-card h1{font-size:27px}.auth-tabs button{font-size:13px;padding:12px 8px}.session-banner{align-items:flex-start;padding:15px;flex-wrap:wrap}.session-banner>div{flex:1;min-width:160px}.session-banner button{min-height:44px}.auth-fields{gap:14px}.pending-approval{padding:17px}}
.auth-card .error:empty{display:none}.auth-card .auth-fields{gap:8px}.auth-card .auth-fields input{margin-bottom:10px}.auth-card>button[type=submit]{width:100%;margin-top:20px}.session-banner>span{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.pill.proposed,.status-badge.proposed{background:#e9effc;color:#455f99}.proposal-notice{background:#edf3fe;border:1px solid #d7e2f6;border-radius:14px;padding:15px;color:#455f83;font-size:13px;line-height:1.6}.reschedule-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.delivery-note{font-size:12px;color:#526f7d;line-height:1.6;margin-top:12px}.delivery-note.failed,.delivery-note.unconfigured{color:#896216}.reschedule-fields label{margin-top:10px}@media(max-width:760px){.reschedule-fields{grid-template-columns:1fr}.reschedule-fields>button{width:100%}}
/* Moroccan directory details */
.location-meta{font-size:13px;color:#526f7d;line-height:1.7;overflow-wrap:anywhere}.location-meta a{color:#126b87;text-decoration:none}.language-chip{display:inline-flex;padding:5px 10px;background:#edf6f9;color:#426d80;border:1px solid #deedf2;border-radius:100px;font-size:11px;margin:3px 4px 3px 0}.languages-field{display:flex;gap:8px 16px;flex-wrap:wrap;border:1px solid #dce9ef;border-radius:14px;padding:12px 15px}.languages-field label{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;font-size:13px}.languages-field input[type=checkbox],.consent-row input[type=checkbox]{width:20px;min-height:20px;height:20px;accent-color:#147b9b;flex-shrink:0}.consent-row{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:12px 0;font-size:12px;line-height:1.6}.consent-row input{margin-top:3px}.consent-row a{color:#126b87;text-underline-offset:3px}#city-filter{min-width:160px;width:auto;max-width:100%}@media(max-width:760px){#city-filter{width:100%}.languages-field{gap:4px 12px;padding:10px 12px}.language-chip{font-size:11px}.consent-row{font-size:12px}}
