/* =========================================================
   AbsenKita - Tema tampilan
   ========================================================= */
:root {
  --ak-primary: #0f766e;
  --ak-primary-600: #0d9488;
  --ak-primary-700: #115e59;
  --ak-primary-050: #ecfdf9;
  --ak-accent: #f59e0b;
  --ak-ink: #0f172a;
  --ak-body: #334155;
  --ak-muted: #64748b;
  --ak-bg: #f4f7f6;
  --ak-border: #e3eae7;
  --ak-radius: 18px;
  --ak-shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
  --ak-shadow-lg: 0 18px 45px rgba(15, 23, 42, .12);

  --bs-primary: #0f766e;
  --bs-primary-rgb: 15, 118, 110;
  --bs-body-color: #334155;
  --bs-body-font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --bs-link-color: #0f766e;
  --bs-link-hover-color: #115e59;
  --bs-border-color: #e3eae7;
  --bs-border-radius: .75rem;
}

/* ---------- Dasar ---------- */
body.app-body {
  min-height: 100vh;
  font-size: .94rem;
  color: var(--ak-body);
  background-color: var(--ak-bg);
  background-image:
    radial-gradient(900px 480px at 100% -10%, rgba(13, 148, 136, .10), transparent 60%),
    radial-gradient(700px 420px at -10% 5%, rgba(20, 184, 166, .08), transparent 55%);
  background-attachment: fixed;
}

.app-shell { min-height: calc(100vh - 68px); }
.app-main { display: flex; flex-direction: column; min-width: 0; padding: 1.75rem 1.9rem 2.5rem; }
.app-main h1, .app-main h2 { color: var(--ak-ink); letter-spacing: -.02em; font-weight: 700; }
.app-main .border-bottom { border-color: var(--ak-border) !important; }
.text-secondary { color: var(--ak-muted) !important; }

/* ---------- Topbar ---------- */
.app-topbar {
  min-height: 68px;
  padding: .5rem 1rem;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--ak-border);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
.app-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--ak-ink);
  text-decoration: none;
  font-weight: 700;
}
.app-brand:hover { color: var(--ak-ink); }
.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 1.15rem;
  background: linear-gradient(135deg, #0f766e, #2dd4bf);
  box-shadow: 0 8px 18px rgba(15, 118, 110, .28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.05rem; }
.brand-text small {
  margin-top: .18rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ak-muted);
}

.btn-menu {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  margin-right: .5rem;
  color: var(--ak-ink);
  border: 1px solid var(--ak-border);
  background: #fff;
  border-radius: 12px;
}
.btn-menu:hover { background: var(--ak-primary-050); color: var(--ak-primary); }

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid #c9e9e2;
  background: var(--ak-primary-050);
  color: var(--ak-primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.user-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .28rem .7rem .28rem .32rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f5f8f7;
  color: var(--ak-ink);
  text-align: left;
}
.user-chip:hover, .user-chip:focus { background: var(--ak-primary-050); border-color: #c9e9e2; color: var(--ak-ink); }
.user-chip::after { margin-left: .15rem; color: var(--ak-muted); }
.avatar {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  background: linear-gradient(135deg, #134e4a, #0d9488);
}
.user-meta { display: flex; flex-direction: column; line-height: 1.15; }
.user-name { font-size: .85rem; font-weight: 700; }
.user-role { font-size: .68rem; color: var(--ak-muted); }

.dropdown-menu {
  border: 1px solid var(--ak-border);
  border-radius: 14px;
  padding: .4rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .7rem;
  border-radius: .55rem;
  font-size: .88rem;
  font-weight: 500;
}
.dropdown-item:hover, .dropdown-item:focus { background: var(--ak-primary-050); color: var(--ak-primary); }
.dropdown-divider { border-color: var(--ak-border); }

/* ---------- Sidebar ---------- */
.app-sidebar {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  min-height: 0;
  padding: 1rem .7rem 1.5rem;
  overflow-y: auto;
  color: #d8f3ec;
  background: linear-gradient(180deg, #0b3b34 0%, #0e4d43 55%, #0b3b34 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 234, 212, .35) transparent;
}
.app-sidebar::-webkit-scrollbar { width: 6px; }
.app-sidebar::-webkit-scrollbar-thumb { background: rgba(94, 234, 212, .3); border-radius: 6px; }
.app-sidebar .nav { display: flex; flex-direction: column; }
.sidebar-heading {
  margin: 0;
  padding: .95rem .75rem .35rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.app-sidebar .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: .1rem 0;
  padding: .62rem .75rem;
  border-radius: .7rem;
  color: rgba(232, 250, 245, .78);
  font-size: .87rem;
  font-weight: 500;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.app-sidebar .nav-link i { width: 1.15rem; flex: none; font-size: 1rem; text-align: center; opacity: .85; }
.app-sidebar .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); transform: translateX(2px); }
.app-sidebar .nav-link.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(45, 212, 191, .24), rgba(45, 212, 191, .07));
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .16);
}
.app-sidebar .nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 3px;
  background: #5eead4;
}
.app-sidebar .nav-link.active i { color: #5eead4; opacity: 1; }
.sidebar-foot {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1.1rem .15rem 0;
  padding: .8rem;
  border-radius: .9rem;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .06);
  font-size: .74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .66);
}
.sidebar-foot i { flex: none; margin-top: .1rem; color: #5eead4; font-size: 1rem; }
.sidebar-close {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .35rem .4rem .9rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: transparent;
  color: #ccfbf1;
  font-weight: 700;
  font-size: .9rem;
}
.sidebar-close i { font-size: 1.25rem; }

/* ---------- Kartu ---------- */
.card {
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  box-shadow: var(--ak-shadow-sm);
  background: #fff;
  overflow: hidden;
}
.card-header {
  padding: .95rem 1.25rem;
  background: linear-gradient(180deg, #fbfdfc, #f7faf9);
  border-bottom: 1px solid var(--ak-border);
  color: var(--ak-ink);
  font-weight: 700;
  letter-spacing: -.01em;
}
.card-body { padding: 1.25rem; }
.card-body > p:last-child { margin-bottom: 0; }
.card-footer {
  padding: .85rem 1.25rem;
  background: #fbfdfc;
  border-top: 1px solid var(--ak-border);
}

/* ---------- Hero dashboard ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(120% 180% at 100% 0%, rgba(45, 212, 191, .45), transparent 46%),
    linear-gradient(120deg, #0b3b34 0%, #0f766e 60%, #0d9488 100%);
  box-shadow: var(--ak-shadow-lg);
}
.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .06);
  pointer-events: none;
}
.hero h1 {
  margin: .55rem 0 .4rem;
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.hero p { max-width: 62ch; margin-bottom: 1.25rem; color: rgba(236, 254, 255, .82); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .12);
  color: #ccfbf1;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero .btn-light {
  border: 0;
  background: #fff;
  color: var(--ak-primary-700);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.hero .btn-light:hover { background: #ecfdf9; color: var(--ak-primary-700); }
.hero .btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero .btn-outline-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
.hero-art { align-items: center; margin-left: auto; padding-right: 1rem; font-size: 7rem; line-height: 1; color: rgba(255, 255, 255, .16); }

/* ---------- Statistik ---------- */
.stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--ak-border);
  border-radius: var(--ak-radius);
  background: #fff;
  box-shadow: var(--ak-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.stat-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: currentColor;
  opacity: .06;
}
.stat-card:hover { transform: translateY(-3px); border-color: #c9e9e2; box-shadow: 0 14px 30px rgba(15, 118, 110, .12); }
.stat-icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 1.4rem;
  color: rgb(var(--stat-rgb));
  background: rgba(var(--stat-rgb), .12);
}
.stat-value { color: var(--ak-ink); font-size: 1.85rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.stat-label { margin-top: .2rem; color: var(--ak-muted); font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.stat-card--teal { --stat-rgb: 13, 148, 136; }
.stat-card--indigo { --stat-rgb: 99, 102, 241; }
.stat-card--amber { --stat-rgb: 245, 158, 11; }
.stat-card--rose { --stat-rgb: 244, 63, 94; }
.stat-card--sky { --stat-rgb: 14, 165, 233; }
.stat-card--violet { --stat-rgb: 139, 92, 246; }

.section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem;
  margin: 1.9rem 0 1rem;
  color: var(--ak-ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ---------- Aksi cepat ---------- */
.quick-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ak-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--ak-shadow-sm);
  color: var(--ak-ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.quick-card:hover {
  transform: translateY(-3px);
  border-color: #bfe3dc;
  box-shadow: 0 14px 30px rgba(15, 118, 110, .12);
  color: var(--ak-ink);
}
.quick-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ak-primary-050);
  color: var(--ak-primary);
  font-size: 1.15rem;
}
.quick-title { font-size: .9rem; font-weight: 700; }
.quick-desc { font-size: .75rem; color: var(--ak-muted); }
.quick-arrow { margin-left: auto; color: #94a3b8; transition: transform .18s ease, color .18s ease; }
.quick-card:hover .quick-arrow { transform: translateX(3px); color: var(--ak-primary); }

/* ---------- Tombol ---------- */
.btn {
  --bs-btn-border-radius: .65rem;
  padding: .55rem 1rem;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  --bs-btn-bg: #0f766e;
  --bs-btn-border-color: #0f766e;
  --bs-btn-hover-bg: #115e59;
  --bs-btn-hover-border-color: #115e59;
  --bs-btn-active-bg: #0f403b;
  --bs-btn-active-border-color: #0f403b;
  --bs-btn-focus-shadow-rgb: 15, 118, 110;
  border: 0;
  background-image: linear-gradient(135deg, #0f766e, #0d9488);
  box-shadow: 0 6px 16px rgba(15, 118, 110, .22);
}
.btn-primary:hover {
  background-image: linear-gradient(135deg, #115e59, #0f766e);
  box-shadow: 0 10px 22px rgba(15, 118, 110, .28);
  transform: translateY(-1px);
}
.btn-outline-primary {
  --bs-btn-color: #0f766e;
  --bs-btn-border-color: #bfe3dc;
  --bs-btn-hover-bg: #0f766e;
  --bs-btn-hover-border-color: #0f766e;
  --bs-btn-active-bg: #115e59;
  --bs-btn-active-border-color: #115e59;
  --bs-btn-focus-shadow-rgb: 15, 118, 110;
}
.btn-outline-secondary {
  --bs-btn-color: #475569;
  --bs-btn-border-color: #dbe4e1;
  --bs-btn-hover-bg: #f1f5f3;
  --bs-btn-hover-color: #0f172a;
  --bs-btn-hover-border-color: #cbd5d1;
  --bs-btn-active-bg: #e8efec;
  --bs-btn-active-color: #0f172a;
  --bs-btn-active-border-color: #cbd5d1;
}
.btn-danger {
  --bs-btn-bg: #e11d48;
  --bs-btn-border-color: #e11d48;
  --bs-btn-hover-bg: #be123c;
  --bs-btn-hover-border-color: #be123c;
}
.btn-sm { padding: .35rem .7rem; font-size: .8rem; border-radius: .55rem; }

/* ---------- Form ---------- */
.form-label { margin-bottom: .35rem; color: #475569; font-size: .82rem; font-weight: 600; }
.form-control, .form-select {
  padding: .6rem .8rem;
  border-color: #dbe4e1;
  border-radius: .7rem;
  background-color: #fff;
  color: var(--ak-ink);
  font-size: .9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus, .form-select:focus {
  border-color: #5eead4;
  box-shadow: 0 0 0 .22rem rgba(13, 148, 136, .14);
}
.form-control::placeholder { color: #9aa8a3; }
textarea.form-control { min-height: 90px; }
.form-check-input:checked { background-color: var(--ak-primary); border-color: var(--ak-primary); }
.input-group-text { border-color: #dbe4e1; background: #f7faf9; border-radius: .7rem; }

/* ---------- Tabel ---------- */
.table {
  margin-bottom: 0;
  color: var(--ak-body);
  font-size: .9rem;
  --bs-table-striped-bg: #f9fbfa;
  --bs-table-hover-bg: #f0fdfa;
}
.table > :not(caption) > * > * { padding: .8rem 1rem; border-bottom-color: #eef2f0; vertical-align: middle; }
.table > thead th {
  white-space: nowrap;
  background: #f6faf8;
  border-bottom: 1px solid var(--ak-border);
  color: var(--ak-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.table-hover > tbody > tr:hover > * { background-color: #f0fdfa; }
.table tbody tr:last-child > * { border-bottom-color: transparent; }
.table-responsive { border-radius: var(--ak-radius); }

/* ---------- Alert & badge ---------- */
.alert {
  padding: .85rem 1.1rem;
  border: 0;
  border-radius: .85rem;
  font-size: .9rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
}
.alert-success { background: #ecfdf5; color: #065f46; }
.alert-danger { background: #fef2f2; color: #991b1b; }
.alert-warning { background: #fffbeb; color: #92400e; }
.alert-info { background: #eff6ff; color: #1e40af; }
.badge { padding: .45em .7em; border-radius: 999px; font-weight: 600; }

.progress { height: .6rem; border-radius: 999px; background: #e8f1ee; }
.progress-bar { border-radius: 999px; background: linear-gradient(90deg, #0d9488, #2dd4bf); }

/* ---------- Footer halaman ---------- */
.app-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ak-border);
  color: #94a3b8;
  font-size: .78rem;
}

/* =========================================================
   Halaman login
   ========================================================= */
body.auth-page {
  min-height: 100vh;
  font-size: .94rem;
  color: var(--ak-body);
  background-color: #eef5f3;
  background-image:
    radial-gradient(900px 500px at 100% 0%, rgba(13, 148, 136, .18), transparent 60%),
    radial-gradient(700px 460px at 0% 100%, rgba(15, 118, 110, .14), transparent 60%);
}
body.auth-page .app-shell { min-height: 100vh; }
body.auth-page .app-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem !important;
}
body.auth-page .app-foot { display: none; }
body.auth-page .app-spacer { display: none; }
.auth-wrap { display: flex; justify-content: center; width: 100%; }
.auth-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: min(100%, 1000px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .16);
}
.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  overflow: hidden;
  padding: 2.75rem;
  color: #fff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(45, 212, 191, .55), transparent 55%),
    linear-gradient(160deg, #0b3b34, #0f766e 65%, #0d9488);
}
.auth-visual::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, .08);
  pointer-events: none;
}
.auth-visual .auth-brand { margin-bottom: 1.2rem; color: #fff; }
.auth-visual h2 {
  max-width: 22ch;
  margin: 0;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.02em;
}
.auth-visual p { max-width: 38ch; margin: 0; color: rgba(236, 254, 255, .8); font-size: .9rem; }
.auth-features {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.auth-features li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(236, 254, 255, .9); font-size: .86rem; }
.auth-features i { margin-top: .05rem; color: #5eead4; font-size: 1rem; }
.auth-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none;
}
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 2.75rem; }
.auth-brand-mobile { display: none; }
.auth-eyebrow { color: #0d9488; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.auth-form h1 { margin: .35rem 0 .3rem; color: var(--ak-ink); font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.auth-form .text-secondary { font-size: .88rem; }
.field-icon { position: relative; }
.field-icon > .bi {
  position: absolute;
  top: 50%;
  left: .95rem;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: .95rem;
  pointer-events: none;
}
.field-icon .form-control { padding-left: 2.6rem; }
.field-icon .form-control.has-action { padding-right: 2.8rem; }
.field-action {
  position: absolute;
  top: 50%;
  right: .45rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
  border: 0;
  border-radius: .5rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
}
.field-action:hover { color: var(--ak-primary); background: var(--ak-primary-050); }
.auth-foot { margin: 1.5rem 0 0; color: #94a3b8; font-size: .78rem; text-align: center; }

/* =========================================================
   Responsif
   ========================================================= */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(15, 23, 42, .5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.sidebar-backdrop.show { opacity: 1; visibility: visible; }
body.sidebar-open { overflow: hidden; }

@media (max-width: 991.98px) {
  .auth-card { grid-template-columns: 1fr; max-width: 480px; }
  .auth-visual { display: none; }
  .auth-form { padding: 2rem 1.5rem; }
  .auth-brand-mobile { display: flex; margin-bottom: 1.5rem; }
}

@media (max-width: 767.98px) {
  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1045;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: none;
  }
  .app-sidebar.show { transform: none; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
  .sidebar-close { display: flex; }
  .app-main { padding: 1.25rem .9rem 2rem; }
  .hero { padding: 1.5rem; border-radius: 20px; }
  .brand-text small { display: none; }
  .app-foot { justify-content: center; text-align: center; }
}

@media (max-width: 575.98px) {
  .brand-text { display: none; }
  .hero { padding: 1.25rem; }
  .stat-card { padding: 1rem; gap: .8rem; }
  .stat-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .stat-value { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Cetak
   ========================================================= */
@media print {
  .navbar, .app-topbar, .sidebar, .app-sidebar, .no-print, .btn, form, .app-foot, .sidebar-backdrop { display: none !important; }
  .app-main, main { width: 100% !important; padding: 0 !important; }
  body, body.app-body { background: #fff !important; }
  .card { box-shadow: none !important; border-color: #ddd !important; break-inside: avoid; }
}
