/* ==========================================================
   css/style.css: Clean Bento / Linear Theme (Burgundy Edition)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --accent: #9f1239;
  --accent-hover: #881337;
  --accent-light: #e11d48;
  --accent-soft: rgba(159, 18, 57, 0.12);
}

html, body {
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-sans);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Kustomisasi scrollbar ramping & modern */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.6);
}
html.dark ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
}
html.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Cegah zoom otomatis di iOS saat input difokus */
input, select, textarea { font-size: 16px; font-family: inherit; }

/* Area aman perangkat (notch, home indicator) */
.safe-top { padding-top: env(safe-area-inset-top, 0px); }
.safe-bottom { padding-bottom: env(safe-area-inset-bottom, 0px); }

:focus-visible {
  outline: 2px solid #9f1239;
  outline-offset: 2px;
  border-radius: 10px;
}

/* ---------- Komponen Dasar: Bento Card & Surfaces ---------- */

.card {
  background: #fbf8f2;
  border: 1px solid rgba(120, 100, 80, 0.14);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(41, 34, 30, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
html.dark .card {
  background: #151113;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #29221e;
}
html.dark .card-title { color: #f8fafc; }

.label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4a3f38;
  letter-spacing: -0.01em;
}
html.dark .label { color: #cbd5e1; }
.label .req { color: #ef4444; }

.help {
  margin-top: 5px;
  font-size: 0.75rem;
  color: #786b60;
  line-height: 1.4;
}
html.dark .help { color: #94a3b8; }

/* ---------- Form Inputs & Controls ---------- */

.input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d9d0c3;
  border-radius: 12px;
  background: #fdfbf7;
  color: #29221e;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.input::placeholder { color: #9c8f82; }
.input:focus {
  border-color: #9f1239;
  box-shadow: 0 0 0 3px rgba(159, 18, 57, 0.14);
}
.input[readonly] { background: #f2ece1; color: #5c5047; }
.input:disabled { opacity: 0.6; cursor: not-allowed; }
html.dark .input {
  background: #0f0c0d;
  border-color: #2b2225;
  color: #fafafa;
}
html.dark .input[readonly] { background: #1a1416; color: #a1a1aa; }
html.dark .input::placeholder { color: #71717a; }
html.dark .input:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
}
.input.is-invalid { border-color: #ef4444 !important; }

/* Input dengan icon prefix */
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon-wrap .input-icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  pointer-events: none;
  z-index: 2;
}
html.dark .input-icon-wrap .input-icon-left {
  color: #64748b;
}
.input-icon-wrap .input {
  padding-left: 42px !important;
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field-error {
  display: none;
  margin-top: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ef4444;
}
.field-error:not(:empty) { display: block; }
html.dark .field-error { color: #f87171; }

/* ---------- Tombol (Apple / Stripe Premium) ---------- */

.btn-primary,
.btn-secondary,
.btn-danger,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary:active,
.btn-secondary:active,
.btn-danger:active,
.btn-ghost:active { transform: scale(0.98); }
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-danger:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(180deg, #be123c 0%, #881337 100%);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.12), 0 4px 12px rgba(159, 18, 57, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #9f1239 0%, #6b102d 100%);
  box-shadow: 0 2px 4px rgba(24, 24, 27, 0.16), 0 6px 18px rgba(159, 18, 57, 0.38);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-secondary {
  background: #fdfbf7;
  color: #29221e;
  border: 1px solid rgba(120, 100, 80, 0.22);
  box-shadow: 0 1px 2px rgba(41, 34, 30, 0.04);
}
.btn-secondary:hover:not(:disabled) {
  background: #f4efe6;
  border-color: rgba(159, 18, 57, 0.35);
  transform: translateY(-1px);
}
.btn-secondary:active { transform: translateY(0) scale(0.98); }
html.dark .btn-secondary {
  background: #1c1618;
  color: #f4f4f5;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
html.dark .btn-secondary:hover:not(:disabled) {
  background: #271e21;
  border-color: rgba(251, 113, 141, 0.3);
}

.btn-danger {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 4px 14px rgba(239, 68, 68, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-danger:hover:not(:disabled) {
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12), 0 6px 18px rgba(239, 68, 68, 0.38);
  transform: translateY(-1px);
}
.btn-danger:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  background: transparent;
  color: #9f1239;
  padding: 8px 14px;
  min-height: 40px;
  border-radius: 12px;
}
.btn-ghost:hover {
  background: rgba(159, 18, 57, 0.08);
}
html.dark .btn-ghost { color: #fb718d; }
html.dark .btn-ghost:hover { background: rgba(251, 113, 141, 0.12); }

/* Tombol berisi spinner saat loading */
.btn-primary.is-loading,
.btn-secondary.is-loading { pointer-events: none; opacity: 0.85; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.1s ease, color 0.18s ease;
}
.icon-btn:hover { background: rgba(148, 163, 184, 0.14); }
.icon-btn:active { transform: scale(0.92); }
html.dark .icon-btn:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Stat Card (Bento Clean Metric) ---------- */

.stat-card {
  background: #fbf8f2;
  border: 1px solid rgba(120, 100, 80, 0.14);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(41, 34, 30, 0.03);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(159, 18, 57, 0.08);
  border-color: rgba(159, 18, 57, 0.35);
}
html.dark .stat-card {
  background: #151113;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
html.dark .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.5);
  border-color: rgba(251, 113, 141, 0.3);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #786b60;
}
html.dark .stat-label { color: #94a3b8; }
.stat-value {
  margin-top: 6px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  word-break: break-word;
  color: #29221e;
}
html.dark .stat-value { color: #f8fafc; }

/* ---------- Badge (Translucent Pill) ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25rem;
  white-space: nowrap;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
}
.badge-success { background: #ecfdf5; color: #047857; border-color: rgba(5, 150, 105, 0.22); }
.badge-warning { background: #fffbeb; color: #b45309; border-color: rgba(217, 119, 6, 0.24); }
.badge-danger  { background: #fef2f2; color: #b91c1c; border-color: rgba(220, 38, 38, 0.22); }
.badge-info    { background: #fff1f3; color: #9f1239; border-color: rgba(159, 18, 57, 0.22); }
.badge-neutral { background: #f4f4f5; color: #52525b; border-color: rgba(161, 161, 170, 0.22); }

html.dark .badge-success { background: rgba(5, 150, 105, 0.16); color: #6ee7b7; border-color: rgba(110, 231, 183, 0.25); }
html.dark .badge-warning { background: rgba(217, 119, 6, 0.16); color: #fcd34d; border-color: rgba(252, 211, 77, 0.25); }
html.dark .badge-danger  { background: rgba(220, 38, 38, 0.18); color: #fca5a5; border-color: rgba(252, 165, 165, 0.25); }
html.dark .badge-info    { background: rgba(190, 18, 60, 0.2); color: #fda4b4; border-color: rgba(253, 164, 180, 0.25); }
html.dark .badge-neutral { background: rgba(161, 161, 170, 0.14); color: #d4d4d8; border-color: rgba(212, 212, 216, 0.18); }

/* ---------- Navigasi Bawah (Glassmorphic Dock — mobile only) ---------- */

/* Desktop nav in header */
.nav-item-desktop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-item-desktop:hover {
  color: #0f172a;
  background: rgba(148, 163, 184, 0.1);
}
.nav-item-desktop.is-active {
  color: #9f1239;
  background: rgba(159, 18, 57, 0.09);
}
html.dark .nav-item-desktop { color: #a1a1aa; }
html.dark .nav-item-desktop:hover {
  color: #fafafa;
  background: rgba(255, 255, 255, 0.07);
}
html.dark .nav-item-desktop.is-active {
  color: #fb718d;
  background: rgba(225, 29, 72, 0.16);
}

/* Scan button in desktop nav — subtle accent */
.nav-item-desktop--scan {
  color: #9f1239;
}
.nav-item-desktop--scan:hover {
  color: #881337;
  background: rgba(159, 18, 57, 0.1);
}
html.dark .nav-item-desktop--scan { color: #fb718d; }
html.dark .nav-item-desktop--scan:hover {
  color: #fda4b4;
  background: rgba(225, 29, 72, 0.16);
}

/* Mobile bottom nav item */

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 6px 8px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.1s ease;
}
.nav-item:hover {
  color: #0f172a;
  background: rgba(148, 163, 184, 0.08);
}
.nav-item.is-active {
  color: #9f1239;
  font-weight: 700;
}
html.dark .nav-item { color: #a1a1aa; }
html.dark .nav-item:hover {
  color: #fafafa;
  background: rgba(255, 255, 255, 0.05);
}
html.dark .nav-item.is-active {
  color: #fb718d;
}

.nav-fab {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: -24px;
  border: 4px solid #f4efe6;
  border-radius: 9999px;
  background: linear-gradient(135deg, #be123c 0%, #881337 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px -2px rgba(159, 18, 57, 0.45);
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease;
}
.nav-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px -2px rgba(159, 18, 57, 0.55);
}
.nav-fab:active { transform: scale(0.94); }
html.dark .nav-fab {
  border-color: #0c090a;
  box-shadow: 0 8px 24px -2px rgba(190, 18, 60, 0.5);
}

/* ---------- Modal (Bottom Sheet / Apple Dialog) ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(12, 9, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal.is-open { display: flex; }

.modal-panel {
  width: 100%;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background: #fbf8f2;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 20px 60px -15px rgba(41, 34, 30, 0.25);
  border: 1px solid rgba(120, 100, 80, 0.16);
  animation: sheet-up 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
html.dark .modal-panel {
  background: #151113;
  border-color: rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .modal { align-items: center; padding: 20px; }
  .modal-panel { max-width: 520px; border-radius: 24px; }
}

@keyframes sheet-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* ---------- Scanner QR ---------- */

#qrReader {
  width: 100%;
  min-height: 240px;
  overflow: hidden;
  border-radius: 20px;
  background: #151113;
}
#qrReader video {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}
#qrReader__dashboard,
#qrReader__header_message { display: none !important; }

.scan-frame {
  position: absolute;
  inset: 14% 12%;
  border: 2px solid #22c55e;
  border-radius: 20px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.scan-frame::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  top: 0;
  background: rgba(34, 197, 94, 0.9);
  animation: scan-line 2s ease-in-out infinite;
}
.relative > #qrReader { position: relative; }
@keyframes scan-line {
  0%, 100% { top: 6%; }
  50%      { top: 92%; }
}

/* ---------- Toast ---------- */

#toastRoot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  pointer-events: none;
}
@media (min-width: 768px) {
  #toastRoot { bottom: 24px; }
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.45;
  box-shadow: 0 12px 35px -5px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  pointer-events: auto;
  animation: toast-in 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.2s, transform 0.2s;
}
.toast.is-leaving { opacity: 0; transform: translateY(8px); }
.toast-success { background: #059669; }
.toast-error   { background: #dc2626; }
.toast-info    { background: #6b102d; }
.toast-warning { background: #d97706; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Loading & Skeleton ---------- */

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -4px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  border-radius: 16px;
  background: linear-gradient(90deg, #e8e1d5 25%, #f3ede2 37%, #e8e1d5 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
html.dark .skeleton {
  background: linear-gradient(90deg, #1f191b 25%, #2e2528 37%, #1f191b 63%);
  background-size: 400% 100%;
}
@keyframes shimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ---------- Area Cetak Label ---------- */

#printArea { display: none; }

@media print {
  @page { size: A4; margin: 10mm; }

  body * { visibility: hidden !important; }
  #printArea,
  #printArea * { visibility: visible !important; }

  #printArea {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #ffffff;
  }

  .print-grid {
    display: grid;
    grid-template-columns: repeat(var(--print-cols, 3), 1fr);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .label-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2mm;
    height: var(--label-height, 68mm);
    padding: var(--label-pad, 4mm);
    border: 0.2mm dashed #9ca3af;
    break-inside: avoid;
    text-align: center;
    color: #000000;
    background: #ffffff;
    overflow: hidden;
  }
  .label-cell img,
  .label-cell svg,
  .label-cell canvas {
    width: var(--qr-size, 40mm) !important;
    height: var(--qr-size, 40mm) !important;
  }
  .label-cell .label-kode { font-family: monospace; font-size: var(--kode-fs, 11pt); font-weight: 700; }
  .label-cell .label-nama { font-size: var(--nama-fs, 8pt); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

.label-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  color: #0f172a;
  text-align: center;
}
.label-cell .label-kode { font-family: var(--font-mono); font-weight: 700; font-size: 0.875rem; }
.label-cell .label-nama { font-size: 0.75rem; color: #475569; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Daftar Aset (Asset Item) ---------- */

.asset-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #fbf8f2;
  border: 1px solid rgba(120, 100, 80, 0.14);
  box-shadow: 0 1px 2px rgba(41, 34, 30, 0.03);
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, box-shadow 0.18s ease;
}
.asset-item:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 18, 57, 0.45);
  box-shadow: 0 8px 22px -4px rgba(159, 18, 57, 0.08);
}
.asset-item:active { transform: scale(0.99); }
html.dark .asset-item {
  background: #151113;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
html.dark .asset-item:hover {
  border-color: rgba(251, 113, 141, 0.4);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
}
.asset-item.is-selected {
  border-color: #9f1239;
  box-shadow: 0 0 0 2px rgba(159, 18, 57, 0.25), 0 4px 14px rgba(159, 18, 57, 0.14);
}
.asset-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  background: #eee7da;
  border: 1px solid rgba(120, 100, 80, 0.08);
}
html.dark .asset-thumb {
  background: #1f191b;
  border-color: rgba(255, 255, 255, 0.06);
}

/* ---------- Dashboard Charts Progress Bar ---------- */

#chartKategori .bg-brand-600,
#chartKondisi .bg-brand-600,
#chartLokasi .bg-brand-600 {
  background: linear-gradient(90deg, #881337 0%, #e11d48 70%, #f59e0b 100%) !important;
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alert list item hover */
#alertList button {
  transition: background-color 0.18s ease, transform 0.1s ease;
}
#alertList button:active {
  transform: scale(0.99);
}

/* ---------- Gerak Berkurang ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
