:root {
    --asms-primary: #0b5d3b;      /* deep green */
    --asms-primary-dark: #08452c;
    --asms-accent: #f2b705;
    --asms-bg: #f4f6f5;
}
body { background: var(--asms-bg); min-height: 100vh; display: flex; flex-direction: column; }
.app-navbar { background: var(--asms-primary); }
.app-sidebar { width: 250px; flex: 0 0 250px; background: #fff; border-right: 1px solid #e3e7e5; min-height: calc(100vh - 56px); }
.app-sidebar .nav-link { color: #344; border-radius: .5rem; }
.app-sidebar .nav-link:hover { background: #eef4f1; }
.app-sidebar .nav-link.active { background: var(--asms-primary); color: #fff; }
.app-main { min-width: 0; }
.app-footer { margin-top: auto; }
.btn-primary { background: var(--asms-primary); border-color: var(--asms-primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--asms-primary-dark); border-color: var(--asms-primary-dark); }
.text-primary { color: var(--asms-primary) !important; }
.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); border-radius: .75rem; }
.stat-card .icon { width: 48px; height: 48px; border-radius: .75rem; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.page-title { font-weight: 600; margin-bottom: 1.25rem; }
.table > :not(caption) > * > * { vertical-align: middle; }

/* Guest pages */
.app-main-guest { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--asms-primary) 0%, #134e4a 100%); }
.auth-card { width: 100%; max-width: 460px; }
.auth-card.wide { max-width: 640px; }
.app-main-guest .alert { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 10; min-width: 300px; }
.hero h1 { font-weight: 700; }
.hero .feature { background: rgba(255,255,255,.08); border-radius: .75rem; padding: 1rem; color: #fff; }

@media (min-width: 992px) { .app-sidebar .offcanvas-body { display: flex; } }
