/* Arna Dairy CRM shell styling.
   Built on Bootstrap 5.3 semantics so light and dark come from data-bs-theme.
   Only the shell, the tiles, the tables and the small dairy specific bits live
   here; nothing overrides Bootstrap components wholesale. */

:root {
  --ad-sidebar-w: 268px;
  --ad-topbar-h: 62px;
  --ad-radius: 12px;
  --ad-brand: #0d6b52;
  --ad-brand-2: #14a06f;
  --ad-sidebar-bg: #0f2a24;
  --ad-sidebar-fg: #cfe6dd;
  --ad-sidebar-active: #14a06f;
  --ad-surface: #ffffff;
  --ad-page: #f2f5f4;
  --ad-line: rgba(15, 42, 36, .10);
  --ad-shadow: 0 1px 2px rgba(16, 40, 34, .06), 0 8px 24px rgba(16, 40, 34, .05);
}

[data-bs-theme="dark"] {
  --ad-brand: #19b37c;
  --ad-brand-2: #22c98d;
  --ad-sidebar-bg: #0b1714;
  --ad-sidebar-fg: #b9d6cb;
  --ad-surface: #16201d;
  --ad-page: #0e1614;
  --ad-line: rgba(255, 255, 255, .09);
  --ad-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .28);
}

html, body { height: 100%; }

body {
  background: var(--ad-page);
  font-size: .9rem;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

.btn-primary {
  --bs-btn-bg: var(--ad-brand);
  --bs-btn-border-color: var(--ad-brand);
  --bs-btn-hover-bg: var(--ad-brand-2);
  --bs-btn-hover-border-color: var(--ad-brand-2);
  --bs-btn-active-bg: var(--ad-brand);
  --bs-btn-active-border-color: var(--ad-brand);
  --bs-btn-disabled-bg: var(--ad-brand);
  --bs-btn-disabled-border-color: var(--ad-brand);
}

.card {
  background: var(--ad-surface);
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius);
  box-shadow: var(--ad-shadow);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--ad-line);
  font-weight: 600;
  font-size: .84rem;
  letter-spacing: .01em;
  padding: .68rem .9rem;
}

/* ------------------------------------------------------------------ sidebar */

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--ad-sidebar-w);
  background: var(--ad-sidebar-bg);
  color: var(--ad-sidebar-fg);
  display: flex;
  flex-direction: column;
  z-index: 1040;
  border-right: 1px solid rgba(0, 0, 0, .25);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--ad-brand-2), var(--ad-brand));
  color: #fff;
  font-size: 1.15rem;
  flex: 0 0 auto;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { color: #fff; font-size: .96rem; }
.brand-text small { color: rgba(255, 255, 255, .5); font-size: .7rem; }
.sidebar-close { margin-left: auto; color: var(--ad-sidebar-fg); }

.sidebar-search { position: relative; padding: .7rem .8rem .3rem; }
.sidebar-search i {
  position: absolute; left: 1.35rem; top: 1.12rem;
  color: rgba(255, 255, 255, .4); font-size: .8rem;
}
.sidebar-search .form-control {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .09);
  color: #fff;
  padding-left: 2rem;
}
.sidebar-search .form-control::placeholder { color: rgba(255, 255, 255, .38); }
.sidebar-search .form-control:focus {
  background: rgba(255, 255, 255, .1);
  border-color: var(--ad-brand-2);
  box-shadow: none; color: #fff;
}

.sidebar-nav { flex: 1 1 auto; overflow-y: auto; padding: .35rem .55rem 1rem; }
.sidebar-nav::-webkit-scrollbar { width: 8px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 8px; }

.nav-line {
  display: flex; align-items: center; gap: .55rem;
  padding: .42rem .6rem;
  border-radius: 8px;
  color: var(--ad-sidebar-fg);
  font-size: .845rem;
  line-height: 1.25;
}
.nav-line i { font-size: .95rem; width: 1.1rem; text-align: center; opacity: .85; flex: 0 0 auto; }
.nav-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-line:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-line.active { background: var(--ad-sidebar-active); color: #fff; font-weight: 600; }
.nav-line.active i { opacity: 1; }
.nav-line.sub { padding-left: .95rem; font-size: .82rem; }

.nav-group { margin-top: .18rem; }

.nav-group-head {
  display: flex; align-items: center; gap: .55rem;
  width: 100%;
  padding: .45rem .6rem;
  border: 0; border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
}
.nav-group-head:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-group-head i:first-child { font-size: .95rem; width: 1.1rem; text-align: center; }
.nav-group-head span { flex: 1 1 auto; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-count {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 0 .4rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-caret { transition: transform .16s ease; font-size: .7rem !important; opacity: .6; }
.nav-group-head.collapsed .nav-caret { transform: rotate(-90deg); }

.nav-group-body { padding: .1rem 0 .25rem .35rem; border-left: 1px solid rgba(255, 255, 255, .08); margin-left: 1.1rem; }

.sidebar-foot {
  display: flex; justify-content: space-between;
  padding: .5rem .9rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .7rem;
  color: rgba(255, 255, 255, .45);
}

.sidebar-scrim {
  position: fixed; inset: 0;
  background: rgba(4, 12, 10, .5);
  z-index: 1035;
  display: none;
}
body.nav-open .sidebar-scrim { display: block; }

/* -------------------------------------------------------------------- shell */

.shell {
  margin-left: var(--ad-sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky; top: 0; z-index: 1020;
  height: var(--ad-topbar-h);
  display: flex; align-items: center; gap: .6rem;
  padding: 0 1rem;
  background: color-mix(in srgb, var(--ad-surface) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ad-line);
}

.topbar-title { flex: 1 1 auto; min-width: 0; }
.topbar-title h1 { font-size: 1.02rem; font-weight: 600; margin: 0; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-title p { margin: 0; font-size: .74rem; color: var(--bs-secondary-color); }

.topbar-tools { display: flex; align-items: center; gap: .35rem; flex: 0 0 auto; }

.btn-icon {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: 9px;
  color: var(--bs-body-color);
  border: 1px solid transparent;
}
.btn-icon:hover { background: var(--bs-secondary-bg); }

.btn-plant, .btn-user {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--ad-line);
  border-radius: 9px;
  padding: .3rem .6rem;
  background: var(--ad-surface);
  color: var(--bs-body-color);
  max-width: 240px;
}
.btn-plant span, .btn-user span:not(.avatar) {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.plant-menu { max-height: 380px; overflow-y: auto; min-width: 260px; }

.avatar {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--ad-brand); color: #fff;
  font-size: .72rem; font-weight: 700;
  flex: 0 0 auto;
}

.badge-dot {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px;
  border-radius: 20px;
  background: var(--bs-danger);
  color: #fff;
  font-size: .62rem; font-weight: 700;
  display: grid; place-items: center;
  padding: 0 4px;
}

.content { flex: 1 1 auto; padding: 1rem 1rem 2rem; }

.foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem;
  padding: .7rem 1rem;
  border-top: 1px solid var(--ad-line);
  font-size: .72rem;
  color: var(--bs-secondary-color);
}

.flash-stack { margin-bottom: .75rem; }
.flash-stack .alert { padding: .5rem .8rem; font-size: .85rem; }

/* ------------------------------------------------------------ page furniture */

.page-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; flex-wrap: wrap;
  margin-bottom: .8rem;
}
.page-hint { font-size: .8rem; color: var(--bs-secondary-color); min-width: 0; }
.back-link { color: var(--ad-brand); font-weight: 600; }
.section-heading {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--bs-secondary-color);
  margin: 1.1rem 0 .5rem;
}

/* ------------------------------------------------------------------- tiles */

.tile-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: .6rem;
  margin-bottom: .85rem;
}
.tile-row.wide { grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); }

.tile {
  background: var(--ad-surface);
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius);
  padding: .65rem .8rem;
  box-shadow: var(--ad-shadow);
  border-left: 3px solid var(--ad-brand);
}
.tile-label {
  font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .045em; color: var(--bs-secondary-color);
}
.tile-value { font-size: 1.32rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tile-hint { font-size: .7rem; color: var(--bs-secondary-color); }

.tile.tone-good { border-left-color: var(--bs-success); }
.tile.tone-warn { border-left-color: var(--bs-warning); }
.tile.tone-bad, .tile.tone-danger { border-left-color: var(--bs-danger); }
.tile.tone-info { border-left-color: var(--bs-info); }

/* ------------------------------------------------------------------ alerts */

.alert-strip { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .85rem; }

.alert-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .7rem;
  border-radius: 20px;
  font-size: .78rem; font-weight: 500;
  border: 1px solid transparent;
}
.alert-pill.tone-warn {
  background: var(--bs-warning-bg-subtle); color: var(--bs-warning-text-emphasis);
  border-color: var(--bs-warning-border-subtle);
}
.alert-pill.tone-danger, .alert-pill.tone-bad {
  background: var(--bs-danger-bg-subtle); color: var(--bs-danger-text-emphasis);
  border-color: var(--bs-danger-border-subtle);
}
.alert-pill.tone-info {
  background: var(--bs-info-bg-subtle); color: var(--bs-info-text-emphasis);
  border-color: var(--bs-info-border-subtle);
}

.alert-list { list-style: none; margin: 0; padding: 0; }
.alert-row {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--ad-line);
}
.alert-row:last-child { border-bottom: 0; }
.alert-row.read { opacity: .58; }
.alert-icon { font-size: 1.05rem; flex: 0 0 auto; }
.alert-row.level-critical .alert-icon { color: var(--bs-danger); }
.alert-row.level-warning .alert-icon { color: var(--bs-warning); }
.alert-row.level-info .alert-icon { color: var(--bs-info); }
.alert-body { flex: 1 1 auto; min-width: 0; }
.alert-title { font-weight: 600; }
.alert-text { font-size: .82rem; color: var(--bs-secondary-color); }
.alert-meta { font-size: .72rem; color: var(--bs-tertiary-color); margin-top: .15rem; }
.alert-actions { flex: 0 0 auto; }

/* ------------------------------------------------------------------ filters */

.card-filters { margin-bottom: .8rem; }

.filter-head {
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
  padding: .6rem .75rem;
}
.search-wrap { position: relative; flex: 1 1 260px; min-width: 200px; }
.search-wrap i {
  position: absolute; left: .65rem; top: 50%; transform: translateY(-50%);
  color: var(--bs-tertiary-color); font-size: .82rem;
}
.search-wrap .form-control { padding-left: 2rem; font-size: .85rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .75rem .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .18rem .5rem;
  border-radius: 20px;
  background: var(--bs-secondary-bg);
  border: 1px solid var(--ad-line);
  color: var(--bs-body-color);
  font-size: .74rem;
}
.chip:hover { background: var(--bs-danger-bg-subtle); border-color: var(--bs-danger-border-subtle); }
.chip-label { color: var(--bs-secondary-color); }
.chip-value { font-weight: 600; }

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .55rem .6rem;
  padding: .2rem .75rem .8rem;
  border-top: 1px solid var(--ad-line);
  padding-top: .7rem;
}
.filter-cell.wide { grid-column: span 2; }
.filter-cell .form-label {
  font-size: .7rem; font-weight: 600; margin-bottom: .15rem;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--bs-secondary-color);
}

@media (max-width: 575.98px) {
  .filter-cell.wide { grid-column: span 1; }
}

/* ------------------------------------------------------------------- tables */

.card-table { overflow: hidden; }

.table-head, .table-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .6rem; flex-wrap: wrap;
  padding: .55rem .8rem;
}
.table-head { border-bottom: 1px solid var(--ad-line); }
.table-foot { border-top: 1px solid var(--ad-line); }
.table-count { font-size: .85rem; }
.table-size { display: flex; align-items: center; gap: .25rem; }

.size-pill {
  padding: .1rem .45rem;
  border-radius: 6px;
  font-size: .74rem;
  color: var(--bs-secondary-color);
  border: 1px solid transparent;
}
.size-pill:hover { background: var(--bs-secondary-bg); }
.size-pill.active { background: var(--ad-brand); color: #fff; font-weight: 600; }

.window-pills { display: flex; align-items: center; gap: .2rem; }

.table-scroll { overflow-x: auto; }

.data-table { margin: 0; font-size: .82rem; }
.data-table > thead > tr > th {
  position: sticky; top: 0; z-index: 2;
  background: var(--bs-secondary-bg);
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap;
  border-bottom: 1px solid var(--ad-line);
}
.data-table > tbody > tr > td { vertical-align: middle; }
.data-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table td { white-space: nowrap; }

.sort-link { color: inherit; display: inline-flex; align-items: center; gap: .25rem; }
.sort-link i { opacity: .25; font-size: .68rem; }
.sort-link:hover i { opacity: .6; }
.sort-link.asc i, .sort-link.desc i { opacity: 1; color: var(--ad-brand); }
.sort-link.asc i::before { content: "\F235"; }
.sort-link.desc i::before { content: "\F229"; }

.row-link { color: var(--ad-brand); font-weight: 600; }
.row-link:hover { text-decoration: underline; }

.row-actions { display: inline-flex; gap: .1rem; }
.row-actions .btn-icon { width: 28px; height: 28px; }

.sticky-actions {
  position: sticky; right: 0;
  background: var(--ad-surface);
  box-shadow: -6px 0 8px -8px rgba(0, 0, 0, .35);
}
.data-table > thead > tr > th.sticky-actions { background: var(--bs-secondary-bg); z-index: 3; }
.data-table > tbody > tr:hover > td.sticky-actions { background: var(--bs-tertiary-bg); }

.total-row th {
  background: var(--bs-secondary-bg);
  font-variant-numeric: tabular-nums;
  border-top: 2px solid var(--ad-line);
}

.empty-cell { text-align: center; padding: 2.2rem 1rem !important; color: var(--bs-secondary-color); }
.empty-cell i { font-size: 1.8rem; opacity: .35; display: block; margin-bottom: .4rem; }
.empty-cell p { margin-bottom: .6rem; }

/* --------------------------------------------------------------------- forms */

.form-shell { padding-bottom: 4.5rem; }
.card-form { margin-bottom: .8rem; }
.card-form .form-label { font-size: .76rem; font-weight: 600; margin-bottom: .2rem; }
.card-form .form-control, .card-form .form-select { font-size: .86rem; }
.card-form textarea.form-control { min-height: 76px; }
.check-cell { padding-top: 1.55rem; }
.req { color: var(--bs-danger); margin-left: .12rem; }
.invalid-note { color: var(--bs-danger); font-size: .74rem; margin-top: .15rem; }

.form-bar {
  position: sticky; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: .6rem; flex-wrap: wrap;
  padding: .6rem .85rem;
  background: color-mix(in srgb, var(--ad-surface) 94%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-radius);
  box-shadow: var(--ad-shadow);
}

/* -------------------------------------------------------------------- detail */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .7rem 1rem;
  margin: 0;
}
.detail-item dt {
  font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; color: var(--bs-secondary-color);
}
.detail-item dd { margin: 0; font-size: .88rem; word-break: break-word; }

.timeline { list-style: none; margin: 0; padding: .6rem .9rem; }
.timeline li { display: flex; gap: .6rem; padding-bottom: .8rem; position: relative; }
.timeline li:not(:last-child)::before {
  content: ""; position: absolute; left: 5px; top: 14px; bottom: 0;
  width: 1px; background: var(--ad-line);
}
.timeline .dot {
  width: 11px; height: 11px; border-radius: 50%;
  margin-top: 4px; flex: 0 0 auto;
  background: var(--bs-secondary-color);
}
.dot-create { background: var(--bs-success); }
.dot-update { background: var(--bs-warning); }
.dot-delete { background: var(--bs-danger); }
.dot-export { background: var(--bs-info); }
.dot-login, .dot-logout { background: var(--bs-secondary-color); }
.dot-login_failed { background: var(--bs-danger); }
.timeline-body { min-width: 0; }
.timeline-head { display: flex; gap: .45rem; align-items: baseline; flex-wrap: wrap; }
.timeline-body .small { word-break: break-word; }

.audit-changes { white-space: normal !important; max-width: 420px; font-size: .76rem;
  color: var(--bs-secondary-color); }
.badge.audit-create { background: var(--bs-success-bg-subtle); color: var(--bs-success-text-emphasis); }
.badge.audit-update { background: var(--bs-warning-bg-subtle); color: var(--bs-warning-text-emphasis); }
.badge.audit-delete { background: var(--bs-danger-bg-subtle); color: var(--bs-danger-text-emphasis); }
.badge.audit-export { background: var(--bs-info-bg-subtle); color: var(--bs-info-text-emphasis); }
.badge.audit-login, .badge.audit-logout { background: var(--bs-secondary-bg); color: var(--bs-secondary-color); }
.badge.audit-login_failed { background: var(--bs-danger-bg-subtle); color: var(--bs-danger-text-emphasis); }

/* ---------------------------------------------------------------- link cards */

.group-card, .report-card, .module-card {
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.group-card:hover, .report-card:hover, .module-card:hover {
  transform: translateY(-2px);
  border-color: var(--ad-brand);
  box-shadow: 0 8px 22px rgba(16, 40, 34, .12);
}

.group-icon, .report-icon, .module-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: inline-grid; place-items: center;
  background: var(--bs-secondary-bg);
  color: var(--ad-brand);
  font-size: 1.02rem;
  margin-bottom: .45rem;
}
.group-title, .report-title, .module-title { font-weight: 600; }
.group-count, .module-count { font-size: .78rem; color: var(--bs-secondary-color); }
.module-count { font-weight: 700; font-size: 1.05rem; color: var(--bs-body-color);
  font-variant-numeric: tabular-nums; }
.module-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.module-blurb, .report-blurb {
  font-size: .78rem; color: var(--bs-secondary-color); margin-top: .2rem;
}
.report-go { display: inline-block; margin-top: .5rem; font-size: .78rem;
  font-weight: 600; color: var(--ad-brand); }

.report-window {
  font-size: .78rem; color: var(--bs-secondary-color); margin-bottom: .7rem;
}

/* ---------------------------------------------------------------------- auth */

.auth-body { background: linear-gradient(140deg, #0f2a24, #123f33 55%, #0d6b52); }

.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.auth-panel {
  background: var(--ad-surface);
  border-radius: 16px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.auth-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.auth-brand strong { display: block; line-height: 1.1; }
.auth-brand small { color: var(--bs-secondary-color); font-size: .72rem; }
.auth-title { font-size: 1.3rem; font-weight: 700; margin-bottom: .1rem; }
.auth-sub { font-size: .82rem; color: var(--bs-secondary-color); margin-bottom: 1rem; }
.auth-foot { margin-top: 1rem; font-size: .7rem; color: var(--bs-tertiary-color); text-align: center; }

.auth-aside { color: rgba(255, 255, 255, .9); }
.auth-aside h2 { font-weight: 700; font-size: 1.9rem; margin-bottom: 1rem; }
.auth-aside ul { list-style: none; padding: 0; margin: 0; }
.auth-aside li { padding: .3rem 0; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.auth-aside li i { color: #6ee7b7; margin-right: .4rem; }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}

.error-wrap {
  min-height: 100vh;
  display: grid; place-content: center; text-align: center;
  color: #fff; gap: .3rem;
}
.error-wrap h1 { font-size: 3.4rem; font-weight: 800; margin: 0; }
.error-wrap p { color: rgba(255, 255, 255, .75); margin-bottom: 1rem; }
.error-mark { font-size: 2.4rem; color: #6ee7b7; }
.error-mark.danger { color: #fca5a5; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); transition: transform .18s ease; }
  body.nav-open .sidebar { transform: none; }
  .shell { margin-left: 0; }
  .content { padding: .8rem .7rem 2rem; }
  .topbar { padding: 0 .7rem; }
}

@media print {
  .sidebar, .topbar, .foot, .page-actions, .card-filters, .row-actions, .sticky-actions { display: none !important; }
  .shell { margin-left: 0; }
  .card { box-shadow: none; border-color: #ccc; }
}
