/*
  Creovative Panel — tema utama #1d7373 (teal); kartu KPI #1d6b6b + ikon putih.
*/

body.panel-smart {
  --ps-bg: #f4faf9;
  --ps-surface: #ffffff;
  --ps-ink: #0f172a;
  --ps-mute: #64748b;
  --ps-primary: #1d7373;
  --ps-accent: #5ec9c9;
  --ps-line: #e2e8f0;
  --ps-radius: 16px;
  --ps-radius-sm: 12px;
}

body.panel-smart.app {
  background: var(--ps-bg) !important;
  color: var(--ps-ink);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* Bar judul desktop: selalu tampil (tanpa efek hide saat scroll) */
@media (min-width: 1024px) {
  body.panel-smart.app .shell-page-header-wrap {
    overflow: visible;
    max-height: none;
    opacity: 1;
    contain: none;
    transition: none;
  }

  body.panel-smart.app .shell-page-header {
    transform: none;
    transition: none;
  }

  body.panel-smart.app .shell-page-header-wrap.shell-page-header-wrap--scroll-hidden {
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    margin-top: 1rem;
  }

  body.panel-smart.app .shell-page-header-wrap.shell-page-header-wrap--scroll-hidden .shell-page-header {
    transform: none;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  body.panel-smart.app .shell-page-header-wrap,
  body.panel-smart.app .shell-page-header {
    transition: none !important;
  }

  body.panel-smart.app .shell-page-header-wrap.shell-page-header-wrap--scroll-hidden .shell-page-header {
    transform: none;
  }
}

body.panel-smart.app .shell-user-avatar img {
  display: block;
}

/* ——— Kartu ——— */
body.panel-smart .glass.list-card,
body.panel-smart .glass.chart-card,
body.panel-smart .glass.stats-mini-card,
body.panel-smart .glass.calendar-card {
  background: var(--ps-surface) !important;
  border: 1px solid var(--ps-line) !important;
  border-radius: var(--ps-radius) !important;
  box-shadow: 0 2px 8px rgba(29, 115, 115, 0.07) !important;
  backdrop-filter: none !important;
}

body.panel-smart .glass.list-card:hover,
body.panel-smart .glass.chart-card:hover {
  transform: none !important;
  box-shadow: 0 8px 28px rgba(29, 115, 115, 0.12) !important;
  border-color: rgba(94, 201, 201, 0.5) !important;
}

body.panel-smart .list-title-bar {
  background: linear-gradient(168deg, #2c8e8e 0%, #165c5c 100%) !important;
  color: #fff !important;
  border-radius: var(--ps-radius) var(--ps-radius) 0 0 !important;
  padding: 1.15rem 1.25rem !important;
  margin: -20px -20px 1.25rem !important;
  border-bottom: none !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12) !important;
}

body.panel-smart .list-title-bar h3 {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

body.panel-smart .list-title-bar h3 i,
body.panel-smart .list-title-bar h3 svg,
body.panel-smart .list-title-bar h3 [data-lucide] {
  color: inherit !important;
  stroke: currentColor !important;
  flex-shrink: 0;
  width: 1.25rem !important;
  height: 1.25rem !important;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

body.panel-smart .list-title-bar .btn-reset {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  box-shadow: none !important;
}

body.panel-smart .list-title-bar .btn-reset:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

body.panel-smart .list-title-bar .btn:not(.btn-light) {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

html.dark body.panel-smart .list-title-bar {
  background: linear-gradient(168deg, #2c8e8e 0%, #165c5c 100%) !important;
  color: #fff !important;
}

/* Judul + subjudul vertikal (dashboard statistik) */
body.panel-smart .list-title-bar.list-title-bar--col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

body.panel-smart .list-title-bar.list-title-bar--col .dashboard-stats-sub {
  margin: 0.4rem 0 0 !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.4 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* ——— KPI ——— */
body.panel-smart .kpi-grid {
  display: grid !important;
  gap: 1rem !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
}

body.panel-smart .glass h3 i,
body.panel-smart .glass h4 i {
  color: var(--ps-primary) !important;
}

body.panel-smart .list-card,
body.panel-smart .chart-card {
  padding: 1.25rem;
}

/* KPI: Total Order #1d6b6b; lainnya warna berbeda; ikon watermark besar kanan bawah */
body.panel-smart .kpi-card {
  position: relative !important;
  overflow: hidden !important;
  color: #fff !important;
  border-radius: var(--ps-radius) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: linear-gradient(165deg, #4a9797 0%, #2d7a7a 42%, #1d6b6b 100%) !important;
  box-shadow: 0 2px 14px rgba(29, 107, 107, 0.32) !important;
  padding: 1.35rem 1.25rem !important;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

body.panel-smart .kpi-card::before {
  display: none !important;
}

body.panel-smart .kpi-card .kpi-header {
  position: relative;
  z-index: 1;
}

body.panel-smart .kpi-card::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  right: -7% !important;
  bottom: -14% !important;
  width: min(58%, 150px) !important;
  height: min(58%, 150px) !important;
  min-width: 100px !important;
  min-height: 100px !important;
  background: no-repeat center / contain !important;
  opacity: 0.14 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1'%3E%3Ccircle cx='12' cy='12' r='9.5' stroke-opacity='0.45'/%3E%3Ccircle cx='12' cy='12' r='5.5' stroke-opacity='0.3'/%3E%3C/svg%3E") !important;
}

body.panel-smart .kpi-card:hover {
  box-shadow: 0 8px 26px rgba(29, 107, 107, 0.42) !important;
}

body.panel-smart .kpi-card.kpi-total {
  background: linear-gradient(165deg, #2a8989 0%, #1d6b6b 100%) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 2px 16px rgba(29, 107, 107, 0.4) !important;
}

body.panel-smart .kpi-card.kpi-total::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.27 6.96 12 12.01l8.73-5.05M12 22.08V12'/%3E%3C/svg%3E") !important;
  opacity: 0.2 !important;
}

/* c1: fallback biru-teal (halaman lain) */
body.panel-smart .kpi-card.kpi-c1 {
  background: linear-gradient(165deg, #3d7a8f 0%, #2a5f72 50%, #1a4a5c 100%) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 2px 14px rgba(26, 74, 92, 0.38) !important;
}

body.panel-smart .kpi-card.kpi-c2 {
  background: linear-gradient(165deg, #7c8cbf 0%, #5c6ba3 45%, #454f80 100%) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 2px 14px rgba(69, 79, 128, 0.35) !important;
}

/* Proses / pengeluaran: ungu-indigo */
body.panel-smart .kpi-card.kpi-c3 {
  background: linear-gradient(165deg, #818cf8 0%, #6366f1 48%, #4f46e5 100%) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 2px 16px rgba(79, 70, 229, 0.38) !important;
}

/* Belum kirim: biru langit */
body.panel-smart .kpi-card.kpi-c4 {
  background: linear-gradient(165deg, #38bdf8 0%, #0ea5e9 45%, #0284c7 100%) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 14px rgba(2, 132, 199, 0.38) !important;
}

/* Selesai / kas masuk: hijau emerald */
body.panel-smart .kpi-card.kpi-c5 {
  background: linear-gradient(165deg, #34d399 0%, #10b981 48%, #059669 100%) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 14px rgba(5, 150, 105, 0.38) !important;
}

body.panel-smart .kpi-card.kpi-profit {
  background: linear-gradient(165deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 2px 14px rgba(217, 119, 6, 0.4) !important;
}

body.panel-smart .kpi-card.kpi-quote {
  background: linear-gradient(165deg, #60a5fa 0%, #3b82f6 48%, #2563eb 100%) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 14px rgba(37, 99, 235, 0.38) !important;
}

body.panel-smart .kpi-card.kpi-r-refund {
  background: linear-gradient(165deg, #fb7185 0%, #f43f5e 48%, #e11d48 100%) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 2px 14px rgba(225, 29, 72, 0.38) !important;
}

body.panel-smart .kpi-card.kpi-r-net {
  background: linear-gradient(165deg, #a78bfa 0%, #8b5cf6 50%, #6d28d9 100%) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 2px 14px rgba(109, 40, 217, 0.38) !important;
}

/* Dashboard KPI: baris bawah — urgent (oranye) */
body.panel-smart .dash-kpi-grid .kpi-card.kpi-urgent-highlight {
  background: linear-gradient(165deg, #fdba74 0%, #fb923c 48%, #ea580c 100%) !important;
  box-shadow: 0 2px 14px rgba(234, 88, 12, 0.38) !important;
}

/* Hero: profit hijau, deadline merah */
body.panel-smart .kpi-card.kpi-hero-profit {
  background: linear-gradient(165deg, #34d399 0%, #10b981 48%, #059669 100%) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 22px rgba(5, 150, 105, 0.38) !important;
}

body.panel-smart .kpi-card.kpi-hero-deadline {
  background: linear-gradient(165deg, #fb7185 0%, #f43f5e 48%, #e11d48 100%) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 22px rgba(225, 29, 72, 0.4) !important;
}

/* Watermark ikon — dashboard .dash-kpi */
body.panel-smart .creo-dashboard .dash-kpi .kpi-card.kpi-c3::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") !important;
}

body.panel-smart .creo-dashboard .dash-kpi .kpi-card.kpi-c4::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='16.5' cy='18' r='2.5'/%3E%3C/svg%3E") !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18M12 14v4l2 2'/%3E%3Ccircle cx='16' cy='16' r='3'/%3E%3C/svg%3E") !important;
  opacity: 0.12 !important;
}

/* Dashboard: satu baris — 4 KPI: pendapatan, expense, laba, deadline */
body.panel-smart .creo-dashboard .dash-kpi-finance {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  body.panel-smart .creo-dashboard .dash-kpi-finance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  body.panel-smart .creo-dashboard .dash-kpi-finance {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body.panel-smart .creo-dashboard .dash-kpi-finance > .dash-kpi-link {
  display: flex;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: var(--ps-radius);
}

body.panel-smart .creo-dashboard .dash-kpi-finance > .dash-kpi-link:focus-visible {
  outline: 2px solid var(--ps-primary);
  outline-offset: 2px;
}

body.panel-smart .creo-dashboard .dash-kpi-finance > .dash-kpi-link .kpi-card {
  flex: 1;
  width: 100%;
  margin: 0 !important;
  border-radius: 14px !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card--hero {
  min-height: 124px;
  padding: 1.35rem 1.2rem !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card--hero .kpi-value {
  font-size: clamp(0.95rem, 2vw, 1.5rem) !important;
  line-height: 1.2;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card:hover {
  transform: translateY(-2px);
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-icon svg,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-icon i[data-lucide] {
  width: 30px !important;
  height: 30px !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense {
  background: #2d7a78 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 20px rgba(45, 122, 120, 0.38) !important;
  color: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income:hover,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense:hover {
  box-shadow: 0 10px 28px rgba(45, 122, 120, 0.45) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit {
  background: #f9a825 !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 4px 22px rgba(249, 168, 37, 0.42) !important;
  color: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit:hover {
  box-shadow: 0 12px 32px rgba(249, 168, 37, 0.5) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income .kpi-label,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income .kpi-sub,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income .kpi-value,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense .kpi-label,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense .kpi-sub,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense .kpi-value,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit .kpi-label,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit .kpi-sub,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit .kpi-value {
  color: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income .kpi-icon,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income .kpi-icon svg,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income .kpi-icon i[data-lucide],
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense .kpi-icon,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense .kpi-icon svg,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense .kpi-icon i[data-lucide],
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit .kpi-icon,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit .kpi-icon svg,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit .kpi-icon i[data-lucide] {
  color: #fff !important;
  stroke: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income::after,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense::after {
  background-image: none !important;
  opacity: 1 !important;
  right: -12% !important;
  bottom: -18% !important;
  width: min(72%, 160px) !important;
  height: min(72%, 160px) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income::after {
  background: radial-gradient(circle at 75% 78%, rgba(255, 255, 255, 0.2) 0%, transparent 55%) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense::after {
  background: radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.16) 0%, transparent 58%) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12V7H5a2 2 0 0 1 0-4h14v4'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h16v-5'/%3E%3Cpath d='M18 12h.01'/%3E%3C/svg%3E") !important;
  background-color: transparent !important;
  opacity: 0.14 !important;
}

/* Deadline di baris operasional: teks putih penuh */
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline {
  background: linear-gradient(90deg, #b91c1c 0%, #f87171 100%) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 22px rgba(185, 28, 28, 0.35) !important;
  color: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline:hover {
  box-shadow: 0 12px 32px rgba(185, 28, 28, 0.42) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline .kpi-label,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline .kpi-sub,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline .kpi-value {
  color: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline .kpi-icon,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline .kpi-icon svg,
body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline .kpi-icon i[data-lucide] {
  color: #fff !important;
  stroke: #fff !important;
}

/* Baris operasional — Proses, Total order (+ kondisional) */
body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-c3 {
  background: linear-gradient(90deg, #155652 0%, #238a80 100%) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 2px 16px rgba(21, 86, 82, 0.35) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total {
  background: linear-gradient(90deg, #124a46 0%, #1f756c 100%) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 2px 16px rgba(18, 74, 70, 0.35) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-label,
body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-sub,
body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-value {
  color: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-icon,
body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-icon svg,
body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-icon i[data-lucide] {
  color: #fff !important;
  stroke: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.27 6.96 12 12.01l8.73-5.05M12 22.08V12'/%3E%3C/svg%3E") !important;
  opacity: 0.14 !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-c4 {
  background: linear-gradient(90deg, #0f3f3c 0%, #1d645e 100%) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 2px 14px rgba(15, 63, 60, 0.38) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight {
  background: linear-gradient(90deg, #e88835 0%, #e6b03d 100%) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 2px 16px rgba(232, 136, 53, 0.42) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-label,
body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-sub,
body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-value {
  color: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-icon,
body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-icon svg,
body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-icon i[data-lucide] {
  color: #fff !important;
  stroke: #fff !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E") !important;
  opacity: 0.12 !important;
}

body.panel-smart .kpi-card.kpi-profit::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12V7H5a2 2 0 0 1 0-4h14v4'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h16v-5'/%3E%3Cpath d='M18 12h.01'/%3E%3C/svg%3E") !important;
}

body.panel-smart .dash-kpi-grid .kpi-card.kpi-urgent-highlight::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E") !important;
}

body.panel-smart .reports-kpi-grid .kpi-card.kpi-c5::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v8m0 0-3-3m3 3 3-3'/%3E%3C/svg%3E") !important;
}

body.panel-smart .reports-kpi-grid .kpi-card.kpi-r-refund::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7v6h6'/%3E%3Cpath d='M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13'/%3E%3C/svg%3E") !important;
}

body.panel-smart .reports-kpi-grid .kpi-card.kpi-c3::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12V7H5a2 2 0 0 1 0-4h14v4'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h16v-5'/%3E%3Cpath d='M18 12h.01'/%3E%3C/svg%3E") !important;
}

body.panel-smart .reports-kpi-grid .kpi-card.kpi-r-net::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.21 15.89A10 10 0 1 1 8 2.83'/%3E%3Cpath d='M22 12A10 10 0 0 0 12 2v10z'/%3E%3C/svg%3E") !important;
}

body.panel-smart .kpi-label {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  font-weight: 700 !important;
  opacity: 1 !important;
}

body.panel-smart .kpi-value {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  color: #fff !important;
  margin-top: 0.35rem !important;
}

body.panel-smart .kpi-sub {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.8125rem !important;
  opacity: 1 !important;
  margin-top: 0.35rem !important;
}

html.dark body.panel-smart .kpi-card {
  background: linear-gradient(165deg, #2d5f5f 0%, #1a4545 100%) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

html.dark body.panel-smart .kpi-card.kpi-total {
  background: linear-gradient(165deg, #2a8989 0%, #1d6b6b 100%) !important;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.45) !important;
}

html.dark body.panel-smart .kpi-card.kpi-c1 {
  background: linear-gradient(165deg, #2a5568 0%, #1a3845 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-c2 {
  background: linear-gradient(165deg, #4a5578 0%, #323c55 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-c3 {
  background: linear-gradient(165deg, #4f52a8 0%, #3730a3 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-c4 {
  background: linear-gradient(165deg, #0369a1 0%, #0c4a6e 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-c5 {
  background: linear-gradient(165deg, #047857 0%, #065f46 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-profit {
  background: linear-gradient(165deg, #b45309 0%, #92400e 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-quote {
  background: linear-gradient(165deg, #2563eb 0%, #1e40af 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-r-refund {
  background: linear-gradient(165deg, #be123c 0%, #9f1239 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-r-net {
  background: linear-gradient(165deg, #6d28d9 0%, #5b21b6 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-hero-profit {
  background: linear-gradient(165deg, #047857 0%, #065f46 100%) !important;
}

html.dark body.panel-smart .kpi-card.kpi-hero-deadline {
  background: linear-gradient(165deg, #be123c 0%, #881337 100%) !important;
}

html.dark body.panel-smart .dash-kpi-grid .kpi-card.kpi-urgent-highlight {
  background: linear-gradient(165deg, #c2410c 0%, #9a3412 100%) !important;
}

html.dark body.panel-smart .kpi-label,
html.dark body.panel-smart .kpi-sub {
  color: rgba(255, 255, 255, 0.78) !important;
}

html.dark body.panel-smart .kpi-value,
html.dark body.panel-smart .kpi-card.kpi-profit .kpi-value {
  color: #fff !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-income,
html.dark body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-expense {
  background: #256f6d !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.4) !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-finance-profit {
  background: #e09420 !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.38) !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline {
  background: linear-gradient(90deg, #7f1d1d 0%, #b91c1c 100%) !important;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45) !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-finance .kpi-card.kpi-hero-deadline::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18M12 14v4l2 2'/%3E%3Ccircle cx='16' cy='16' r='3'/%3E%3C/svg%3E") !important;
  opacity: 0.12 !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-c3 {
  background: linear-gradient(90deg, #123935 0%, #1d5853 100%) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.38) !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total {
  background: linear-gradient(90deg, #0f322f 0%, #1a524d 100%) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.38) !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-label,
html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-sub,
html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-value {
  color: #fff !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-icon,
html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-icon svg,
html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-total .kpi-icon i[data-lucide] {
  color: #fff !important;
  stroke: #fff !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-c4 {
  background: linear-gradient(90deg, #0c2a28 0%, #164540 100%) !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight {
  background: linear-gradient(90deg, #b86d2e 0%, #9e8528 100%) !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-label,
html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-sub,
html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-value {
  color: #fff !important;
}

html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-icon,
html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-icon svg,
html.dark body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card.kpi-urgent-highlight .kpi-icon i[data-lucide] {
  color: #fff !important;
  stroke: #fff !important;
}

/* Ikon putih, tanpa lingkaran / tanpa latar */
body.panel-smart .kpi-card .kpi-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #fff !important;
  opacity: 1 !important;
  filter: none !important;
}

body.panel-smart .kpi-card .kpi-icon svg,
body.panel-smart .kpi-card .kpi-icon i[data-lucide] {
  width: 26px !important;
  height: 26px !important;
  color: #fff !important;
  stroke: #fff !important;
}

body.panel-smart .dash-kpi-grid > .dash-kpi-link {
  display: flex;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: var(--ps-radius);
}

body.panel-smart .dash-kpi-grid > .dash-kpi-link:focus-visible {
  outline: 2px solid var(--ps-primary);
  outline-offset: 2px;
}

body.panel-smart .dash-kpi-grid > .dash-kpi-link .kpi-card {
  flex: 1;
  width: 100%;
  margin: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 16px rgba(29, 107, 107, 0.32) !important;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

body.panel-smart .dash-kpi-grid .kpi-card--hero {
  min-height: 120px;
  padding: 1.25rem 1.1rem !important;
}

body.panel-smart .dash-kpi-grid .kpi-card--hero .kpi-value {
  font-size: clamp(1.35rem, 3.5vw, 2.35rem) !important;
}

body.panel-smart .dash-kpi-grid .kpi-card--hero.kpi-profit .kpi-value {
  font-size: clamp(0.95rem, 2.4vw, 1.65rem) !important;
  line-height: 1.2;
}

body.panel-smart .dash-kpi-grid .kpi-card--compact {
  padding: 1rem 0.95rem !important;
  box-shadow: 0 2px 14px rgba(29, 107, 107, 0.28) !important;
}

body.panel-smart .creo-dashboard .dash-kpi-grid .kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(29, 107, 107, 0.42) !important;
}

body.panel-smart .dash-kpi-grid .kpi-header {
  align-items: flex-start;
}

body.panel-smart .dash-kpi-grid .kpi-card--compact .kpi-icon svg,
body.panel-smart .dash-kpi-grid .kpi-card--compact .kpi-icon i[data-lucide] {
  width: 22px !important;
  height: 22px !important;
}

body.panel-smart .dash-kpi-grid .kpi-card--compact .kpi-value {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem) !important;
  margin-top: 0.25rem !important;
}

body.panel-smart .dash-kpi-grid .kpi-card--compact .kpi-sub {
  font-size: 0.72rem !important;
  margin-top: 0.2rem !important;
  line-height: 1.35;
}

/* ——— Tabel ——— */
body.panel-smart .table {
  border-radius: var(--ps-radius-sm) !important;
  border: 1px solid var(--ps-line) !important;
  font-size: 0.875rem !important;
}

body.panel-smart .table thead th {
  font-size: 0.65rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700 !important;
  color: var(--ps-mute) !important;
  padding: 0.85rem 1rem !important;
  background: #f1f5f9 !important;
}

body.panel-smart .table tbody td {
  padding: 0.85rem 1rem !important;
  vertical-align: middle;
}

body.panel-smart .table tbody tr.row:hover {
  background: rgba(94, 201, 201, 0.12) !important;
}

body.panel-smart .table-mt10 {
  margin-top: 0.625rem;
}

body.panel-smart .table-empty {
  text-align: center;
  color: var(--ps-mute);
  padding: 1.1rem 0.75rem !important;
  font-size: 0.875rem;
}

body.panel-smart .orders-recent-card {
  margin-top: 1.75rem;
}

body.panel-smart .orders-recent-see-all {
  margin: 0.75rem 0 0;
}

body.panel-smart .dash-attn-table {
  border-radius: var(--ps-radius-sm) !important;
  border: 1px solid var(--ps-line) !important;
  background: var(--ps-surface) !important;
}

body.panel-smart .dash-attn-table thead th {
  font-size: 0.65rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ——— Form & tombol ——— */
body.panel-smart .input,
body.panel-smart select.input {
  border-radius: var(--ps-radius-sm) !important;
  border: 1px solid var(--ps-line) !important;
  padding: 0.65rem 0.9rem !important;
  font-size: 0.9rem !important;
  min-height: 44px;
  background: #fbfcfd !important;
}

body.panel-smart .input:focus,
body.panel-smart select.input:focus {
  border-color: var(--ps-primary) !important;
  box-shadow: 0 0 0 3px rgba(29, 115, 115, 0.22) !important;
}

/* No. invoice: satu blok menyatu (prefix + urut) */
body.panel-smart .input-split--invoice {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: min(100%, 26rem);
  margin: 0.35rem 0 0.5rem;
  border-radius: var(--ps-radius-sm);
  border: 1px solid var(--ps-line);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  /* overflow:hidden memotong teks di beberapa browser untuk <input> di dalam flex */
  overflow: visible;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.panel-smart .input-split--invoice:focus-within {
  border-color: var(--ps-primary) !important;
  box-shadow: 0 0 0 3px rgba(29, 115, 115, 0.18) !important;
}

body.panel-smart .input-split--invoice .input-split__prefix,
body.panel-smart .input-split--invoice .input-prefix {
  flex: 0 0 auto;
  align-self: stretch;
  margin: 0 !important;
  border: none !important;
  border-radius: calc(var(--ps-radius-sm) - 1px) 0 0 calc(var(--ps-radius-sm) - 1px) !important;
  border-right: 1px solid rgba(148, 163, 184, 0.45) !important;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef4 100%) !important;
  color: #0f172a !important;
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  letter-spacing: 0.04em;
  padding: 0.75rem 0.85rem !important;
  min-width: 6.75rem;
  min-height: 3rem !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  cursor: default;
}

body.panel-smart .input-split--invoice .input-split__seq,
body.panel-smart .input-split--invoice .input.input-split__seq {
  flex: 1 1 auto;
  /* min-width:0 membuat flex mengecilkan <input> sampai angka terpotong */
  min-width: 6.5rem !important;
  width: auto !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 calc(var(--ps-radius-sm) - 1px) calc(var(--ps-radius-sm) - 1px) 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  padding: 0.75rem 0.95rem !important;
  min-height: 3rem !important;
  box-sizing: border-box !important;
}

body.panel-smart .input-split--invoice .input-split__seq:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

html.dark body.panel-smart .input-split--invoice {
  border-color: #334155;
  background: rgb(30 41 55);
  box-shadow: none;
}

html.dark body.panel-smart .input-split--invoice:focus-within {
  border-color: var(--ps-accent) !important;
  box-shadow: 0 0 0 3px rgba(94, 201, 201, 0.2) !important;
}

html.dark body.panel-smart .input-split--invoice .input-split__prefix,
html.dark body.panel-smart .input-split--invoice .input-prefix {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border-right-color: rgba(51, 65, 85, 0.9) !important;
  color: #e2e8f0 !important;
}

html.dark body.panel-smart .input-split--invoice .input-split__seq {
  background: rgb(30 41 55) !important;
  color: #f8fafc !important;
}

body.panel-smart .btn {
  border-radius: 999px !important;
  padding: 0.65rem 1.35rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  background: var(--ps-primary) !important;
  box-shadow: 0 4px 14px rgba(29, 115, 115, 0.32) !important;
  letter-spacing: 0.02em;
  color: #fff !important;
  border: none;
}

body.panel-smart .btn:hover {
  opacity: 0.94;
  filter: brightness(1.05);
}

body.panel-smart .btn-reset,
body.panel-smart .btn.btn-light {
  border-radius: 999px !important;
  background: var(--ps-surface) !important;
  color: var(--ps-primary) !important;
  border: 2px solid var(--ps-line) !important;
  box-shadow: none !important;
}

body.panel-smart .icon-btn-small {
  border-radius: var(--ps-radius-sm) !important;
}

/* ——— Statistik / agenda ——— */
body.panel-smart .stats-wrap.stats-modern {
  gap: 1.25rem !important;
}

body.panel-smart .stats-hero-head .chart-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

body.panel-smart .stats-hero-sub {
  font-size: 0.8rem !important;
}

body.panel-smart .stats-mini-title {
  font-size: 0.65rem !important;
  letter-spacing: 0.1em;
}

/* ——— Dashboard chart / layout ——— */
body.panel-smart .chart-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--ps-primary);
}

body.panel-smart .attention-panel {
  margin-bottom: 1.25rem;
}

body.panel-smart .attention-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
}

body.panel-smart .attention-panel h3 i {
  width: 20px;
  height: 20px;
}

body.panel-smart .dash-attn-meta {
  font-size: 0.8rem;
  color: var(--ps-mute);
  margin-top: 0.25rem;
}

body.panel-smart .dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.panel-smart .dash-actions a {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(29, 115, 115, 0.12);
  color: var(--ps-primary);
}

body.panel-smart .dash-actions a:hover {
  background: rgba(94, 201, 201, 0.28);
}

body.panel-smart .ov-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #fee2e2;
  color: #b91c1c;
}

body.panel-smart .stats-wrap.stats-modern {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

body.panel-smart .stats-modern-left,
body.panel-smart .stats-modern-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

/* Dashboard: tiga kartu statistik terpisah (masing-masing list-title-bar) */
body.panel-smart .creo-dashboard .creo-stats-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

body.panel-smart .stats-hero-card:not(.stats-bar-card) .chart-canvas {
  min-height: 220px;
  max-height: 280px;
}

body.panel-smart .stats-mini-card:not(.stats-trend-card):not(.stats-donut-card) .chart-canvas {
  min-height: 100px;
  max-height: 130px;
}

body.panel-smart .calendar-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

body.panel-smart .calendar-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

body.panel-smart .link-see-all {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ps-primary);
  text-decoration: none;
}

body.panel-smart .link-see-all:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  body.panel-smart .stats-wrap.stats-modern {
    grid-template-columns: 1fr;
  }

  body.panel-smart .creo-dashboard .creo-stats-three {
    grid-template-columns: 1fr;
  }
}

/* ——— Expenses page ——— */
body.panel-smart .expenses-page .kpi-header,
body.panel-smart .expenses-header-wrap .kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

body.panel-smart .expenses-page .kpi-icon,
body.panel-smart .expenses-header-wrap .kpi-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* ——— Order detail & edit ——— */
body.panel-smart .od-card {
  border-radius: var(--ps-radius) !important;
  border: 1px solid var(--ps-line) !important;
  box-shadow: 0 2px 10px rgba(29, 115, 115, 0.07) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.panel-smart .od-card:hover {
  transform: none !important;
  box-shadow: 0 10px 28px rgba(29, 115, 115, 0.14) !important;
}

body.panel-smart .od-card-body {
  padding: 1.25rem 1.35rem !important;
}

/* ——— Dashboard: grid perhatian + deadline/urgent ——— */
body.panel-smart .ta-attention-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* Baris: perhatian (kiri) + agenda deadline (kanan) */
body.panel-smart .dash-attn-agenda-layout {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  body.panel-smart .dash-attn-agenda-layout--with-attention {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  }
}

@media (max-width: 1023px) {
  body.panel-smart .dash-attn-agenda-layout {
    grid-template-columns: 1fr;
  }
}

body.panel-smart .dash-attn-agenda-attention.ta-attention-grid {
  margin-bottom: 0;
}

body.panel-smart .dash-attn-agenda-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

body.panel-smart .attn-deadline-panel,
body.panel-smart .attn-urgent-panel {
  padding: 1.25rem 1.25rem 1rem !important;
}

body.panel-smart .attn-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(29, 115, 115, 0.12);
}

body.panel-smart .attn-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ps-primary);
}

body.panel-smart .attn-panel-title--warn {
  color: #c2410c;
}

body.panel-smart .attn-panel-title i {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

body.panel-smart .attn-panel-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ps-mute);
  background: #f1f5f9;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

body.panel-smart .attn-deadline-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.panel-smart .attn-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(29, 115, 115, 0.12);
}

body.panel-smart .attn-pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

body.panel-smart .attn-pagination-num--current {
  background: rgba(29, 115, 115, 0.18);
  color: var(--ps-primary);
}

body.panel-smart .attn-pagination-num--link {
  background: #f1f5f9;
  color: var(--ps-mute);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

body.panel-smart .attn-pagination-num--link:hover {
  background: rgba(29, 115, 115, 0.12);
  color: var(--ps-primary);
}

body.panel-smart .attn-deadline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fafefd 0%, #f4faf9 100%);
  border: 1px solid rgba(29, 115, 115, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.panel-smart .attn-deadline-row:hover {
  border-color: rgba(29, 115, 115, 0.28);
  box-shadow: 0 6px 16px rgba(29, 115, 115, 0.08);
}

body.panel-smart .attn-deadline-row--urgent {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-color: rgba(245, 158, 11, 0.25);
}

body.panel-smart .attn-deadline-main {
  flex: 1 1 200px;
  min-width: 0;
}

body.panel-smart .attn-deadline-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
}

body.panel-smart .attn-deadline-title:hover {
  color: var(--ps-primary);
}

body.panel-smart .attn-deadline-meta {
  font-size: 0.78rem;
  color: var(--ps-mute);
  margin-top: 0.35rem;
}

body.panel-smart .attn-deadline-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

body.panel-smart .attn-deadline-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

body.panel-smart .attn-deadline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body.panel-smart .btn-attn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--ps-primary);
  color: #fff !important;
  border: none;
  box-shadow: 0 2px 8px rgba(29, 115, 115, 0.25);
  transition: filter 0.15s ease, transform 0.12s ease;
}

body.panel-smart .btn-attn:hover {
  filter: brightness(1.06);
}

body.panel-smart .btn-attn--ghost {
  background: #fff;
  color: var(--ps-primary) !important;
  border: 2px solid rgba(29, 115, 115, 0.35);
  box-shadow: none;
}

body.panel-smart .attn-dl-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(29, 115, 115, 0.1);
  color: var(--ps-primary);
}

@media (max-width: 520px) {
  body.panel-smart .attn-deadline-aside {
    width: 100%;
    justify-content: space-between;
  }
}

/* ——— Statistik: tinggi chart + donut + legenda ——— */
body.panel-smart .stats-modern-right {
  height: 100%;
}

body.panel-smart .stats-modern-right .agenda-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.panel-smart .dash-attn-agenda-side .agenda-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

body.panel-smart .stats-bar-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
}

body.panel-smart .stats-trend-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
}

body.panel-smart .stats-donut-canvas-wrap canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
}

body.panel-smart .stats-bar-card .stats-hero-head--stack {
  margin-bottom: 0.35rem;
}

body.panel-smart .stats-bar-title {
  margin: 0 !important;
}

body.panel-smart .stats-bar-card .stats-hero-sub {
  margin: 0.25rem 0 0;
  color: var(--ps-mute);
}

body.panel-smart .stats-bar-canvas-wrap {
  position: relative;
  height: min(240px, 42vw);
  min-height: 200px;
  margin-top: 0.5rem;
}

body.panel-smart .creo-dashboard .stats-bar-canvas-wrap {
  height: min(220px, 28vw);
  min-height: 180px;
}

body.panel-smart .dashboard-stat-card-body {
  min-width: 0;
}

body.panel-smart .dashboard-stat-card .stats-hero-card.stats-bar-card,
body.panel-smart .dashboard-stat-card .stats-trend-card,
body.panel-smart .dashboard-stat-card .stats-donut-card {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.panel-smart .dashboard-stat-card .stats-bar-canvas-wrap {
  margin-top: 0;
}

body.panel-smart .dashboard-stat-card .stats-trend-card--solo .stats-trend-canvas-wrap {
  min-height: 150px;
  max-height: 200px;
  flex: none;
}

body.panel-smart .dashboard-stat-card .stats-donut-card--solo .stats-donut-split {
  grid-template-columns: minmax(96px, 132px) minmax(0, 1fr);
  gap: 0.65rem 1rem;
}

body.panel-smart .dashboard-stat-card .stats-donut-card--solo .stats-donut-canvas-wrap {
  max-width: 132px;
}

body.panel-smart .stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

@media (max-width: 640px) {
  body.panel-smart .stats-mini-grid {
    grid-template-columns: 1fr;
  }
}

body.panel-smart .stats-trend-card,
body.panel-smart .stats-donut-card {
  padding: 1rem 1rem 0.85rem !important;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.panel-smart .stats-mini-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}

body.panel-smart .stats-trend-card .stats-mini-title,
body.panel-smart .stats-donut-card .stats-mini-title {
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: var(--ps-primary) !important;
}

body.panel-smart .stats-mini-hint {
  font-size: 0.68rem;
  color: var(--ps-mute);
  line-height: 1.35;
}

body.panel-smart .stats-trend-canvas-wrap {
  position: relative;
  flex: 1;
  min-height: 120px;
  max-height: 140px;
}

body.panel-smart .stats-donut-split {
  display: grid;
  grid-template-columns: minmax(96px, 118px) minmax(0, 1fr);
  gap: 0.5rem 0.85rem;
  align-items: center;
  flex: 1;
  min-height: 0;
  padding-bottom: 0.25rem;
}

@media (max-width: 400px) {
  body.panel-smart .stats-donut-split {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }

  body.panel-smart .stats-legend-dots {
    width: 100%;
  }
}

body.panel-smart .stats-donut-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 118px;
  margin: 0 auto;
}

body.panel-smart .stats-legend-dots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

body.panel-smart .stats-legend-dots li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #334155;
}

body.panel-smart .stats-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(29, 115, 115, 0.12);
}

body.panel-smart .stats-legend-dot--proses {
  background: #1d7373;
}

body.panel-smart .stats-legend-dot--selesai {
  background: #5ec9c9;
}

body.panel-smart .stats-legend-dot--belum {
  background: #c5ebe8;
}

body.panel-smart .stats-legend-label {
  flex: 1;
  min-width: 0;
}

body.panel-smart .stats-legend-val {
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

/* ——— Agenda: expand + timeline (wajib .panel-smart; bukan .ta-panel) ——— */
body.panel-smart .calendar-card.agenda-modern {
  padding: 1rem 1.1rem 1rem !important;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

body.panel-smart .calendar-card.agenda-modern .calendar-empty {
  flex-shrink: 0;
  margin: 0.35rem 0 0;
  line-height: 1.5;
}

body.panel-smart .agenda-card-head {
  align-items: flex-start;
}

body.panel-smart .agenda-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ps-primary);
  letter-spacing: -0.02em;
}

body.panel-smart .agenda-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

body.panel-smart .agenda-expand-btn {
  border: 2px solid rgba(29, 115, 115, 0.35) !important;
  background: rgba(29, 115, 115, 0.08) !important;
  color: var(--ps-primary) !important;
  border-radius: 999px !important;
  padding: 0.4rem 0.85rem !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

body.panel-smart .agenda-expand-btn:hover {
  background: rgba(29, 115, 115, 0.14) !important;
}

body.panel-smart .link-see-all--btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--ps-primary);
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(29, 115, 115, 0.25);
}

body.panel-smart .link-see-all--btn:hover {
  filter: brightness(1.05);
}

body.panel-smart .timeline-list {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

body.panel-smart .agenda-modern.is-expanded .timeline-list {
  max-height: min(72vh, 880px);
}

/* nth-child salah kalau ada node teks (spasi/newline) antar baris — pakai nth-of-type */
body.panel-smart .agenda-modern .timeline-list > .timeline-item:nth-of-type(n + 5) {
  display: none !important;
}

body.panel-smart .agenda-modern.is-expanded .timeline-list > .timeline-item:nth-of-type(n + 5) {
  display: flex !important;
}

body.panel-smart .timeline-item {
  display: flex !important;
  align-items: stretch;
  margin-bottom: 10px;
}

body.panel-smart .timeline-time {
  flex-shrink: 0;
  width: 48px;
  text-align: right;
  padding-right: 10px;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  color: var(--ps-mute);
}

body.panel-smart .timeline-time .t-day {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

body.panel-smart .timeline-time .t-mon {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}

body.panel-smart .timeline-divider {
  position: relative;
  width: 18px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

body.panel-smart .timeline-divider::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(29, 115, 115, 0.12);
}

body.panel-smart .timeline-item:last-child .timeline-divider::before {
  bottom: 0;
}

body.panel-smart .timeline-node {
  position: absolute;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ps-primary) !important;
  border: 2px solid #fff !important;
  z-index: 2;
  box-sizing: content-box;
}

body.panel-smart .timeline-node.du-neg {
  background: #ef4444 !important;
}

body.panel-smart .timeline-node.du-0 {
  background: #f59e0b !important;
}

body.panel-smart .timeline-node.du-soon {
  background: #0ea5e9 !important;
}

body.panel-smart .timeline-content {
  flex: 1;
  padding: 10px 12px !important;
  margin-left: 8px !important;
  background: #fff !important;
  border: 1px solid rgba(29, 115, 115, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

body.panel-smart .timeline-content:hover {
  border-color: rgba(29, 115, 115, 0.25) !important;
}

body.panel-smart .timeline-content.du-neg {
  background: #fef2f2 !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}

body.panel-smart .timeline-content.du-0 {
  background: #fffbeb !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
}

body.panel-smart .timeline-content.du-soon {
  background: #f0f9ff !important;
  border-color: rgba(14, 165, 233, 0.22) !important;
}

/* ——— Login: foto full-screen + overlay hijau + kartu tengah ——— */
body.creo-login-smart.login-page.login-modern-active {
  background: #0a5c52 !important;
}

body.creo-login-smart .login-wrapper.login-modern {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 1.25rem 1rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.creo-login-smart .login-wrapper.login-modern::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #0f3d38;
  background-image:
    linear-gradient(
      120deg,
      rgba(13, 148, 136, 0.45) 0%,
      rgba(15, 118, 110, 0.28) 45%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    var(--login-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.creo-login-smart .login-center-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22.5rem;
  margin: 0 auto;
}

body.creo-login-smart .login-glass-card {
  width: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.creo-login-smart .login-glass-head {
  display: block;
  margin-bottom: 1.35rem;
}

/* Satu kolom terpusat — di dalam wrapper supaya tetap tengah walau <header> kena flex row lama/cache */
body.creo-login-smart .login-glass-head-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  gap: 0.75rem;
}

body.creo-login-smart .login-glass-head-text {
  flex: none;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  text-align: center;
  /* Penting: parent pakai items-center (kolom flex) — tanpa ini lebar teks = selebar konten, “Halo!” tampak kiri */
  align-self: stretch;
}

body.creo-login-smart .login-glass-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(29, 115, 115, 0.15);
  padding: 4px;
  box-sizing: border-box;
}

body.creo-login-smart .login-glass-title {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  text-align: center;
}

body.creo-login-smart .login-glass-sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
}

body.creo-login-smart .login-glass-alert {
  margin-bottom: 1rem;
  text-align: center;
  background: rgba(254, 242, 242, 0.95) !important;
  border-color: rgba(252, 165, 165, 0.6) !important;
}

body.creo-login-smart .login-glass-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

body.creo-login-smart .login-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

body.creo-login-smart .login-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.65);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.creo-login-smart .login-input-wrap:focus-within {
  border-color: #1d7373;
  box-shadow: 0 0 0 3px rgba(29, 115, 115, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

body.creo-login-smart .login-input-ico {
  font-size: 1.05rem;
  color: #1d7373;
  opacity: 0.9;
  flex-shrink: 0;
}

body.creo-login-smart .login-input-toggle {
  appearance: none;
  border: none;
  margin: 0;
  padding: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  color: #1d7373;
  opacity: 0.9;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

body.creo-login-smart .login-input-toggle .bi {
  font-size: 1.1rem;
}

body.creo-login-smart .login-input-toggle:hover {
  opacity: 1;
  background: rgba(29, 115, 115, 0.1);
}

body.creo-login-smart .login-input-toggle:focus-visible {
  outline: 2px solid #1d7373;
  outline-offset: 2px;
}

body.creo-login-smart .login-input-control {
  flex: 1;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  padding: 0.5rem 0 !important;
  font-size: 0.9375rem !important;
  color: #0f172a !important;
  box-shadow: none !important;
  outline: none;
}

body.creo-login-smart .login-input-control::placeholder {
  color: #94a3b8;
}

body.creo-login-smart .login-glass-submit {
  margin-top: 0.25rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 12px !important;
  padding: 0.8rem 1.25rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  background: linear-gradient(180deg, #14b8a6, #0d9488) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45) !important;
}

body.creo-login-smart .login-glass-submit:hover {
  filter: brightness(1.05);
}

body.creo-login-smart .login-forgot-wrap {
  margin: 1rem 0 0;
  text-align: center;
}

body.creo-login-smart .login-forgot-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0f766e;
  text-decoration: none;
}

body.creo-login-smart .login-forgot-link:hover {
  text-decoration: underline;
}

body.creo-login-smart .login-glass-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
}

body.creo-login-smart .login-glass-foot p {
  margin: 0;
  font-size: 0.7rem;
  color: #94a3b8;
}

@media (min-width: 640px) {
  body.creo-login-smart .login-center-shell {
    max-width: 24rem;
  }

  body.creo-login-smart .login-glass-card {
    padding: 2rem 1.75rem 1.65rem;
  }
}

button,
body.panel-smart a.input-like,
body.panel-smart input[type="button"],
body.panel-smart input[type="submit"] {
  cursor: pointer;
}
