:root { --app-bg:#f5f7fb; --app-border:#e5e9f2; --app-text:#172033; }
body { background:var(--app-bg); color:var(--app-text); }
.app-navbar { background:#172033; box-shadow:0 2px 10px rgba(23,32,51,.12); }
.page-title { font-size:1.65rem; font-weight:650; letter-spacing:-.02em; }
.page-subtitle { color:#697386; }
.card { border:1px solid var(--app-border); border-radius:12px; box-shadow:0 3px 14px rgba(31,41,55,.05); }
.card-header { background:#fff; border-bottom:1px solid var(--app-border); padding:1rem 1.25rem; }
.form-label { font-weight:600; font-size:.9rem; margin-bottom:.4rem; }
.form-control,.form-select { min-height:44px; border-color:#d8deea; border-radius:8px; }
.form-control:focus,.form-select:focus { border-color:#7b8cf5; box-shadow:0 0 0 .2rem rgba(123,140,245,.12); }
.form-text { color:#7a8498; }
.btn { border-radius:8px; font-weight:600; }
.stat-card { padding:1.25rem; height:100%; }
.stat-label { color:#6f788b; font-size:.85rem; font-weight:600; }
.stat-value { font-size:1.65rem; font-weight:700; margin-top:.25rem; }
.k-grid { border-radius:10px; overflow:hidden; }
.section-gap { margin-bottom:1.5rem; }
.empty-state { padding:2.5rem 1rem; text-align:center; color:#737d91; }

.admin-page{max-width:1500px;margin:0 auto}.narrow-page{max-width:1050px}.page-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.5rem}.toolbar-actions{display:flex;gap:.6rem;flex-wrap:wrap}.admin-card{overflow:hidden}.form-section-title{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#6b7487;margin-bottom:1rem}.form-actions{display:flex;gap:.65rem;margin-top:2rem;padding-top:1.25rem;border-top:1px solid var(--app-border)}.status-badge{display:inline-flex;align-items:center;padding:.3rem .55rem;border-radius:999px;font-size:.76rem;font-weight:700}.status-badge.success{background:#e9f8ef;color:#18794e}.status-badge.warning{background:#fff5dc;color:#946200}.status-badge.danger{background:#fdecec;color:#b42318}.status-badge.muted{background:#eef1f5;color:#667085}.grid-subtext{font-size:.78rem;color:#737d91;margin-top:2px}.credential-line{display:flex;gap:1rem;align-items:center;margin-top:.35rem}.credential-line span{width:105px;color:#665f50}.credential-line code{word-break:break-all}.k-grid .k-table-td{vertical-align:middle}.k-grid .k-grid-header th{font-weight:700}.k-grid .k-pager{border-top:1px solid var(--app-border)}@media(max-width:768px){.page-toolbar{align-items:flex-start;flex-direction:column}.toolbar-actions{width:100%}.toolbar-actions .btn{flex:1}.credential-line{align-items:flex-start;flex-direction:column;gap:.15rem}}

.stat-heading{display:flex;align-items:center;justify-content:space-between;gap:.65rem;min-height:1.65rem}.stat-icon{width:1.1rem;height:1.1rem;flex:0 0 auto;color:#6476d9;background:#eef0ff;border-radius:6px;padding:.1rem;box-sizing:border-box}.stat-value{line-height:1.25}.navbar .dropdown-menu{min-width:12rem}.navbar .dropdown-item{padding:.55rem 1rem}
