@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root{--navy:#14263d;--teal:#16a995;--page:#f3f6fa;--muted:#718096}
*{font-family:'Cairo',sans-serif}
body{background:var(--page);color:#24364b}
.app-topbar{background:var(--navy);min-height:66px}
.app-sidebar{background:#fff;min-height:calc(100vh - 66px);border-left:1px solid #e3e9f0}
.app-main{min-height:calc(100vh - 66px)}
.sidebar-link{display:flex;align-items:center;gap:10px;padding:11px 12px;margin:4px 0;border-radius:10px;text-decoration:none;color:#53667b;font-size:.92rem}
.sidebar-link:hover,.sidebar-link.active{background:#e5f7f3;color:#087f72}
.sidebar-icon{width:26px;text-align:center;font-weight:700}
.panel,.stat-card{background:#fff;border:1px solid #e3e9f0;border-radius:15px;box-shadow:0 4px 16px rgba(24,45,70,.035)}
.stat-card{padding:18px;height:100%}
.stat-label{font-size:.83rem;color:var(--muted)}
.stat-value{font-size:1.65rem;font-weight:800;color:var(--navy)}
.stat-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eaf7f4;color:#087f72;font-size:1.2rem}
.page-heading{font-weight:800;color:var(--navy)}
.form-label{font-size:.9rem;font-weight:600}
.form-control,.form-select{border-color:#dce4ed;min-height:43px}
.form-control:focus,.form-select:focus{border-color:#16a995;box-shadow:0 0 0 .2rem rgba(22,169,149,.12)}
.btn-primary{background:#117d72;border-color:#117d72}
.btn-primary:hover{background:#0b675e;border-color:#0b675e}
.table>:not(caption)>*>*{padding:.8rem .75rem;vertical-align:middle}
.status-pill{display:inline-block;border-radius:99px;padding:4px 10px;background:#eef2f7;font-size:.78rem;white-space:nowrap}
.status-pill.good{background:#e4f7ef;color:#167354}
.status-pill.wait{background:#fff2d9;color:#98630f}
.status-pill.work{background:#eaf1ff;color:#2856a0}
@media(max-width:991.98px){.app-sidebar{min-height:auto;border-left:0;border-bottom:1px solid #e3e9f0}.app-sidebar .sidebar-link{display:inline-flex;margin:2px}.app-main{padding:14px!important}}
@media print{.no-print,.app-topbar,.app-sidebar{display:none!important}.app-main{width:100%!important;max-width:100%!important;padding:0!important}.print-sheet{border:0!important;box-shadow:none!important}}

/* Modern responsive refinement */
:root{--navy:#101b34;--teal:#0ea5a0;--page:#f4f7fb;--muted:#718096}
body{background:radial-gradient(circle at 90% 0%,rgba(14,165,160,.07),transparent 28%),var(--page)}
.app-topbar{background:linear-gradient(115deg,#101b34,#172c4d);box-shadow:0 5px 22px rgba(16,27,52,.15)}
.app-sidebar{padding-top:22px!important;box-shadow:4px 0 24px rgba(20,40,70,.025)}
.sidebar-link{transition:background .18s ease,color .18s ease,transform .18s ease;border:1px solid transparent}
.sidebar-link:hover{transform:translateX(-2px)}
.sidebar-link.active{border-color:#c9f0e9;background:linear-gradient(110deg,#e5f8f4,#f2fbf9);font-weight:700}
.panel,.stat-card{border-color:#e5ebf3;border-radius:19px;box-shadow:0 8px 30px rgba(24,45,70,.045)}
.form-control,.form-select{border-radius:12px;background-color:#fff}
.btn{border-radius:11px;font-weight:700}.btn-primary{background:linear-gradient(135deg,#0e9588,#08766d);box-shadow:0 5px 12px rgba(8,118,109,.13)}
.hero-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px;background:linear-gradient(115deg,#fff,#f0fbf9);border:1px solid #dcefe9;border-radius:22px;box-shadow:0 8px 26px rgba(20,50,70,.04)}
.hero-mark{width:66px;height:66px;display:grid;place-items:center;border-radius:20px;background:#dff7f1;color:#087f72;font-size:2rem}
.eyebrow{font-size:.68rem;letter-spacing:.12em;font-weight:800;color:#0b9387}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.field-section{border:1px solid #e8edf4;border-radius:15px;padding:15px;background:#fcfdff}
.field-section .table thead th{font-size:.78rem;color:#728096;background:#f5f8fc;border-bottom:0}
.form-check-input{width:1.15rem;height:1.15rem;cursor:pointer}
.sticky-save{position:sticky;bottom:10px;display:flex;justify-content:flex-start;padding:10px 0;z-index:5}
.sticky-save .btn{box-shadow:0 8px 24px rgba(8,118,109,.25)}
@media(max-width:575px){.hero-panel{padding:20px}.hero-mark{width:50px;height:50px}.field-section{padding:10px}}
