/*
 * AdminLTE 2 - SaaS Skin (Modern UI)
 * Author: Custom Production Ready
 */

/* ========================
   ROOT VARIABLES
======================== */
/* :root {
	--saas-primary: #22c55e;
	--saas-primary-dark: #16a34a;
	--saas-bg: #f9fafb;
	--saas-card: #ffffff;
	--saas-text: #111827;
	--saas-muted: #6b7280;
	--saas-border: #e5e7eb;
} */

:root {
	/* ========================
       PRIMARY (MAIN BRAND)
    ======================== */
	--saas-primary: #18978f;
	--saas-primary-dark: #0f766e;
	--saas-primary-light: #e6f6f4;

	/* ========================
       SUCCESS
    ======================== */
	--saas-success: #18978f;
	--saas-success-dark: #12766f;
	--saas-success-light: #edf9f7;

	/* ========================
       DANGER
    ======================== */
	--saas-danger: #dc2626;
	--saas-danger-dark: #b91c1c;
	--saas-danger-light: #fef2f2;

	/* ========================
       WARNING (GOLD LOGO)
    ======================== */
	--saas-warning: #f8b400;
	--saas-warning-dark: #d99800;
	--saas-warning-light: #fff8e6;

	/* ========================
       INFO
    ======================== */
	--saas-info: #1fa9a0;
	--saas-info-light: #e8f8f7;

	/* ========================
       NEUTRAL / UI
    ======================== */
	--saas-bg: #f8fafc;
	--saas-card: #ffffff;
	--saas-border: #e5e7eb;

	--saas-text: #1f2937;
	--saas-text-muted: #6b7280;
}

body.dark-mode {
	--saas-bg: #111827;
	--saas-card: #1f2937;
	--saas-border: #374151;

	--saas-text: #f9fafb;
	--saas-text-muted: #9ca3af;
}

/* ========================
   GLOBAL
======================== */
.skin-saas {
	background: var(--saas-bg);
	font-family: 'Inter', sans-serif;
	color: var(--saas-text);
}

/* ========================
   HEADER
======================== */
.skin-saas .main-header .navbar {
	background: #ffffff;
	border-bottom: 1px solid var(--saas-border);
}

.skin-saas .main-header .logo {
	background: var(--saas-primary);
	color: #fff;
	font-weight: 600;
}

.skin-saas .main-header .logo:hover {
	background: var(--saas-primary-dark);
}

.skin-saas .main-header .logo {
	box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.bg-primary-soft {
	background: var(--saas-primary-light);
	color: var(--saas-primary-dark);
}

.bg-success-soft {
	background: var(--saas-success-light);
	color: var(--saas-success-dark);
}

.bg-danger-soft {
	background: var(--saas-danger-light);
	color: var(--saas-danger-dark);
}

/* ========================
   SIDEBAR
======================== */
.skin-saas .main-sidebar {
	background: #111827;
}

.skin-saas .sidebar-menu>li>a {
	color: #d1d5db;
	border-radius: 10px;
	margin: 4px 10px;
	padding: 10px 12px;
	transition: all 0.2s ease;
}

.skin-saas .sidebar-menu>li.active>a,
.skin-saas .sidebar-menu>li>a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

/* treeview */
.skin-saas .treeview-menu {
	background: transparent;
}

/* ========================
   CONTENT
======================== */
.skin-saas .content-wrapper,
.skin-saas .right-side {
	background: var(--saas-bg);
}

/* ========================
   BOX → CARD
======================== */
.skin-saas .box {
	background: var(--saas-card);
	border-radius: 14px;
	border: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.skin-saas .box:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.skin-saas .box-header {
	border-bottom: 1px solid var(--saas-border);
	font-weight: 600;
}

.skin-saas .box-title {
	font-size: 16px;
}

/* ========================
   BUTTON
======================== */
/* ========================
   BUTTON BASE
======================== */
.skin-saas .btn {
	border-radius: 10px !important;
	font-weight: 500;
	padding: 8px 14px;
	transition: all 0.2s ease;
	border: none;
	outline: none;
}

.skin-saas .btn:focus {
	outline: none;
	box-shadow: none;
}

/* ========================
   PRIMARY
======================== */
.skin-saas .btn-primary {
	background: var(--saas-primary);
	color: #fff;
}

.skin-saas .btn-primary:hover {
	background: var(--saas-primary-dark);
	transform: translateY(-1px);
}

/* ========================
   SUCCESS
======================== */
.skin-saas .btn-success {
	background: #22c55e;
	color: #fff;
}

.skin-saas .btn-success:hover {
	background: #16a34a;
	transform: translateY(-1px);

}

/* ========================
   DANGER
======================== */
.skin-saas .btn-danger {
	background: #ef4444;
	color: #fff;
}

.skin-saas .btn-danger:hover {
	background: #dc2626;
	transform: translateY(-1px);

}

/* ========================
   WARNING
======================== */
.skin-saas .btn-warning {
	background: #f59e0b;
	color: #fff;
}

.skin-saas .btn-warning:hover {
	background: #d97706;
	transform: translateY(-1px);

}

/* ========================
   INFO
======================== */
.skin-saas .btn-info {
	background: #06b6d4;
	color: #fff;
}

.skin-saas .btn-info:hover {
	background: #0891b2;
	transform: translateY(-1px);

}

/* ========================
   DEFAULT (NEUTRAL)
======================== */
.skin-saas .btn-default {
	background: #f3f4f6;
	color: #374151;
}

.skin-saas .btn-default:hover {
	background: #e5e7eb;
	transform: translateY(-1px);

}

/* ========================
   BUTTON BASE (SAAS)
======================== */
.skin-saas .btn {
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.15s ease;
}

.skin-saas .btn-xs {
	padding: 3px 6px;
	font-size: 11px;
	line-height: 1.2;
	border-radius: 6px;
}

.skin-saas .btn-sm {
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.3;
	border-radius: 8px;
}

.skin-saas .btn-md {
	padding: 8px 14px;
	font-size: 14px;
}

.skin-saas .btn-lg {
	padding: 10px 18px;
	font-size: 15px;
	border-radius: 10px;
}

.skin-saas .btn-xs i {
	font-size: 11px;
}

.skin-saas .btn-sm i {
	font-size: 12px;
}

.skin-saas .btn-md i {
	font-size: 14px;
}

.skin-saas .btn-lg i {
	font-size: 15px;
}

.skin-saas .table .btn {
	margin: 0 2px;
}

/* ========================
   GHOST BUTTON
======================== */

.skin-saas .btn-ghost {
	background: transparent;
	color: #6b7280;
	border: none;
}

.skin-saas .btn-ghost:hover {
	background: #f3f4f6;
}

.btn-block {
	width: 100%;
}

/* ========================
   OUTLINE
======================== */

.skin-saas .btn-outline-primary {
	background: transparent;
	border: 1px solid var(--saas-primary);
	color: var(--saas-primary);
}

.skin-saas .btn-outline-primary:hover {
	background: var(--saas-primary);
	color: #fff;
}

.skin-saas .btn-outline-danger {
	background: transparent;
	border: 1px solid #ef4444;
	color: #ef4444;
}

.skin-saas .btn-outline-danger:hover {
	background: #ef4444;
	color: #fff;
}

/* ========================
   DISABLED
======================== */

.skin-saas .btn:disabled,
.skin-saas .btn.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.skin-saas .btn:active {
	transform: scale(0.96);
}

.skin-saas .btn i {
	margin-right: 4px;
}

/* ========================
   FORM
======================== */
.skin-saas .form-control {
	border-radius: 10px;
	border: 1px solid var(--saas-border);
	box-shadow: none;
}

.skin-saas .form-control:focus {
	border-color: var(--saas-primary);
	box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* ========================
   TABLE
======================== */
.skin-saas .table {
	border-collapse: separate;
	border-spacing: 0 8px;
}

.skin-saas .table>tbody>tr {
	background: #ffffff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.skin-saas .table>tbody>tr>td {
	border: none;
	padding: 12px;
}

/* ========================
   LABEL / BADGE
======================== */
.skin-saas .label {
	border-radius: 8px;
	padding: 4px 8px;
	font-weight: 500;
}

.skin-saas .label-success {
	background: #22c55e !important;
}

.skin-saas .label-warning {
	background: #f59e0b !important;
}

.skin-saas .label-danger {
	background: #ef4444 !important;
}

/* ========================
   SMALL BOX (dashboard)
======================== */
.skin-saas .small-box {
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* ========================
   PAGINATION
======================== */
.skin-saas .pagination>li>a {
	border-radius: 8px !important;
	margin: 0 2px;
	border: 1px solid var(--saas-border);
}

/* ========================
   MODAL
======================== */
.skin-saas .modal-content {
	border-radius: 14px;
	border: none;
}

/* ========================
   SCROLLBAR (optional modern)
======================== */
.skin-saas ::-webkit-scrollbar {
	width: 8px;
}

.skin-saas ::-webkit-scrollbar-thumb {
	background: #d1d5db;
	border-radius: 10px;
}

/* ========================
   ANIMATION
======================== */
.skin-saas * {
	transition: all 0.15s ease-in-out;
}

/* ========================
   SIDEBAR HEADER FIX
======================== */
.skin-saas .sidebar-menu>li.header {
	color: #9ca3af;
	/* abu terang */
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 12px 15px 6px 15px;
	opacity: 0.8;
}

.skin-saas .sidebar-menu>li.header {
	position: relative;
}

.skin-saas .sidebar-menu>li.header::after {
	content: '';
	display: block;
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin-top: 6px;
}

/* ========================
   USER PANEL BASE FIX
======================== */
.skin-saas .user-panel {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	/* margin: 10px; */
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);

	/* PENTING */
	overflow: hidden;
	white-space: nowrap;
}

/* matikan float lama */
.skin-saas .user-panel .pull-left {
	float: none !important;
}

/* avatar */
.skin-saas .user-panel .image {
	flex-shrink: 0;
}

.skin-saas .user-panel .image img {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	object-fit: cover;
}

/* text */
.skin-saas .user-panel .info {
	flex: 1;
	min-width: 0;
	/* penting supaya tidak overflow */
}

.skin-saas .user-panel .info p {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #fff;

	overflow: hidden;
	text-overflow: ellipsis;
}

.skin-saas .user-panel .info a {
	font-size: 11px;
	color: #9ca3af;
}

/* ========================
   USER PANEL COLLAPSE MODE
======================== */
.skin-saas.sidebar-collapse .user-panel {
	justify-content: center;
	padding: 10px 0;
}

/* sembunyikan text */
.skin-saas.sidebar-collapse .user-panel .info {
	display: none !important;
}

/* avatar jadi center */
.skin-saas.sidebar-collapse .user-panel .image img {
	width: 32px;
	height: 32px;
}

/* ========================
   HOVER EXPAND FIX
======================== */

/* default hidden saat collapse */
.skin-saas.sidebar-collapse .user-panel .info {
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
}

/* saat sidebar di-hover */
.skin-saas.sidebar-collapse .main-sidebar:hover .user-panel .info {
	opacity: 1;
	visibility: visible;
	display: block !important;
	margin-left: 10px;
}

.skin-saas .main-sidebar {
	transition: width 0.2s ease;
}

/* ========================
   COLLAPSE HOVER FIX
======================== */

.skin-saas.sidebar-collapse .sidebar-menu>li {
	position: relative;
}

.skin-saas.sidebar-collapse .sidebar-menu>li:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* ========================
   SUBMENU (SAAS DARK)
======================== */

.skin-saas.sidebar-collapse .sidebar-menu>li>.treeview-menu {
	position: absolute;
	left: 50px;
	top: 0;

	min-width: 200px;
	padding: 8px;

	background: #111827;
	/* sama dengan sidebar */
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);

	display: none;
}

.skin-saas.sidebar-collapse .sidebar-menu>li:hover>.treeview-menu {
	display: block;
}

.skin-saas .treeview-menu>li>a {
	color: #d1d5db;
	border-radius: 8px;
	padding: 8px 10px;
	display: block;
}

.skin-saas .treeview-menu>li>a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.skin-saas.sidebar-collapse .sidebar-menu>li {
	padding-right: 10px;
	/* area hover lebih lebar */
}

.skin-saas.sidebar-collapse .sidebar-menu>li>.treeview-menu {
	margin-left: -5px;
	/* overlap dikit supaya tidak putus hover */
}

.skin-saas.sidebar-collapse .treeview-menu {
	opacity: 0;
	transform: translateX(10px);
	transition: all 0.15s ease;
}

.skin-saas.sidebar-collapse .sidebar-menu>li:hover>.treeview-menu {
	opacity: 1;
	transform: translateX(0);
}

/* ========================
   COLLAPSE MENU LABEL FIX
======================== */

.skin-saas.sidebar-collapse .sidebar-menu>li:hover>a>span {
	display: block !important;
	position: absolute;
	left: 50px;
	top: 0;

	background: #111827 !important;
	/* sama dengan sidebar */
	color: #d1d5db !important;

	padding: 10px 14px;
	min-width: 180px;

	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);

	white-space: normal;
}

.skin-saas.sidebar-collapse .sidebar-menu>li:hover>a>span:hover {
	color: #ffffff !important;
}

/* override keras */
.skin-saas.sidebar-collapse .sidebar-menu>li:hover>a {
	background: transparent !important;
}

.skin-saas.sidebar-collapse .sidebar-menu>li {
	position: relative;
}

/* ========================
   USER DROPDOWN (SAAS)
======================== */

.skin-saas .navbar-nav>.user-menu>.dropdown-menu {
	width: 260px;
	border-radius: 12px;
	border: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	padding: 10px;
}

.skin-saas .user-menu .user-header {
	background: transparent;
	padding: 10px;
	text-align: left;
}

/* avatar */
.skin-saas .user-menu .user-header img {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	float: left;
	margin-right: 10px;
}

/* nama */
.skin-saas .user-menu .user-header p {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #111827;
}

.skin-saas .user-menu .user-body {
	display: none;
	/* ini yang bikin kosong tadi */
}

.skin-saas .user-menu .user-footer {
	background: transparent;
	padding: 10px;
	display: flex;
	gap: 8px;
}

/* tombol */
.skin-saas .user-menu .user-footer .btn {
	flex: 1;
	border-radius: 8px;
	font-size: 12px;
	padding: 6px 10px;
}

/* profil */
.skin-saas .user-menu .user-footer .btn-default {
	background: #f3f4f6;
	border: none;
}

/* logout */
.skin-saas .user-menu .user-footer .btn-default.pull-right {
	background: #fee2e2;
	color: #b91c1c;
}

.skin-saas .user-menu .user-header::after {
	content: "";
	display: block;
	clear: both;
}

.skin-saas .user-menu .user-header small {
	display: block;
	font-size: 11px;
	color: #6b7280;
}

.skin-saas .user-menu .btn:hover {
	transform: translateY(-1px);
}

/* ========================
   NAVBAR USER TEXT FIX
======================== */
.skin-saas .navbar-nav>.user-menu>a {
	color: #111827 !important;
	/* teks utama (nama) */
	display: flex;
	align-items: center;
	gap: 8px;
}

/* nama user */
.skin-saas .navbar-nav>.user-menu>a .hidden-xs {
	color: #111827 !important;
	font-weight: 500;
}

/* avatar navbar */
.skin-saas .navbar-nav>.user-menu>a .user-image {
	border-radius: 8px;
	width: 28px;
	height: 28px;
	object-fit: cover;
}

/* hover */
.skin-saas .navbar-nav>.user-menu>a:hover {
	background: #f3f4f6 !important;
	border-radius: 8px;
}

.skin-saas .navbar-custom-menu {
	margin-right: 10px;
}

.skin-saas .navbar-nav>.user-menu>a .hidden-xs {
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ========================
   USER DROPDOWN HEADER FIX
======================== */

.skin-saas .user-menu .user-header {
	background: transparent !important;
	color: #111827 !important;
	text-align: left;
	padding: 12px;
}

/* nama */
.skin-saas .user-menu .user-header p {
	color: #111827 !important;
	font-weight: 600;
	font-size: 14px;
	margin: 0;
}

.skin-saas .user-menu .user-header img {
	border-radius: 10px !important;
	border: 1px solid #e5e7eb;
}

.skin-saas .user-menu .user-footer .btn {
	border: none;
	border-radius: 8px;
	font-size: 12px;
}

/* profil */
.skin-saas .user-menu .user-footer .pull-left .btn {
	background: #f3f4f6;
	color: #111827;
}

/* logout */
.skin-saas .user-menu .user-footer .pull-right .btn {
	background: #fee2e2;
	color: #b91c1c;
}

.skin-saas .user-menu .user-header p {
	line-height: 1.3;
}

/* ========================
   SIDEBAR TEXT WRAP (BEST PRACTICE)
======================== */

.skin-saas .sidebar-menu>li>a {
	display: flex;
	align-items: flex-start;
	/* penting supaya multi-line rapi */
	gap: 10px;
}

.skin-saas .sidebar-menu>li>a>span {
	white-space: normal;
	/* ini kunci (aktifkan wrap) */
	line-height: 1.3;
	font-size: 13px;
}

/* icon tetap sejajar atas */
.skin-saas .sidebar-menu>li>a>i {
	margin-top: 3px;
}


.skin-saas .sidebar-menu>li>a>span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.skin-saas .sidebar-menu>li>a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.skin-saas .sidebar-menu>li>a>span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;

	line-height: 1.3;
	font-size: 13px;
}

.skin-saas .sidebar-menu>li>a>i {
	margin-top: 3px;
}

/* ========================
   SIDEBAR TOGGLE (NORMAL)
======================== */
.skin-saas .main-header .sidebar-toggle {
	color: #374151 !important;
	/* abu gelap */
	font-size: 16px;
	padding: 12px 15px;
}

.skin-saas .main-header .sidebar-toggle:hover {
	background: #f3f4f6 !important;
	color: #111827 !important;
	border-radius: 8px;
}

.skin-saas .main-header .sidebar-toggle .icon-bar {
	background-color: #374151 !important;
}

.skin-saas .main-header .sidebar-toggle:hover {
	background-color: #f3f4f6 !important;
}

.skin-saas .main-header .sidebar-toggle {
	transition: all 0.2s ease;
}

.skin-saas .main-header .sidebar-toggle:active {
	transform: scale(0.9);
}

.skin-saas .main-header .sidebar-toggle:hover {
	color: var(--saas-primary) !important;
}

/* ========================
   TABLE SMALL (COMPACT)
======================== */
.skin-saas .table.table-sm>thead>tr>th,
.skin-saas .table.table-sm>tbody>tr>td {
	padding: 6px 10px;
	font-size: 13px;
}

.skin-saas .table.table-xs>thead>tr>th,
.skin-saas .table.table-xs>tbody>tr>td {
	padding: 4px 8px;
	font-size: 12px;
}

.skin-saas .table.table-sm>tbody>tr {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.skin-saas .table.table-sm .btn {
	padding: 4px 8px;
	font-size: 12px;
	border-radius: 6px;
}

.skin-saas .dataTables_wrapper .dataTables_length,
.skin-saas .dataTables_wrapper .dataTables_filter {
	font-size: 13px;
}

/* ========================
   ZEBRA ROW (SUBTLE)
======================== */
.skin-saas .table tbody tr:nth-child(even) {
	background-color: #f9fafb;
}

.skin-saas .table tbody tr:hover {
	background-color: #f3f4f6 !important;
}

.skin-saas .table {
	/* border-spacing: 0 6px; */
	border-spacing: 0 1px;
	/* jarak antar row */
}

.skin-saas .table tbody tr {
	background: #ffffff;
	transition: all 0.15s ease;
}

.skin-saas .table tbody tr:nth-child(even) {
	background: #f9fafb !important;
}



/* BOX WRAPPER */
.submenu-box {
	border-radius: 10px;
	border: 1px solid #eee;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	margin-bottom: 15px;
}

/* HEADER */
.submenu-box .box-header {
	background: transparent;
	font-weight: 600;
	padding: 12px 15px;
}

.submenu-box .box-title {
	font-size: 14px;
	color: #444;
}

/* LIST */
.submenu-box .nav-stacked>li>a {
	padding: 10px 15px;
	color: #555;
	transition: 0.2s;
}

/* HOVER */
.submenu-box .nav-stacked>li>a:hover {
	background: #f9fafc;
}

/* ACTIVE */
.submenu-box .nav-stacked>li.active>a {
	background: #f4f6f9;
	border-left: 3px solid #3c8dbc;
	font-weight: 600;
}

/* ICON */
.submenu-box .nav-stacked>li>a i {
	width: 18px;
	text-align: center;
	margin-right: 5px;
}

/* BADGE */
.submenu-box .badge {
	font-size: 11px;
	padding: 3px 6px;
}

.skin-saas .box {
	position: relative;
	background: #fff;
	border-radius: 12px;
	border: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.skin-saas .box.box-primary::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #3b82f6;
}

.skin-saas .box.box-success::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #22c55e;
}

.skin-saas .box.box-danger::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #ef4444;
}

.skin-saas .box.box-warning::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #f59e0b;
}

.skin-saas .box.box-info::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #06b6d4;
}


/* TABLE SECTION */
.table-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.table-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	color: #111827;
}

.table-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

/* filter input */
.table-filter input {
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	padding: 6px 10px;
	min-width: 200px;
}

.table-wrapper {
	margin-top: 8px;
}


.skin-saas .table thead th {
	font-weight: 600;
	font-size: 13px;
	color: #374151;
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
}

.table-section {
	display: flex;
	align-items: center;
	gap: 12px;
}

.section-label {
	min-width: 60px;
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
}

.section-content {
	flex: 1;
}

.section-content {
	flex-wrap: wrap;
}

/* ========================
   FILTER SYSTEM
======================== */

.filter-group {
	min-width: 160px;
}

.filter-control {
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}

.filter-search {
	border-radius: 8px;
	padding: 6px 10px;
	min-width: 200px;
}

.filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.filter-label {
	font-size: 11px;
	color: #6b7280;
	font-weight: 500;
}

.filter-inline {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* label */
.filter-inline span {
	font-size: 12px;
	color: #6b7280;
	white-space: nowrap;
}

/* select */
.filter-inline select {
	min-width: 160px;
}

.filter-group select {
	border-radius: 8px;
	border: 1px solid #e5e7eb;
}

.filter-group select:focus {
	border-color: var(--saas-primary);
}

.filter-inline select {
	min-width: 150px;
	max-width: 250px;
}

.filter-group {
	min-width: 180px;
}

.filter-group select {
	width: 100%;
}

/* spacing helper */
.gap-2 {
	gap: 8px;
}

/* ========================
   PREVIEW WRAPPER
======================== */

.preview-wrapper {
	border: 1px solid var(--saas-border);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

/* iframe */
.preview-frame {
	width: 100%;
	height: 600px;
	border: none;
}

.preview-sm .preview-frame {
	height: 400px;
}

.preview-lg .preview-frame {
	height: 800px;
}

.preview-full {
	height: calc(100vh - 200px);
}

.preview-full .preview-frame {
	height: 100%;
}

/* loading */
.preview-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 600px;
	color: var(--saas-text-muted);
}

.preview-wrapper {
	padding: 0;
	/* table biasanya tanpa padding */
}

/* ========================
   TREEVIEW
======================== */

.treeview {
	font-size: 13px;
}

/* node wrapper */
.tree-node {
	margin-left: 12px;
}

/* item */
.tree-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.tree-item:hover {
	background: #f3f4f6;
}

/* toggle icon */
.tree-toggle {
	font-size: 10px;
	transition: transform 0.2s ease;
}

/* label */
.tree-label {
	flex: 1;
}

/* children */
.tree-children {
	margin-left: 14px;
	border-left: 1px dashed #e5e7eb;
	padding-left: 8px;
	display: none;
}

/* open state */
.tree-node.open>.tree-children {
	display: block;
}

.tree-node.open>.tree-item .tree-toggle {
	transform: rotate(90deg);
}

/* leaf */
.tree-item.leaf {
	padding-left: 22px;
	color: #374151;
}

.tree-item.active {
	background: #e0e7ff;
	color: #3730a3;
}

.tree-actions {
	margin-left: auto;
	display: flex;
	gap: 4px;
}

/* cursor seluruh baris */
.tree-item {
	cursor: pointer;
}

/* hover lebih jelas */
.tree-item:hover {
	background: #eef2ff;
}

.tree-toolbar {
	display: flex;
	gap: 6px;
}


.tree-children {
	transition: all 0.2s ease;
}

/* ========================
   TREE LOADING
======================== */

.tree-container {
	position: relative;
	min-height: 120px;
}

/* overlay */
.tree-loading {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.8);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 10;
	border-radius: 12px;
}

/* spinner */
.spinner {
	width: 32px;
	height: 32px;
	border: 3px solid #e5e7eb;
	border-top: 3px solid #6366f1;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

/* text */
.loading-text {
	margin-top: 8px;
	font-size: 12px;
	color: #6b7280;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ========================
   TREE VARIANT
======================== */

/* base (hover tetap jalan) */
.tree-item {
	transition: all 0.15s ease;
}

/* PRIMARY */
.tree-item.tree-primary {
	background: #eef2ff;
	color: #3730a3;
}

/* SUCCESS */
.tree-item.tree-success {
	/* background: #ecfdf5; */
	/* color: #065f46; */
	background: var(--saas-success-light);
	color: var(--saas-success-dark);
	border-left: 3px solid var(--saas-success);
}

/* DANGER */
.tree-item.tree-danger {
	/* background: #fef2f2; */
	/* color: #991b1b; */
	background: var(--saas-danger-light);
	color: var(--saas-danger-dark);
	border-left: 3px solid var(--saas-danger);
}

/* WARNING */
.tree-item.tree-warning {
	background: #fffbeb;
	color: #92400e;
}

/* INFO */
.tree-item.tree-info {
	background: #ecfeff;
	color: #0e7490;
}

/* hover tetap konsisten */
.tree-item.tree-primary:hover {
	background: #e0e7ff;
}

.tree-item.tree-success:hover {
	background: #d1fae5;
}

.tree-item.tree-danger:hover {
	background: #fee2e2;
}

.tree-item.tree-primary {
	border-left: 3px solid #6366f1;
}

.tree-item.tree-success {
	border-left: 3px solid #22c55e;
}

.tree-item.tree-danger {
	border-left: 3px solid #ef4444;
}

/* ========================
   TREE ITEM LOADING
======================== */

.tree-loader {
	margin-left: auto;
	width: 14px;
	height: 14px;
	border: 2px solid #e5e7eb;
	border-top: 2px solid #6366f1;
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}

/* sembunyikan */
.d-none {
	display: none !important;
}

.tree-item.loading {
	opacity: 0.6;
	pointer-events: none;
}

.tree-skeleton {
	height: 12px;
	background: #e5e7eb;
	margin: 6px 0;
	border-radius: 4px;
}

/* ========================
   TREE TABLE BASE
======================== */

.tree-table {
	font-size: 13px;
}

/* header */
.tree-header {
	display: grid;
	padding: 10px;
	font-weight: 600;
	/* background: #f9fafb; */
	/* border-bottom: 1px solid #e5e7eb; */
	background: var(--saas-bg);
	border-bottom: 1px solid var(--saas-border);
}

/* row */
.tree-row {
	display: grid;
	padding: 8px 10px;
	align-items: center;
	/* border-bottom: 1px solid #f1f5f9; */
	border-bottom: 1px solid var(--saas-border);
	transition: all 0.15s ease;
}

/* ========================
   FLEXIBLE GRID
======================== */

.tree-header,
.tree-row {
	display: grid;
	/* grid-template-columns: 
        100px
        minmax(200px, 1fr)
        120px
        auto; */
	grid-template-columns:
		minmax(80px, 120px) 1fr minmax(100px, 150px) max-content;
}

/* hover */
.tree-row:hover {
	background: #f3f4f6;
}

/* columns */
.col {
	padding: 0 6px;
}

/* align */
.text-right {
	text-align: right;
}

.text-center {
	text-align: center;
}

/* ========================
   TREE STRUCTURE
======================== */

.tree-cell {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* toggle */
.tree-toggle {
	cursor: pointer;
	font-size: 10px;
	transition: transform 0.2s ease;
}

/* children */
.tree-children {
	/* margin-left: 20px; */
	margin-left: 8px;
	border-left: 1px dashed #e5e7eb;
	/* padding-left: 10px; */
	padding-left: 4px;
	display: none;
}

.tree-node.open>.tree-children {
	display: block;
}

.tree-node.open>.tree-row .tree-toggle {
	transform: rotate(90deg);
}

.tree-node.updated {
	/* background: #ecfdf5; */
	background: #fdfaec;
	transition: background 0.5s;
}

/* ========================
   ZEBRA
======================== */
.tree-body .tree-row:nth-child(even) {
	background: #fafafa;
}

/* ========================
   VARIANT COLORS
======================== */

.tree-row.tree-primary {
	background: #eef2ff;
	color: #3730a3;
	border-left: 3px solid #6366f1;
}

/* ========================
   BASE VARIANT
======================== */

.tree-row.tree-success {
	--tree-bg: #ecfdf5;
	--tree-text: #065f46;
	--tree-border: #22c55e;
}

.tree-row.tree-danger {
	--tree-bg: #fef2f2;
	--tree-text: #991b1b;
	--tree-border: #ef4444;
}

.tree-row.tree-success,
.tree-row.tree-danger {
	background: var(--tree-bg);
	color: var(--tree-text);
	border-left: 3px solid var(--tree-border);
}

/* ========================
   CHILD VARIANT
======================== */

.tree-row.tree-success.tree-reception {
	--tree-bg: #e2fff5;
	/* sedikit beda */
}

.tree-row.tree-danger.tree-expenditure {
	--tree-bg: #fef5f2;
}

.tree-row.tree-warning {
	background: #fffbeb;
	color: #92400e;
	border-left: 3px solid #f59e0b;
}

.tree-row.tree-info {
	background: #ecfeff;
	color: #0e7490;
	border-left: 3px solid #06b6d4;
}

/* hover tetap enak */
.tree-row.tree-primary:hover {
	background: #e0e7ff;
}

.tree-row.tree-success:hover {
	background: #d1fae5;
}

.tree-row.tree-success.tree-reception:hover {
	background: #ccfbf1;
}

.tree-row.tree-danger:hover {
	background: #fee2e2;
}

.tree-row.tree-danger.tree-expenditure:hover {
	background: #fde2e2;
}

.tree-actions {
	white-space: nowrap;
}

.tree-actions .btn {
	display: inline-block;
}

.tree-row {
	column-gap: 10px;
}

@media (max-width: 768px) {

	.tree-header,
	.tree-row {
		grid-template-columns: 80px 1fr auto;
	}

	.col-besaran {
		display: none;
	}
}

/* ========================
   GRID SYSTEM (SINGLE SOURCE)
======================== */

.tree-table {
	--col-layout:
		100px minmax(250px, 1fr) 120px max-content;
}

.tree-header,
.tree-row {
	display: grid;
	grid-template-columns: var(--col-layout);
}

/* ========================
   COLUMN BORDER
======================== */

.tree-header .col,
.tree-row .col {
	border-right: 1px dashed #e5e7eb;
}

/* hilangkan border terakhir */
.tree-header .col:last-child,
.tree-row .col:last-child {
	border-right: none;
}

.tree-header {
	background: #f9fafb;
	border-bottom: 2px dashed #e5e7eb;
}


.tree-actions {
	white-space: nowrap;
	display: flex;
	gap: 6px;
	justify-content: center;
}

.tree-header .col,
.tree-row .col {
	border-right: 1px dashed #f1f5f9;
}

.tree-row:hover {
	background: #f3f4f6;
}

.tree-header .col,
.tree-row .col {
	border-right: 1px dashed #d1d5db;
}

/* ========================
   FINAL GRID (STABLE)
======================== */

.tree-table {
	--col-kode: 100px;
	--col-judul: 1fr;
	--col-besaran: 120px;
	--col-aksi: 140px;
	/* FIXED */
}

.tree-header,
.tree-row {
	display: grid;
	grid-template-columns:
		var(--col-kode) var(--col-judul) var(--col-besaran) var(--col-aksi);
	align-items: center;
}

/* WAJIB */
.tree-header,
.tree-row {
	padding: 0;
	margin: 0;
}

.col {
	padding: 8px 10px;
	box-sizing: border-box;
}

.tree-action-dropdown .btn {
	width: 100%;
	text-align: center;
}

.tree-action-dropdown .dropdown-menu {
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	border: none;
	padding: 6px 0;
}

.tree-action-dropdown .dropdown-menu>li>a {
	padding: 8px 14px;
	font-size: 13px;
}

.tree-action-dropdown .dropdown-menu>li>a:hover {
	background: #f3f4f6;
}

.tree-header .col,
.tree-row .col {
	border-right: 1px solid #e5e7eb;
}

.tree-header .col:last-child,
.tree-row .col:last-child {
	border-right: none;
}

/* ========================
   CUSTOM DROPDOWN
======================== */

.dropdown-custom {
	position: relative;
	display: inline-block;
}

/* menu */
.dropdown-menu-custom {
	position: absolute;
	top: 110%;
	right: 0;
	min-width: 140px;

	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

	padding: 6px 0;
	z-index: 9999;

	opacity: 0;
	transform: translateY(5px);
	pointer-events: none;

	transition: all 0.15s ease;
}

/* show state */
.dropdown-custom.open .dropdown-menu-custom {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

/* item */
.dropdown-item {
	padding: 8px 14px;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.15s;
}

/* hover */
.dropdown-item:hover {
	background: #f3f4f6;
}

/* danger item */
.dropdown-item.danger {
	color: #ef4444;
}

.dropdown-menu-custom {
	transition: opacity 0.15s ease, transform 0.15s ease;
}


/* ========================
   SAAS WIDGET
======================== */

.saas-widget {
	border-radius: 14px;
	padding: 16px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.saas-widget:hover {
	transform: translateY(-3px);
}

/* layout */
.widget-body {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* text */
.widget-title {
	font-size: 13px;
	color: #6b7280;
}

.widget-value {
	font-size: 22px;
	font-weight: 600;
	margin: 4px 0;
}

.widget-desc {
	font-size: 12px;
	color: #9ca3af;
}

/* icon */
.widget-icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

/* ========================
   VARIANTS
======================== */

/* PRIMARY */
.widget-primary .widget-icon {
	background: #eef2ff;
	color: #6366f1;
}

/* SUCCESS (PENERIMAAN) */
.widget-success .widget-icon {
	background: #ecfdf5;
	color: #22c55e;
}

/* DANGER (PENGELUARAN) */
.widget-danger .widget-icon {
	background: #fef2f2;
	color: #ef4444;
}

/* WARNING */
.widget-warning .widget-icon {
	background: #fffbeb;
	color: #f59e0b;
}

.text-success {
	color: #22c55e;
}

.text-danger {
	color: #ef4444;
}

.widget-mini {
	padding: 10px;
	border-radius: 10px;
	background: #f9fafb;
	font-size: 12px;
}

/* =====================================================
   FLEXIBLE WIDGET TABLE
===================================================== */

.widget-table {
	width: 100%;

	border: 1px solid var(--saas-border);
	border-radius: 12px;

	overflow: hidden;
	background: #fff;
}

/* ========================
   ROW
======================== */

.widget-table .wt-row {
	display: flex;
	align-items: stretch;

	border-bottom: 1px solid var(--saas-border);

	transition: all 0.2s ease;
}

/* last row */
.widget-table .wt-row:last-child {
	border-bottom: none;
}

/* zebra */
.widget-table .wt-row:nth-child(even):not(.wt-head) {
	background: #fafafa;
}

/* hover */
.widget-table .wt-row:not(.wt-head):hover {
	background: #f8fafc;
}

/* ========================
   HEADER
======================== */

.widget-table .wt-head {
	background: #f9fafb;
	font-weight: 600;
}

/* ========================
   COLUMN
======================== */

.widget-table .wt-col {
	padding: 12px 14px;

	display: flex;
	align-items: center;

	min-height: 54px;

	border-right: 1px solid var(--saas-border);

	min-width: 0;
}

/* remove last border */
.widget-table .wt-col:last-child {
	border-right: none;
}

/* ========================
   FLEX WIDTH
======================== */

/* auto */
.widget-table .wt-col-auto {
	flex: 1;
}

/* fixed fraction */
.widget-table .wt-col-1 {
	flex: 1;
}

.widget-table .wt-col-2 {
	flex: 2;
}

.widget-table .wt-col-3 {
	flex: 3;
}

.widget-table .wt-col-4 {
	flex: 4;
}

.widget-table .wt-col-5 {
	flex: 5;
}

.widget-table .wt-col-6 {
	flex: 6;
}

/* fixed width */
.widget-table .wt-w-80 {
	width: 80px;
	flex: 0 0 80px;
}

.widget-table .wt-w-100 {
	width: 100px;
	flex: 0 0 100px;
}

.widget-table .wt-w-120 {
	width: 120px;
	flex: 0 0 120px;
}

.widget-table .wt-w-150 {
	width: 150px;
	flex: 0 0 150px;
}

.widget-table .wt-w-200 {
	width: 200px;
	flex: 0 0 200px;
}

/* =====================================================
   WIDGET TABLE SIZE VARIANT
===================================================== */

/* ========================
   XS
======================== */

.widget-table.wt-xs .wt-col {
	padding: 6px 8px;
	min-height: 34px;
	font-size: 11px;
}

.widget-table.wt-xs .wt-title {
	font-size: 11px;
}

.widget-table.wt-xs .wt-subtitle {
	font-size: 10px;
}

/* ========================
   SM
======================== */

.widget-table.wt-sm .wt-col {
	padding: 8px 10px;
	min-height: 42px;
	font-size: 12px;
}

.widget-table.wt-sm .wt-title {
	font-size: 12px;
}

.widget-table.wt-sm .wt-subtitle {
	font-size: 11px;
}

/* ========================
   LG
======================== */

.widget-table.wt-lg .wt-col {
	padding: 16px 18px;
	min-height: 64px;
	font-size: 15px;
}

.widget-table.wt-lg .wt-title {
	font-size: 15px;
}

.widget-table.wt-lg .wt-subtitle {
	font-size: 13px;
}

/* ========================
   TEXT
======================== */

.widget-table .wt-title {
	font-weight: 600;
	margin-bottom: 2px;
}

.widget-table .wt-subtitle {
	font-size: 12px;
	color: var(--saas-text-muted);
}

/* ========================
   ALIGNMENT
======================== */

.widget-table .text-center {
	justify-content: center;
	text-align: center;
}

.widget-table .text-right {
	justify-content: flex-end;
	text-align: right;
}

/* ========================
   MOBILE
======================== */

@media (max-width: 768px) {

	.widget-table {
		overflow-x: auto;
	}

	.widget-table .wt-row {
		min-width: 700px;
	}
}

/* zebra */
.wt-row:not(.wt-head):nth-child(even) {
	background: #fafafa;
}

/* hover */
.wt-row:hover {
	background: #f3f4f6;
}

/* highlight */
.wt-row.success {
	background: #ecfdf5;
}

.wt-row.danger {
	background: #fef2f2;
}

.wt-progress {
	height: 6px;
	background: #e5e7eb;
	border-radius: 6px;
	margin-top: 4px;
	overflow: hidden;
}

.wt-bar {
	height: 100%;
	background: #6366f1;
	border-radius: 6px;
}

/* ========================
   HEADER SOLID
======================== */

.widget-header-primary {
	background: var(--saas-primary);
	color: #fff;
}

.widget-header-success {
	background: #22c55e;
	color: #fff;
}

.widget-header-danger {
	background: #ef4444;
	color: #fff;
}

.widget-header-warning {
	background: #f59e0b;
	color: #fff;
}

.widget-header-info {
	background: #06b6d4;
	color: #fff;
}

/* ========================
   HEADER SOFT
======================== */

.widget-header-soft-primary {
	background: #eef2ff;
	color: #3730a3;
}

.widget-header-soft-success {
	/* background: #ecfdf5; */
	/* color: #065f46; */
	background: var(--saas-success-light);
	color: var(--saas-success-dark);
}

.widget-header-soft-danger {
	/* background: #fef2f2; */
	/* color: #991b1b; */
	background: var(--saas-danger-light);
	color: var(--saas-danger-dark);
}

.widget-header-soft-warning {
	background: #fffbeb;
	color: #92400e;
}

.widget-header-soft-info {
	background: #ecfeff;
	color: #0e7490;
}

.widget-header-border-primary {
	border-left: 4px solid var(--saas-primary);
	background: #f9fafb;
}

.widget-header-border-success {
	border-left: 4px solid #22c55e;
	background: #f9fafb;
}

.widget-header-border-danger {
	border-left: 4px solid #ef4444;
	background: #f9fafb;
}

/* ========================
   HEADER TYPOGRAPHY FIX
======================== */

.widget-header {
	font-size: 15px;
	/* dari 13 → 15 */
	font-weight: 600;
	letter-spacing: 0.3px;
}

.widget-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* ========================
   SAAS STAT WIDGET
======================== */

.saas-stat {
	display: flex;
	align-items: center;
	border-radius: 14px;
	overflow: hidden;
	background: var(--saas-card);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.saas-stat:hover {
	transform: translateY(-3px);
}

/* icon area */
.stat-icon {
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #fff;
}

/* content */
.stat-content {
	padding: 10px 14px;
}

.stat-title {
	font-size: 12px;
	color: var(--saas-text-muted);
	font-weight: 500;
}

.stat-value {
	font-size: 20px;
	font-weight: 600;
	margin-top: 2px;
}

/* ========================
   VARIANTS
======================== */

.stat-primary .stat-icon {
	background: var(--saas-primary);
}

.stat-success .stat-icon {
	background: var(--saas-success);
}

.stat-danger .stat-icon {
	background: var(--saas-danger);
}

.stat-warning .stat-icon {
	background: var(--saas-warning);
}

.stat-info .stat-icon {
	background: var(--saas-info);
}

/* ========================
   SOFT STYLE
======================== */

.saas-stat.soft .stat-icon {
	background: transparent;
	color: inherit;
}

.stat-soft-primary {
	background: var(--saas-primary-light);
	color: var(--saas-primary-dark);
}

.stat-soft-success {
	background: var(--saas-success-light);
	color: var(--saas-success-dark);
}

.stat-soft-danger {
	background: var(--saas-danger-light);
	color: var(--saas-danger-dark);
}

.stat-trend {
	font-size: 12px;
	margin-left: 6px;
}

.stat-trend.up {
	color: var(--saas-success);
}

.stat-trend.down {
	color: var(--saas-danger);
}

.saas-stat.mini {
	height: 50px;
}

.saas-stat.mini .stat-icon {
	width: 50px;
	height: 50px;
	font-size: 16px;
}

.saas-stat.mini .stat-value {
	font-size: 16px;
}

/* ========================
   STAT PROGRESS
======================== */

.saas-stat-progress {
	padding: 14px;
	border-radius: 12px;
	background: var(--saas-card);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-progress {
	margin-top: 10px;
	height: 6px;
	background: var(--saas-border);
	border-radius: 6px;
	overflow: hidden;
}

.stat-bar {
	height: 100%;
	background: var(--saas-primary);
	border-radius: 6px;
}

/* ========================
   HIGHLIGHT BAR
======================== */

.saas-highlight {
	display: flex;
	border-radius: 12px;
	overflow: hidden;
	color: #fff;
}

.saas-highlight:hover {
	transform: translateY(-3px);
}

.stat-primary {
	background: var(--saas-info);
}

/* icon */
.highlight-icon {
	width: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	background: rgba(0, 0, 0, 0.1);
}

/* content */
.highlight-content {
	flex: 1;
	padding: 12px 14px;
}

.highlight-title {
	font-size: 12px;
	opacity: 0.9;
}

.highlight-value {
	font-size: 18px;
	font-weight: 600;
	margin: 4px 0;
}

.highlight-sub {
	font-size: 12px;
	opacity: 0.85;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	padding-top: 6px;
}

/* badge */
.badge-danger {
	background: #ef4444;
	padding: 2px 6px;
	border-radius: 6px;
	font-size: 11px;
	margin-left: 6px;
}

/* ========================
   METRIC CARD
======================== */

.saas-metric {
	border-radius: 12px;
	overflow: hidden;
	color: #fff;
}

.saas-metric:hover {
	transform: translateY(-3px);
}

.stat-info {
	background: var(--saas-info);
}

.stat-success {
	background: var(--saas-success);
}

.stat-danger {
	background: var(--saas-danger);
}

/* body */
.metric-body {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
}

.metric-value {
	font-size: 28px;
	font-weight: 700;
}

.metric-title {
	font-size: 13px;
	opacity: 0.9;
}

/* icon */
.metric-icon {
	font-size: 40px;
	opacity: 0.2;
}

/* footer */
.metric-footer {
	background: rgba(0, 0, 0, 0.1);
	text-align: center;
	padding: 6px;
	font-size: 12px;
	cursor: pointer;
}


/* ========================
   STAT COLOR MAP
======================== */

.stat-primary {
	--stat-bg: var(--saas-primary);
	--stat-bg-soft: var(--saas-primary-light);
	--stat-text: #fff;
	--stat-text-soft: var(--saas-primary-dark);
	--stat-accent: var(--saas-primary);
}

.stat-success {
	--stat-bg: var(--saas-success);
	--stat-bg-soft: var(--saas-success-light);
	--stat-text: #fff;
	--stat-text-soft: var(--saas-success-dark);
	--stat-accent: var(--saas-success);
}

.stat-danger {
	--stat-bg: var(--saas-danger);
	--stat-bg-soft: var(--saas-danger-light);
	--stat-text: #fff;
	--stat-text-soft: var(--saas-danger-dark);
	--stat-accent: var(--saas-danger);
}

.stat-warning {
	--stat-bg: var(--saas-warning);
	--stat-bg-soft: var(--saas-warning-light);
	--stat-text: #fff;
	--stat-text-soft: #92400e;
	--stat-accent: var(--saas-warning);
}

.stat-info {
	--stat-bg: var(--saas-info);
	--stat-bg-soft: var(--saas-info-light);
	--stat-text: #fff;
	--stat-text-soft: #0e7490;
	--stat-accent: var(--saas-info);
}

.stat-purple {
	--stat-bg: #7c3aed;
	--stat-bg-soft: #f3e8ff;
	--stat-text: #fff;
	--stat-text-soft: #5b21b6;
	--stat-accent: #7c3aed;
}

/* ========================
   SOLID MODE
======================== */

.saas-metric,
.saas-highlight {
	background: var(--stat-bg);
	color: var(--stat-text);
}

/* ========================
   SOFT MODE
======================== */

.saas-stat-progress,
.saas-metric.soft,
.saas-highlight.soft {
	background: var(--stat-bg-soft);
	color: var(--stat-text-soft);
}

/* icon / progress pakai accent */

.metric-icon,
.highlight-icon {
	color: var(--stat-text);
}

.saas-stat-progress .stat-bar {
	background: var(--stat-accent);
}

/* footer (metric) */
.metric-footer {
	background: rgba(0, 0, 0, 0.08);
}

/* soft version */
.saas-metric.soft .metric-footer {
	background: rgba(0, 0, 0, 0.05);
}

/* ========================
   SOFT VARIANT
======================== */

.saas-metric.soft,
.saas-highlight.soft,
.saas-stat-progress.soft {
	background: var(--stat-bg-soft);
	color: var(--stat-text-soft);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* icon soft */
.soft .metric-icon,
.soft .highlight-icon {
	color: var(--stat-accent);
	opacity: 0.8;
}

/* progress */
.soft .stat-bar {
	background: var(--stat-accent);
}

/* ========================
   DARK VARIANT
======================== */

.saas-metric.dark,
.saas-highlight.dark,
.saas-stat-progress.dark {
	background: rgba(17, 24, 39, 0.9);
	/* dark base */
	color: #f9fafb;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* accent border kiri */
.dark {
	border-left: 3px solid var(--stat-accent);
}

/* icon */
.dark .metric-icon,
.dark .highlight-icon {
	color: var(--stat-accent);
	opacity: 0.9;
}

/* progress */
.dark .stat-bar {
	background: var(--stat-accent);
}

/* footer */
.dark .metric-footer {
	background: rgba(255, 255, 255, 0.05);
}

/* ========================
   GLASS DARK (OPTIONAL)
======================== */

.saas-metric.dark.glass {
	backdrop-filter: blur(10px);
	background: rgba(17, 24, 39, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================
   SOFT VARIANTS (DIRECT)
======================== */

/* PRIMARY */
.soft-primary {
	background: var(--saas-primary-light);
	color: var(--saas-primary-dark);
}

/* SUCCESS */
.soft-success {
	background: var(--saas-success-light);
	color: var(--saas-success-dark);
}

/* DANGER */
.soft-danger {
	background: var(--saas-danger-light);
	color: var(--saas-danger-dark);
}

/* WARNING */
.soft-warning {
	background: var(--saas-warning-light);
	color: #92400e;
}

/* INFO */
.soft-info {
	background: var(--saas-info-light);
	color: #0e7490;
}

/* ========================
   AUTO ACCENT
======================== */

.soft-primary .metric-icon,
.soft-primary .highlight-icon,
.soft-primary .stat-bar {
	color: var(--saas-primary);
	background: var(--saas-primary);
}

.soft-success .metric-icon,
.soft-success .highlight-icon,
.soft-success .stat-bar {
	color: var(--saas-success);
	background: var(--saas-success);
}

.soft-danger .metric-icon,
.soft-danger .highlight-icon,
.soft-danger .stat-bar {
	color: var(--saas-danger);
	background: var(--saas-danger);
}

.soft-warning .metric-icon,
.soft-warning .highlight-icon,
.soft-warning .stat-bar {
	color: var(--saas-warning);
	background: var(--saas-warning);
}

.soft-info .metric-icon,
.soft-info .highlight-icon,
.soft-info .stat-bar {
	color: var(--saas-info);
	background: var(--saas-info);
}

.metric-icon,
.highlight-icon {
	opacity: 0.8;
}

.stat-bar {
	height: 6px;
	border-radius: 6px;
}

/* ========================
   FIX TEXT COLOR STAT
======================== */

/* SOLID MODE (default stat-*) */
.saas-stat.stat-primary,
.saas-stat.stat-success,
.saas-stat.stat-danger,
.saas-stat.stat-warning,
.saas-stat.stat-info {
	background: var(--stat-bg);
	color: var(--stat-text);
	/* biasanya putih */
}

/* pastikan semua text di dalam ikut */
.saas-stat.stat-primary *,
.saas-stat.stat-success *,
.saas-stat.stat-danger *,
.saas-stat.stat-warning *,
.saas-stat.stat-info * {
	color: inherit;
}

.saas-stat .stat-icon {
	color: inherit;
	opacity: 0.9;
}

.saas-stat .stat-icon {
	opacity: 0.85;
}

.saas-stat.soft-success .stat-icon {
	opacity: 1;
}

/* ========================
   STAT BORDER
======================== */

.saas-stat.with-border {
	border: 1px solid var(--saas-border);
}

/* soft-success */
.saas-stat.soft-success.with-border {
	border-color: var(--saas-success);
}

/* soft-danger */
.saas-stat.soft-danger.with-border {
	border-color: var(--saas-danger);
}

/* soft-primary */
.saas-stat.soft-primary.with-border {
	border-color: var(--saas-primary);
}

/* soft-warning */
.saas-stat.soft-warning.with-border {
	border-color: var(--saas-warning);
}

/* soft-info */
.saas-stat.soft-info.with-border {
	border-color: var(--saas-info);
}

.saas-stat.with-border {
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.saas-stat.border-left {
	border-left: 4px solid var(--saas-success);
}

.saas-stat.soft-success.border-left {
	border-left: 4px solid var(--saas-success);
}

.stat-value.negative {
	color: var(--saas-danger);
}

/* ========================
   HIGHLIGHT ANIMATION
======================== */

.highlight-in {
	animation: highlightFade 1s ease;
}

@keyframes highlightFade {
	0% {
		background: #fef9c3;
		/* kuning soft */
	}

	100% {
		background: transparent;
	}
}

/* ========================
   LOADING OVERLAY
======================== */

.loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.loading-spinner {
	font-size: 20px;
	color: var(--saas-primary);
}

/* ========================
   AUTO RESET BAR
======================== */

.auto-reset-bar {
	height: 4px;
	background: var(--saas-primary);
	width: 100%;
	transition: width linear;
}

/* ========================
   ALERT SAAS
======================== */

.skin-saas .alert {
	border-radius: 10px;
	border: 1px solid var(--saas-border);
	padding: 10px 14px;
	font-size: 13px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

/* icon optional */
.skin-saas .alert i {
	margin-top: 2px;
}

/* ========================
   VARIANTS (SOFT)
======================== */

.skin-saas .alert-success {
	background: var(--saas-success-light);
	color: var(--saas-success-dark);
	border-color: var(--saas-success);
}

.skin-saas .alert-danger {
	background: var(--saas-danger-light);
	color: var(--saas-danger-dark);
	border-color: var(--saas-danger);
}

.skin-saas .alert-warning {
	background: var(--saas-warning-light);
	color: #92400e;
	border-color: var(--saas-warning);
}

.skin-saas .alert-info {
	background: var(--saas-info-light);
	color: #0e7490;
	border-color: var(--saas-info);
}

/* ========================
   ALERT SOLID
======================== */

.skin-saas .alert-solid.alert-success {
	background: var(--saas-success);
	color: #fff;
	border: none;
}

.skin-saas .alert-solid.alert-danger {
	background: var(--saas-danger);
	color: #fff;
}

/* ========================
   CALLOUT SAAS
======================== */

.skin-saas .callout {
	border-radius: 10px;
	padding: 12px 14px;
	border-left: 4px solid;
	background: #fff;
	border: 1px solid var(--saas-border);
}

/* ========================
   VARIANTS
======================== */

.skin-saas .callout-success {
	border-left-color: var(--saas-success);
	background: var(--saas-success-light);
	color: var(--saas-success-dark);
}

.skin-saas .callout-danger {
	border-left-color: var(--saas-danger);
	background: var(--saas-danger-light);
	color: var(--saas-danger-dark);
}

.skin-saas .callout-warning {
	border-left-color: var(--saas-warning);
	background: var(--saas-warning-light);
	color: #92400e;
}

.skin-saas .callout-info {
	border-left-color: var(--saas-info);
	background: var(--saas-info-light);
	color: #0e7490;
}

.skin-saas .callout-minimal {
	background: transparent;
	border: none;
	border-left: 4px solid var(--saas-primary);
	padding-left: 10px;
}

.skin-saas .alert:hover,
.skin-saas .callout:hover {
	transform: translateY(-1px);
}

.skin-saas .alert .close {
	color: inherit;
	opacity: 0.6;
}

.skin-saas .alert .close:hover {
	opacity: 1;
}

/* ========================
   ALERT BORDER FIX
======================== */

.skin-saas .alert {
	border-left: 4px solid transparent;
	/* base */
}

/* variants */
.skin-saas .alert-success {
	border-left-color: var(--saas-success);
}

.skin-saas .alert-danger {
	border-left-color: var(--saas-danger);
}

.skin-saas .alert-warning {
	border-left-color: var(--saas-warning);
}

.skin-saas .alert-info {
	border-left-color: var(--saas-info);
}

/* ========================
   CALLOUT BORDER FIX
======================== */

.skin-saas .callout {
	border-left: 4px solid transparent;
}

/* variants */
.skin-saas .callout-success {
	border-left-color: var(--saas-success);
}

.skin-saas .callout-danger {
	border-left-color: var(--saas-danger);
}

.skin-saas .callout-warning {
	border-left-color: var(--saas-warning);
}

.skin-saas .callout-info {
	border-left-color: var(--saas-info);
}

.skin-saas .alert,
.skin-saas .callout {
	padding-left: 12px;
	/* balance dengan border */
}

.skin-saas .alert-success {
	border-left-color: rgba(34, 197, 94, 0.8);
}

/* ========================
   TOASTR SAAS BASE
======================== */

#toast-container>.toast {
	border-radius: 10px;
	padding: 12px 14px 12px 40px;
	background-image: none !important;
	position: relative;
	font-size: 13px;
}

/* ========================
   BASE SHADOW
======================== */

#toast-container>.toast {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* ========================
   HOVER (SUBTLE)
======================== */

/* #toast-container > .toast:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
} */

#toast-container>.toast:hover {
	transform: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* icon kiri */
#toast-container>.toast:before {
	position: absolute;
	left: 12px;
	top: 12px;
	font-family: FontAwesome;
	font-size: 16px;
}

/* SUCCESS */
#toast-container>.toast-success {
	background: var(--saas-success-light);
	color: var(--saas-success-dark);
	border-left: 4px solid var(--saas-success);
}

#toast-container>.toast-success:before {
	content: "\f00c";
	color: var(--saas-success);
}

/* ERROR */
#toast-container>.toast-error {
	background: var(--saas-danger-light);
	color: var(--saas-danger-dark);
	border-left: 4px solid var(--saas-danger);
}

#toast-container>.toast-error:before {
	content: "\f00d";
	color: var(--saas-danger);
}

/* WARNING */
#toast-container>.toast-warning {
	background: var(--saas-warning-light);
	color: #92400e;
	border-left: 4px solid var(--saas-warning);
}

#toast-container>.toast-warning:before {
	content: "\f071";
	color: var(--saas-warning);
}

/* INFO */
#toast-container>.toast-info {
	background: var(--saas-info-light);
	color: #0e7490;
	border-left: 4px solid var(--saas-info);
}

#toast-container>.toast-info:before {
	content: "\f05a";
	color: var(--saas-info);
}

#toast-container>.toast .toast-close-button {
	color: inherit;
	opacity: 0.6;
	right: 6px;
	top: 4px;
}

#toast-container>.toast .toast-close-button:hover {
	opacity: 1;
}

#toast-container>.toast .toast-progress {
	background: rgba(0, 0, 0, 0.1);
	height: 3px;
}

#toast-container>.toast:hover {
	transform: translateY(-2px);
}

/* ========================
   FIX OPACITY
======================== */

#toast-container>.toast {
	opacity: 1 !important;
}

#toast-container>.toast {
	opacity: 1 !important;
	transform: translateY(10px);
}

#toast-container>.toast.toast-show {
	transform: translateY(0);
}

/* =====================================================
   LOGIN SAAS MODERN
===================================================== */

body.login-page {
	background: #f4f6f9;
	min-height: 100vh;
	overflow-x: hidden;
}

.login-page-saas {
	min-height: 100vh;
	display: flex;
	background: #f8fafc;
}

/* =====================================================
   HERO
===================================================== */

.login-hero {
	flex: 1;
	position: relative;
	/* background:
        linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)),
        url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?q=80&w=1600&auto=format&fit=crop'); */

	background-size: cover;
	background-position: center;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 50px;

	color: #fff;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 520px;
}

.hero-logo-wrap {
	margin-bottom: 24px;
}

.hero-logo {
	/* width: 90px; */
	height: 110px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.1);
	padding: 12px;
	backdrop-filter: blur(10px);
}

.hero-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 14px;
}

.hero-subtitle {
	font-size: 15px;
	line-height: 1.8;
	opacity: 0.9;
	margin-bottom: 28px;
}

.hero-feature-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hero-feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.hero-feature-item i {
	color: #4ade80;
}

/* =====================================================
   LOGIN FORM SECTION
===================================================== */

.login-form-section {
	width: 460px;
	min-height: 100vh;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 40px;
	background: #fff;
}

.login-card-saas {
	width: 100%;
}

.login-header {
	margin-bottom: 28px;
}

.login-title {
	font-size: 30px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 8px;
}

.login-desc {
	color: #6b7280;
	font-size: 14px;
}

/* =====================================================
   FORM
===================================================== */

.form-group-saas {
	margin-bottom: 18px;
}

.form-group-saas label {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
	display: block;
	color: #374151;
}

.input-icon-wrap {
	position: relative;
}

.input-icon-wrap i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
}

.input-saas {
	height: 48px;
	border-radius: 12px;
	border: 1px solid #d1d5db;
	padding-left: 42px;
	box-shadow: none;
	transition: all 0.2s ease;
}

.input-saas:focus {
	border-color: var(--saas-primary);
	;
	box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

/* =====================================================
   OPTIONS
===================================================== */

.login-options {
	display: flex;
	justify-content: space-between;
	align-items: center;

	margin-bottom: 22px;
	font-size: 13px;
}

.remember-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-weight: 400;
}

.forgot-link {
	color: var(--saas-primary);
	;
}

.forgot-link:hover {
	color: var(--saas-primary-dark);
	;
}

/* =====================================================
   BUTTON
===================================================== */

.btn-login-saas {
	height: 48px;
	border-radius: 12px;
	border: none;

	background: var(--saas-primary);
	color: #fff;

	font-size: 14px;
	font-weight: 600;

	transition: all 0.2s ease;
}

.btn-login-saas:hover {
	background: var(--saas-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

/* =====================================================
   FOOTER
===================================================== */

.login-footer {
	margin-top: 30px;
	text-align: center;
	color: #9ca3af;
	font-size: 14px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

	.login-page-saas {
		flex-direction: column;
	}

	.login-hero {
		min-height: 280px;
		padding: 30px;
	}

	.hero-title {
		font-size: 28px;
	}

	.login-form-section {
		width: 100%;
		min-height: auto;
		padding: 30px 20px 40px;
	}
}

@media (max-width: 576px) {

	.hero-title {
		font-size: 24px;
	}

	.hero-subtitle {
		font-size: 13px;
	}

	.hero-feature-item {
		font-size: 13px;
	}

	.login-title {
		font-size: 24px;
	}

	.login-options {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/* BERANDA */
.welcome-banner {
	padding: 20px;
	border-radius: 14px;
	margin-bottom: 20px;
}

.welcome-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.welcome-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 4px;
}

.welcome-subtitle {
	color: var(--saas-text-muted);
}

.welcome-date {
	font-size: 14px;
	color: var(--saas-text-muted);
}

.quick-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 14px;
}

.quick-item {
	border: 1px solid var(--saas-border);
	border-radius: 12px;
	padding: 18px 10px;

	text-align: center;
	color: var(--saas-text);

	transition: all 0.2s ease;
}

.quick-item:hover {
	transform: translateY(-2px);
	background: #f9fafb;
}

.quick-item i {
	display: block;
	font-size: 22px;
	margin-bottom: 10px;
	color: var(--saas-primary);
}

.quick-item span {
	font-size: 13px;
	font-weight: 500;
}

.todo-item {
	display: flex;
	justify-content: space-between;
	align-items: center;

	padding: 14px 16px;
	border-bottom: 1px solid var(--saas-border);
}

.todo-item:last-child {
	border-bottom: none;
}

.todo-title {
	font-weight: 600;
	margin-bottom: 2px;
}

.todo-subtitle {
	font-size: 12px;
	color: var(--saas-text-muted);
}

.activity-item {
	display: flex;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--saas-border);
}

.activity-icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;

	display: flex;
	align-items: center;
	justify-content: center;

	color: #fff;
	font-size: 12px;
}

.activity-icon.success {
	background: var(--saas-success);
}

.activity-icon.danger {
	background: var(--saas-danger);
}

.activity-title {
	font-size: 13px;
	font-weight: 500;
}

.activity-time {
	font-size: 12px;
	color: var(--saas-text-muted);
	margin-top: 2px;
}

/* =====================================================
   SAAS PROGRESS
===================================================== */

.progress-saas {
	width: 100%;
	height: 8px;

	background: #e5e7eb;

	border-radius: 999px;
	overflow: hidden;

	position: relative;
}

/* BAR */
.progress-saas .progress-bar-saas {
	display: block;

	height: 100%;
	width: 0;

	border-radius: inherit;

	transition: width 0.3s ease;
}

/* ========================
   COLORS
======================== */

.progress-bar-saas.bg-success {
	background: var(--saas-success);
}

.progress-bar-saas.bg-danger {
	background: var(--saas-danger);
}

.progress-bar-saas.bg-warning {
	background: var(--saas-warning);
}

.progress-bar-saas.bg-primary {
	background: var(--saas-primary);
}

.progress-bar-saas.bg-info {
	background: var(--saas-info);
}

.bg-success {
	background: var(--saas-success);
}

.bg-warning {
	background: var(--saas-warning);
}

.bg-danger {
	background: var(--saas-danger);
}

/* utility */
.font-semibold {
	font-weight: 600;
}

.fs-12 {
	font-size: 12px;
}

/* striped */
.progress-bar-saas.striped {
	background-image:
		linear-gradient(45deg,
			rgba(255, 255, 255, 0.15) 25%,
			transparent 25%,
			transparent 50%,
			rgba(255, 255, 255, 0.15) 50%,
			rgba(255, 255, 255, 0.15) 75%,
			transparent 75%,
			transparent);

	background-size: 1rem 1rem;
}

.progress-bar-saas {
	box-shadow:
		inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}


/* SELECT2 */
.select2-container--default .select2-selection--single {
	border-radius: 10px !important;
}

.select2-container--default .select2-selection--multiple {
	border-radius: 10px !important;
}

/* Styles the main selection container (the box you click) */
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
	font-size: 12px !important;
}

/* Styles the dropdown list options */
.select2-container .select2-results__option {
	font-size: 12px !important;
}

/* ====================================
   TABLE ACCORDION
==================================== */

.table-accordion .accordion-parent {
	cursor: pointer;
	transition: all .2s ease;
}

.table-accordion .accordion-parent:hover {
	background: #f8fafc;
}

/* icon */

.table-accordion .accordion-icon {
	width: 16px;
	margin-right: 6px;
	transition: transform .2s ease;
}

/* rotate */

.table-accordion .accordion-parent.open .accordion-icon {
	transform: rotate(90deg);
}

/* child */

.table-accordion .accordion-child {
	display: none;
}

.table-accordion .accordion-child td {
	background: #fafafa;
	padding: 0 !important;
}

/* content */

.table-accordion .accordion-content {
	padding: 12px 16px;
	border-top: 1px solid #e5e7eb;
}

/* ==========================================
   404 PAGE
========================================== */

.error-page-saas {
	/* min-height: calc(100vh - 100px); */

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 30px;
}

.error-card {

	max-width: 600px;
	width: 100%;

	text-align: center;

	background: #fff;

	border: 1px solid var(--saas-border);

	border-radius: 18px;

	padding: 40px 30px;

	box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.error-icon {

	width: 90px;
	height: 90px;

	margin: 0 auto 20px;

	border-radius: 50%;

	display: flex;
	align-items: center;
	justify-content: center;

	background: var(--saas-danger-light);

	color: var(--saas-danger);

	font-size: 34px;
}

.error-code {

	font-size: 72px;
	font-weight: 700;

	line-height: 1;

	color: var(--saas-danger);

	margin-bottom: 10px;
}

.error-title {

	font-size: 26px;
	font-weight: 600;

	margin-bottom: 10px;
}

.error-description {

	max-width: 420px;

	margin: 0 auto;

	color: var(--saas-text-muted);

	line-height: 1.7;
}

.error-actions {

	margin-top: 30px;

	display: flex;
	gap: 10px;

	justify-content: center;

	flex-wrap: wrap;
}
