@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root{--navy:#082e67;--navy2:#0b3f87;--gold:#c89b3c;--bg:#f4f6f9;--line:#dbe1e8;--text:#13294b;--muted:#718096;--green:#198754;--red:#c62828;--white:#fff;--shadow:0 5px 18px rgba(14,38,72,.09)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Cairo,Tahoma,Arial,sans-serif;color:var(--text)}button,input{font:inherit}.hero{background:linear-gradient(135deg,#061f49,#0b3f87);color:#fff;border-bottom:4px solid var(--gold)}.hero-inner{max-width:1450px;margin:auto;min-height:150px;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:22px}.brand img{width:125px;height:125px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.15))}.brand h1{font-size:38px;margin:0 0 3px;font-weight:800;letter-spacing:-1px}.subtitle{font-size:23px;color:#e7c36c;font-weight:700}.header-actions{display:flex;gap:9px;align-items:center}.head-btn{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;padding:10px 14px;border-radius:9px;cursor:pointer;font-weight:700}.head-btn:hover{background:rgba(255,255,255,.16)}.file-btn{display:flex;align-items:center;gap:7px}.file-btn input,.option input{display:none}.page{max-width:1450px;margin:25px auto;padding:0 22px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(310px,.9fr);gap:18px}.main-col,.side-col{display:flex;flex-direction:column;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow:hidden}.panel-title{min-height:52px;background:linear-gradient(90deg,#0a3b7c,#0b4a94);color:#fff;padding:0 17px;display:flex;align-items:center;justify-content:space-between}.panel-title h2{font-size:17px;margin:0;font-weight:800}.title-icon{font-size:25px}.form-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:22px 25px 14px}.field label{display:block;font-size:14px;font-weight:700;margin-bottom:7px}.field input,.search-wrap input,.date-box input{width:100%;height:44px;border:1px solid #d6dde6;border-radius:8px;background:#fff;padding:0 13px;color:#25364f;outline:none}.field input:focus,.search-wrap input:focus,.date-box input:focus{border-color:#3674bd;box-shadow:0 0 0 3px rgba(54,116,189,.1)}.form-actions{padding:0 25px 20px;display:flex;gap:10px}.btn{height:42px;border-radius:8px;padding:0 19px;border:1px solid transparent;cursor:pointer;font-weight:800}.btn.primary{background:var(--navy);color:#fff}.btn.light{background:#fff;border-color:#cfd6df;color:#58667a}.btn.danger-outline{background:#fff;border-color:#e1a0a0;color:var(--red)}.list-title{gap:18px}.search-wrap{background:#fff;border-radius:8px;display:flex;align-items:center;width:min(470px,60%);height:40px;padding:0 10px;color:#8290a3}.search-wrap input{border:0;height:38px;box-shadow:none}.table-wrap{overflow:auto;padding:10px 12px 0}table{width:100%;border-collapse:separate;border-spacing:0;min-width:820px}th,td{border-bottom:1px solid #e4e9ef;padding:11px 10px;text-align:center;font-size:13px}th{background:#0b3d7d;color:#fff;font-weight:800}th:first-child{border-radius:0 7px 0 0}th:last-child{border-radius:7px 0 0 0}tbody tr:hover{background:#f8fbff}.actions{display:flex;justify-content:center;gap:6px}.action{height:32px;min-width:38px;border:1px solid #d8dee7;background:#fff;border-radius:6px;cursor:pointer;font-size:13px;font-weight:800}.action.print{color:#137a46;border-color:#b8ddc7}.action.edit{color:#1765b1}.action.delete{color:#d32f2f}.empty{padding:35px;text-align:center;color:#8a96a6;display:none}.list-footer{padding:10px 15px 15px;display:flex;justify-content:space-between;align-items:center;color:#5f6e80;font-size:13px}.pagination{display:flex;gap:5px;align-items:center}.pagination button,.pagination strong{width:35px;height:35px;border:1px solid #d4dce6;border-radius:6px;background:#fff;display:grid;place-items:center}.pagination strong{background:var(--navy);color:#fff;border-color:var(--navy)}.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}.stat{border:1px solid #e1e6ec;border-radius:8px;padding:12px;display:flex;align-items:center;gap:10px}.stat-icon{width:40px;height:40px;border-radius:8px;display:grid;place-items:center;font-size:20px;font-weight:900}.blue{background:#e6f0ff;color:#1565c0}.green{background:#e7f7ec;color:#168449}.gold{background:#fff4d9;color:#b27b0b}.purple{background:#eee9ff;color:#6d43c0}.stat small{display:block;color:#5e6d80;font-size:11px}.stat b{font-size:23px}.date-box{padding:18px}.date-box label{font-weight:700;font-size:13px}.date-box input{margin-top:7px}.day-message{margin-top:12px;background:#eef6ff;border:1px solid #cbdff8;border-radius:8px;padding:11px;text-align:center;color:#0b4a94;font-weight:800}.option{margin:12px;border-radius:8px;padding:12px;display:flex;align-items:center;gap:12px;cursor:pointer}.option span{font-size:24px}.option b,.option small{display:block}.option small{color:#68778a;font-size:11px;margin-top:2px}.option.backup{background:#e9f4ff;border:1px solid #c8e1fb;color:#0756a3}.option.restore{background:#eaf8ee;border:1px solid #c8e7d2;color:#15733e}.notice{background:#fff8e9;border:1px solid #f1dfb6;border-radius:10px;padding:17px 18px;color:#70501d}.notice b{font-size:15px}.notice p{font-size:12px;line-height:1.9;margin:7px 0 0}.modal{display:none}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;background:#14243d;color:#fff;padding:11px 18px;border-radius:8px;transition:.25s;z-index:20}.toast.show{opacity:1;transform:translate(-50%,0)}footer{margin-top:24px;background:#072d65;color:#fff;border-top:3px solid var(--gold);text-align:center;padding:12px;font-size:13px}@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.side-col{display:grid;grid-template-columns:1fr 1fr}.notice{grid-column:1/-1}.form-row{grid-template-columns:1fr 1fr}}@media(max-width:720px){.hero-inner{flex-direction:column;text-align:center}.brand{flex-direction:column;gap:5px}.brand img{width:90px;height:90px}.brand h1{font-size:26px}.subtitle{font-size:17px}.header-actions{width:100%;flex-wrap:wrap}.head-btn{flex:1}.side-col{display:flex}.form-row{grid-template-columns:1fr}.form-actions{flex-wrap:wrap}.list-title{align-items:stretch;flex-direction:column;padding:12px}.search-wrap{width:100%}}
