@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap');
:root{--ink:#142a4a;--muted:#68758b;--blue:#113c70;--yellow:#EDAC06;--line:#e4e8ee;--bg:#f7f8fa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px Tajawal,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}header{background:white;display:flex;align-items:center;justify-content:space-between;padding:22px 6%;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:22px}.brand img{width:172px;max-height:65px;object-fit:contain}.brand b{font-size:26px}.brand b span{display:block;font-size:12px;color:var(--muted);font-weight:500}.divider{height:40px;border-right:1px solid var(--line)}nav{display:flex;gap:8px}button{border:1px solid var(--line);border-radius:9px;background:white;padding:11px 18px;color:var(--ink);font-weight:700}nav button{border:0;background:transparent}nav button.active{background:#eef3fa;color:var(--blue)}.demo{font-size:12px;background:#fff6d9;padding:8px 12px;border-radius:20px;color:#876216}.notice{font-size:12px;text-align:center;background:#eef2f7;padding:9px;color:#5f6c80}main{max-width:1180px;margin:auto;padding:40px 24px 64px}.hero{position:relative;background:var(--blue);color:white;padding:40px 44px;border-radius:18px;overflow:hidden;min-height:215px}.hero:after{content:"";position:absolute;width:250px;height:250px;border:45px solid #ffffff0a;border-radius:50%;left:-35px;top:-70px}.eyebrow{font-size:13px;letter-spacing:.3px;color:#c6d7ed}.hero h1{font-size:36px;margin:15px 0 10px;font-weight:800}.hero p{color:#d9e4f2;margin:0;line-height:1.8;max-width:640px}.meta{display:flex;gap:24px;flex-wrap:wrap;margin-top:25px;font-size:14px}.meta span{display:flex;gap:8px}.yellow{color:var(--yellow)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px;margin-top:28px}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:26px}.steps{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:26px;gap:10px}.step{color:var(--muted);font-size:14px}.step i{display:inline-grid;place-items:center;width:27px;height:27px;background:#edf0f4;border-radius:50%;font-style:normal;margin-left:8px}.step.current{color:var(--blue);font-weight:700}.step.current i{background:var(--blue);color:white}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}h2{font-size:22px;margin:0 0 8px}h3{font-size:17px;margin:0 0 9px}p{line-height:1.8}.muted{color:var(--muted);font-size:14px;margin:0}.search{max-width:230px}input,select{width:100%;border:1px solid #dce2e9;border-radius:9px;padding:12px;background:white;color:var(--ink);outline:none}input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #113c7011}.cards{display:grid;grid-template-columns:1fr 1fr;gap:13px}.teacher{display:flex;align-items:center;text-align:right;gap:14px;padding:19px;position:relative;transition:.15s}.teacher:hover{border-color:var(--blue);background:#fafcff;transform:translateY(-2px)}.avatar{width:46px;height:46px;display:grid;place-items:center;background:#edf3fa;color:var(--blue);border-radius:12px;font-size:22px}.teacher small{display:block;font-weight:400;color:var(--muted);margin-top:5px}.available{font-size:11px;color:#27765e;display:block;margin-top:9px}.arrow{margin-right:auto;color:#8994a6}.side-item{padding:17px 0;border-bottom:1px solid var(--line)}.side-item:last-child{border-bottom:0}.side-item small{color:var(--muted);display:block;margin-bottom:7px}.hint{background:#fff8e5;border:1px solid #f7e6ac;border-radius:12px;padding:18px;font-size:13px;line-height:1.9;margin-top:18px;color:#786227}.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.slot{font-size:14px;direction:ltr;padding:13px 5px}.slot.selected{background:var(--blue);color:white;border-color:var(--blue)}.slot:disabled{background:#f1f3f6;color:#a2aab7;cursor:default;text-decoration:line-through}.actions{display:flex;gap:12px;align-items:center;margin-top:25px}.primary{background:var(--blue);color:white;border-color:var(--blue)}.primary:disabled{opacity:.45;cursor:default}.subtle{border:0;background:transparent;color:var(--muted)}label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}.field{margin-bottom:20px}.summary{background:#f3f6fa;border-radius:10px;padding:18px;margin-bottom:24px;line-height:1.9}.success{text-align:center;padding:25px 5px}.check{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#e9f5ee;color:#268260;font-size:30px;margin:0 auto 20px}.success .summary{text-align:right;max-width:420px;margin:25px auto}.success .actions{justify-content:center;flex-wrap:wrap}.admin-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.tabs{display:flex;gap:8px;margin-bottom:25px}.tabs button.active{background:var(--blue);color:white}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}.stat span{display:block;color:var(--muted);font-size:13px;margin-bottom:14px}.stat b{font-size:30px}.stat small{color:#27765e;display:block;margin-top:8px}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar input,.toolbar select{max-width:240px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:14px;text-align:right}th{background:#f5f7fa;color:var(--muted);font-weight:500}th,td{padding:16px 13px;border-bottom:1px solid var(--line)}td button{padding:7px 10px;font-size:12px}.badge{background:#e9f5ee;color:#27765e;border-radius:15px;padding:5px 10px;font-size:12px}.empty{text-align:center;padding:45px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.break-row{display:flex;gap:12px;align-items:center;margin:12px 0}.break-row input{max-width:160px}.teacher-row{display:flex;gap:12px;margin:12px 0}.teacher-row input{min-width:0}.preview{padding:18px;background:#eef4fb;border-radius:10px;margin:20px 0;color:var(--blue)}footer{padding:25px 6%;border-top:1px solid var(--line);display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;background:white;color:var(--muted);font-size:13px}footer b{color:var(--ink)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:10px;padding:14px 24px;display:none;z-index:9;max-width:90%}dialog{border:0;border-radius:16px;padding:28px;width:min(480px,90%);color:var(--ink)}dialog::backdrop{background:#142a4a66}.danger{color:#ab3f3f}.print-only{display:none}@media(max-width:850px){.layout{grid-template-columns:1fr}.layout aside{display:none}.stats{grid-template-columns:1fr 1fr}.hero h1{font-size:28px}.brand img{width:130px}header{padding:16px 20px;flex-wrap:wrap}.demo{display:none}.brand b{font-size:22px}nav{margin-right:auto}main{padding:24px 16px 40px}.hero{padding:30px 24px}.cards{grid-template-columns:1fr 1fr}.section-head{flex-wrap:wrap}.slots{grid-template-columns:repeat(3,1fr)}}@media(max-width:520px){.cards,.form-grid{grid-template-columns:1fr}.steps{gap:3px}.step{font-size:12px}.step i{margin-left:3px;width:22px;height:22px}.panel{padding:20px}.admin-head{align-items:start;flex-direction:column}.brand{gap:12px}.brand img{width:115px}.divider{display:none}nav{width:100%;justify-content:center}.toolbar input,.toolbar select{max-width:none}.teacher-row{flex-wrap:wrap}.meta{gap:12px}.hero h1{font-size:25px}}@media print{body{background:white}header,.notice,footer,nav,.no-print,#toast{display:none!important}main{max-width:none;margin:0;padding:0}.print-only{display:block}.print-page{break-before:page;padding:20px}.print-page:first-child{break-before:auto}table{font-size:12px}th,td{padding:10px}.print-page h2{margin:15px 0}img{max-width:160px}}

.hero{border-top:4px solid var(--yellow)}.brand img{width:200px}button.primary{box-shadow:0 2px 0 #edac0640}.avatar{border-bottom:2px solid var(--yellow)}

.login-panel{max-width:460px;margin:40px auto;text-align:center;padding:40px 30px}.login-panel h1{font-size:28px}.login-lock{display:grid;place-items:center;width:64px;height:64px;border-radius:16px;background:#fff6da;color:#b78b22;font-size:30px;margin:0 auto 20px}.login-button{display:block;background:var(--blue);color:white;text-decoration:none;padding:16px;border-radius:9px;margin-top:30px;font-weight:700}.logout{color:var(--blue);font-size:14px;text-decoration:none;padding:12px}.logout:hover{text-decoration:underline}
header{position:relative;min-height:145px;padding-left:90px}.brand{flex-direction:column;align-items:center;gap:9px;width:240px}.brand .divider{display:none}.brand b{text-align:center;font-size:23px}.brand b span{margin-top:4px}.brand img{width:220px;max-height:65px}nav .admin-icon{position:absolute;left:24px;top:24px;width:44px;height:44px;padding:10px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:white;color:var(--blue)}nav .admin-icon:hover{background:#eef3fa}nav .admin-icon.active{background:var(--blue);color:white}.plus{font-size:23px;line-height:1;vertical-align:middle;display:inline-block;margin-left:7px}nav button[data-view=booking]{display:flex;align-items:center;gap:3px}.demo{margin-left:15px}@media(max-width:850px){header{min-height:155px;align-items:center;justify-content:center;padding:20px 65px}.brand{width:240px}nav{margin:0;width:auto}.brand img{width:210px}}@media(max-width:620px){header{flex-direction:column;gap:14px;padding:20px 65px;min-height:210px}nav{width:auto;margin:0}nav .admin-icon{top:20px;left:18px}.brand{gap:7px}.brand img{width:220px}.brand b{font-size:22px}}
