/* ====================================
        START SIDEBAR PAGE WKD
==================================== */
/* BASE */
.klx-body {
    margin: 0;
    font-family: Inter, sans-serif;
    background: #f4f6fb;
}

/* SIDEBAR */
.klx-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 270px;
    height: 100vh;
    background: linear-gradient(
        180deg,
        rgba(17, 24, 39, 0.92),
        rgba(15, 23, 42, 0.88)
    );
    backdrop-filter: blur(22px);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 18px 14px;
    color: rgba(255,255,255,0.85);
    box-shadow: 8px 0 25px rgba(0,0,0,0.18);
    overflow-y: auto;
    transition: 0.3s ease;
}

/* glow */
.klx-sidebar::before {
    content: "";
    position: absolute;
    top: 20%;
    left: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(
        circle,
        rgba(46,196,182,0.18),
        transparent 70%
    );
    filter: blur(35px);
}

/* BRAND SECTION */
.klx-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* LOGO */
.klx-brand-logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    padding: 4px;
}

/* TEXT WRAPPER */
.klx-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* TITLE */
.klx-brand-title {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
}

/* SUB TITLE */
.klx-brand-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

/* MENU */
.klx-menu-title {
    font-size: 13px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin: 16px 10px 8px;
}

/* NAV ITEM */
.klx-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 4px 0;
    border-radius: 10px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s ease;
    background: transparent;
}

.klx-nav-item i {
    font-size: 18px;
    width: 22px;
}

.klx-nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: #2ec4b6;
    transform: translateX(2px);
}

.klx-nav-item.active {
    background: rgba(46,196,182,0.18);
    color: #2ec4b6;
    border: 1px solid rgba(46,196,182,0.25);
}

/*  DROPDOWN WRAPPER */
.klx-dropdown {
    margin: 4px 0;
}

/*  TOGGLE  */
.klx-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s ease;
    color: rgba(255,255,255,0.75);
}

/* LEFT SIDE (ICON + TEXT) */
.klx-menu-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICON SIZE */
.klx-menu-left i {
    font-size: 18px;
    width: 22px;
}

/* ARROW RIGHT */
.klx-arrow {
    margin-left: auto;
    font-size: 16px;
    opacity: 0.6;
    transition: 0.3s ease;
}

/* HOVER */
.klx-dropdown-toggle:hover {
    background: rgba(255,255,255,0.05);
    color: #2ec4b6;
}

/*  DROPDOWN MENU  */
.klx-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-left: 12px;
    transition: max-height 0.3s ease;
}

/* OPEN STATE */
.klx-dropdown.open .klx-dropdown-menu {
    max-height: 200px;
}

/* ROTATE ARROW */
.klx-dropdown.open .klx-arrow {
    transform: rotate(180deg);
}

/* ITEM */
.klx-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin: 3px 0;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    transition: 0.2s ease;
}

/* ITEM ICON */
.klx-dropdown-item i {
    font-size: 16px;
    width: 20px;
}

/* HOVER ITEM */
.klx-dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: #2ec4b6;
    transform: translateX(3px);
}

/* ACTIVE LINK */
.klx-dropdown-item.active {
    background: rgba(46,196,182,0.15);
    color: #2ec4b6;
    font-weight: 600;
}

/* LOGOUT BUTTON*/
.klx-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.25s ease;
}

.klx-logout-btn:hover {
    background: rgba(255,92,92,0.12);
    color: #ff5c5c;
    transform: translateX(2px);
}

/* DIVIDER */
.klx-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 14px 10px;
}

/* TOPBAR LAYOUT */
.klx-topbar {
    position: fixed;
    top: 0;
    left: 270px;
    right: 0;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e9ecef;
    z-index: 999;
    transition: all 0.3s ease;
}

/* LEFT SIDE */
.klx-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* BUTTON COLLAPSE */
.klx-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    cursor: pointer;
}

/*  BREADCRUMB  */
.klx-breadcrumb {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* TITLE */
.klx-page-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

/* PATH */
.klx-breadcrumb-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #6b7280;
}

/* LINKS */
.klx-breadcrumb-path a {
    color: #6b7280;
    text-decoration: none;
    transition: 0.2s ease;
}

.klx-breadcrumb-path a:hover {
    color: #2ec4b6;
}

/* SEPARATOR */
.klx-sep {
    margin: 0 6px;
    color: rgba(107, 114, 128, 0.4);
}

/* CURRENT PAGE */
.klx-current {
    color: #2ec4b6;
    font-weight: 500;
}

/* SMOOTH */
.klx-breadcrumb-path * {
    transition: 0.2s ease;
}

/* RIGHT SIDE */
.klx-topbar-right {
    display: flex;
    align-items: center;
}

/* USER BOX */
.klx-userbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* AVATAR */
.klx-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ec4b6, #0096c7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* USER INFO */
.klx-userinfo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

/* NAME */
.klx-username {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

/* ROLE */
.klx-userrole {
    font-size: 11px;
    color: #6b7280;
    text-transform: capitalize;
}

/*  CONTENT  */
.klx-content {
    margin-left: 270px;
    padding: 85px 20px 20px;
    transition: all 0.3s ease;
}

/*  COLLAPSE  SIDE BAR */
.klx-sidebar.hide {
    transform: translateX(-100%);
}

.klx-content.full {
    margin-left: 0;
}

.klx-topbar.full {
    left: 0;
}

/* ====================================
        END SIDEBAR PAGE WKD
==================================== 

/* ====================================
        START DASHBOARD UI
==================================== */

.saas-dashboard{
    padding: 0 28px 28px 28px;
    background: #f8fafc;
    min-height: 100vh;
    font-family: Inter, sans-serif;
}

/* HEADER */
.saas-header h1{
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.saas-header p{
    color: #6b7280;
    margin-top: 4px;
}

/* GRID */
.saas-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.grid-dttot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* CARD BASE */
.saas-card{
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: 0.25s ease;
}

.saas-card:hover{
    transform: translateY(-4px);
}

/* KPI */
.kpi-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kpi-icon{
    width: 68px;
    height: 68px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0.9;
    background: rgba(255,255,255,0.15);
}

.kpi-icon i{
    font-size: 45px;
    color: rgba(0,0,0,.15);
}

.kpi-label{
    font-size: 12px;
    color: #6b7280;
}

.kpi-value{
    font-size: 24px;
    font-weight: 700;
    margin-top: 6px;
}

/* KPI COLORS */
.kpi-green{
    background: linear-gradient(135deg,#10b981,#34d399);
    color: white;
}

.kpi-red{
    background: linear-gradient(135deg,#ef4444,#fb7185);
    color: white;
}

.kpi-blue{
    background: linear-gradient(135deg,#17a2b8,#4dd5ea);
    color: white;
}

.kpi-yellow{
    background: linear-gradient(135deg,#f59f00,#ecb041);
    color: white;
}

.kpi-green .kpi-label,
.kpi-red .kpi-label,
.kpi-blue .kpi-label,
.kpi-yellow .kpi-label{
    color: rgba(255,255,255,0.8);
}

/* CHART */
.chart-card{
    margin-top: 20px;
}

/* TABLE */
.table-card{
    margin-top: 20px;
    border-radius: 18px;
    overflow: hidden;
}

/* TABLE BASE */
.saas-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    background: #fff;
}

/* HEADER (BIAR NGGAK MONOTON) */
.saas-table thead th{
    text-align: left;
    padding: 14px 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #a60817, #a60817);
    border: none;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* rounded header corners */
.saas-table thead th:first-child{
    border-top-left-radius: 14px;
}

.saas-table thead th:last-child{
    border-top-right-radius: 14px;
}

/* BODY CELLS */
.saas-table tbody td{
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    transition: 0.2s ease;
}

/* ZEBRA ROW (BIAR HIDUP, NGGAK PUTIH SEMUA) */
.saas-table tbody tr:nth-child(odd){
    background: #f8fafc;
}

.saas-table tbody tr:nth-child(even){
    background: #ffffff;
}

/* HOVER EFFECT (SaaS FEEL) */
.saas-table tbody tr:hover{
    background: #e0f2fe;
    transform: scale(1.002);
}

/* BORDER CLEAN LOOK */
.saas-table tbody tr td:first-child{
    font-weight: 500;
}

/* FLAG spacing */
.fi{
    margin-right: 6px;
}

/* SOFT SHADOW TABLE CARD */
.table-card{
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

/* ====================================
        END DASHBOARD UI
==================================== */

/* ====================================
        START POS TRX UI
==================================== */

:root {
    --bg: #f4f6fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #4f46e5;
    --success: #10b981;
    --danger: #ef4444;
    --border: #e5e7eb;
}

/* HEADER */
.posx-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.posx-header-left h1 {
    font-size:22px;
    margin:0;
    color:var(--text);
}

.posx-header-left p {
    margin:0;
    color:var(--muted);
    font-size:13px;
}

.posx-breadcrumb {
    font-size:13px;
    color:var(--muted);
}

.posx-breadcrumb a {
    color:var(--primary);
    text-decoration:none;
}

/* CONTAINER */
.posx-container {
    display:flex;
    flex-direction:column;
    gap:18px;
}

/* CARD */
.posx-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.05),
        0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.posx-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.08);
}

/* CARD HEADER */
.posx-card-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #e5e7eb;
}

.posx-card-head h2 {
    font-size:16px;
    margin:0;
}

.posx-card-head p {
    margin:0;
    font-size:12px;
    color:var(--muted);
}

/* SESSION */
.posx-session {
    text-align:right;
    font-size:12px;
    color:var(--muted);
}

.posx-session b {
    display:block;
    color:var(--text);
}

/* GRID */
.posx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.posx-grid > div {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    transition: all .3s ease;
}

.posx-grid > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

/* Section Header */
.posx-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f7;
}

.posx-section-title i {
    font-size: 18px;
    color: #2563eb;
}

/* Labels */
.posx-grid label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: .2px;
}

/* Inputs */
.posx-input {
    width: 100%;
    height: 48px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    padding: 0 14px;
    background: #fff;
    font-size: 14px;
    transition: all .25s ease;
}

.posx-input:hover {
    border-color: #cbd5e1;
}

.posx-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

/* Input Group */
.posx-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.posx-input-group .posx-input {
    flex: 1;
    margin-bottom: 0;
}

/* Search Button */
.posx-btn-icon {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: rgb(231, 76, 60);
    background: rgb(253, 236, 234);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.posx-btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, .35);
}

/* Select */
select.posx-input {
    cursor: pointer;
}

/* Disabled */
.posx-disabled {
    background: #f8fafc !important;
    color: #0f172a;
    font-weight: 600;
    border: 1px dashed #cbd5e1;
}

/* Alert */
.posx-alert {
    margin-top: 18px;
    border-radius: 14px;
    padding: 14px 16px;
    min-height: 54px;
    background: linear-gradient(
        135deg,
        rgba(37,99,235,.08),
        rgba(59,130,246,.03)
    );
    border-left: 4px solid #2563eb;
    color: #1e40af;
    font-size: 13px;
    display: flex;
    align-items: center;
}

/* Field spacing */
.posx-field {
    margin-bottom: 18px;
}

/* Session Badge */
.posx-session-box {
    background: linear-gradient(
        135deg,
        #eff6ff,
        #f8fafc
    );
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 14px;
}

/* TABLE */
.posx-table-wrap {
    overflow:auto;
}

.posx-table {
    width:100%;
    border-collapse:collapse;
}

.posx-table th {
    text-align:left;
    font-size:12px;
    color:#475569;
    padding:12px;
    border-bottom:1px solid #e5e7eb;
    background: #f8fafc;
}

.posx-table tr:hover td {
    background: #f9fafb;
}

.posx-table td {
    padding:10px;
    border-bottom:1px solid var(--border);
}

/* BUTTONS */
.posx-btn-primary {
    background: #fdecea;
    color: #e74c3c;
    border:none;
    padding:8px 14px;
    border-radius:10px;
    cursor:pointer;
}

.posx-btn-success {
    background: linear-gradient(135deg, #a60817, #7d0611);
    color: #fff;
    border:none;
    padding:12px 18px;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
}

/* FOOTER */
.posx-footer {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:16px;
}

.posx-total {
    font-size:18px;
    font-weight:600;
}

.posx-total span {
    color:var(--success);
}

/* MODAL IMPROVEMENT (light SaaS feel) */
.modal-content {
    border-radius:14px !important;
    border:1px solid var(--border);
}

/* ====================================
        END POS TRX UI
==================================== */

/* ====================================
        START UNIVERSAL MODAL
==================================== */

.uimodal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
}

/* HEADER */
.uimodal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, #a60817, #7d0611);
    color: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.uimodal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.uimodal-title i {
    font-size: 18px;
    color: #4f46e5;
}

.uimodal-title h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.uimodal-title small {
    color: #bbcfeb;
    font-size: 12px;
}

.uimodal-close {
    border: none;
    background: transparent;
    font-size: 26px;
    color: #64748b;
    cursor: pointer;
}

.uimodal-close:hover {
    color: #ef4444;
}

/* BODY */
.uimodal-body {
    padding: 18px;
    background: #ffffff;
}

/* SEARCH */
.uimodal-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 14px;
    background: #f9fafb;
}

.uimodal-search i {
    color: #94a3b8;
}

.uimodal-search input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 14px;
}

/* LIST */
.uimodal-list {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

/* ITEM */
.uimodal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    background: #fff;
}

.uimodal-item:hover {
    background: #f8fafc;
    border-color: #e0e7ff;
    transform: translateY(-1px);
}

/* LEFT SIDE */
.uimodal-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* AVATAR */
.uimodal-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a60817, #7d0611);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* INFO */
.uimodal-info .pos-name {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.uimodal-info span {
    font-size: 12px;
    color: #64748b;
}

/* BUTTON */
.uimodal-select {
    background: #fdecea;
    color: #e74c3c;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.uimodal-select:hover {
    background: #4338ca;
}

/* FOOTER */
.uimodal-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.uimodal-create {
    width: 100%;
    background: linear-gradient(135deg, #a60817, #7d0611);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.uimodal-create:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(16,185,129,0.25);
}

/* =========================
   FORM SAAS GRID
========================= */

.uimodal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.uimodal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.uimodal-field.full {
    grid-column: span 2;
}

.uimodal-field label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* INPUT */
.uimodal-input {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    outline: none;
    transition: 0.2s;
    background: #fff;
}

.uimodal-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* FOOTER ACTIONS */
.uimodal-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid #e5e7eb;
}

/* BUTTONS */
.uimodal-btn-primary {
    background: linear-gradient(135deg, #a60817, #7d0611);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.uimodal-btn-secondary {
    background: #fdecea;
    color: #e74c3c;
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
}

.uimodal-btn-secondary:hover {
    background: #e2e8f0;
}

/* ====================================
        END UNIVERSAL MODAL
==================================== */

/* ====================================
        START DTTOT MODAL
==================================== */
/* =========================
   DTTOT MODAL
========================= */

.dttot-modal-dialog{
    max-width:1100px;
}


.dttot-modal-content{
    border:none;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}


/* HEADER */

.dttot-modal-header{
    background:#f8fafc;
    padding:22px 26px;
    border-bottom:1px solid #e5e7eb;
}


.dttot-modal-title{
    font-size:20px;
    font-weight:700;
    color:#111827;
}



/* BODY */

.dttot-modal-body{
    padding:24px;
    background:#f9fafb;
}



/* SECTION CARD */

.dttot-modal-section{

    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;

    padding:20px;

    margin-bottom:18px;

}


.dttot-modal-section-title{

    display:flex;
    align-items:center;
    gap:8px;

    font-size:14px;
    font-weight:700;

    color:#374151;

    margin-bottom:18px;

}



/* INFORMATION */

.dttot-modal-info{

    display:grid;

    grid-template-columns:
        160px 1fr;

    gap:12px;

    font-size:14px;

}


.dttot-modal-label{

    color:#6b7280;

}


.dttot-modal-value{

    color:#111827;

    font-weight:500;

}



/* BADGE */

.dttot-modal-badge{

    display:inline-flex;

    padding:6px 12px;

    border-radius:999px;

    background:#eef2ff;

    color:#4338ca;

    font-size:12px;

    margin:3px;

}



/* DOCUMENT */

.dttot-modal-document{

    background:#f9fafb;

    border:1px solid #e5e7eb;

    padding:12px;

    border-radius:12px;

    margin-bottom:10px;
}

.dttot-modal-document-type{
    font-weight:600;
    color:#111827;
}

.dttot-modal-document-number{
    font-size:13px;
    color:#6b7280;
}

@media(max-width:768px){
    .dttot-modal-info{
        grid-template-columns:1fr;
    }

    .dttot-modal-body{
        padding:15px;
    }
}
/* ====================================
        END DTTOT MODAL
==================================== */

/* ====================================
        START STOCK PAGE UI
==================================== */
.stock-page {
    padding-bottom: 40px;
    font-family: "Inter", sans-serif;
}

.stock-card {
    border: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 20px;
}

.stock-card__header {
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
}

.stock-card__header--info {
    border-bottom: 1px solid #f1f1f1;
}

.stock-card__header--secondary {
    border-bottom: 1px solid #f1f1f1;
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
}

.stock-table thead {
    background: linear-gradient(135deg, #a60817, #7d0611);
    color: #fff;
}

.stock-table th {
    padding: 12px;
    font-size: 13px;
    text-align: center;
    font-weight: 600;
}

.stock-table td {
    padding: 10px;
    font-size: 13px;
    border-bottom: 1px solid #f3f4f6;
    transition: 0.2s ease;
}

.stock-table tbody tr:hover {
    background: #f9fafb;
}

/* number alignment */
.stock-table td.is-number {
    text-align: right;
    font-weight: 500;
    color: #111827;
}

/* empty state */
.stock-table td.is-empty {
    text-align: center;
    padding: 24px;
    color: #9ca3af;
    font-style: italic;
}

.stock-badge {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.stock-badge--success {
    background: #d1fae5;
    color: #065f46;
}

.stock-badge--danger {
    background: #fee2e2;
    color: #991b1b;
}

/* ========== FILTER ============ */
.stock-filter-modern {
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    margin-bottom: 16px;
}

.stock-filter-modern__form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stock-filter-modern__group {
    display: flex;
    gap: 10px;
}

.stock-filter-modern__field {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    min-width: 120px;
}

.stock-filter-modern__field i {
    font-size: 12px;
    color: #9ca3af;
    margin-right: 6px;
}

.stock-filter-modern__input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
}

.stock-filter-modern__actions {
    display: flex;
    gap: 8px;
}

.stock-filter-modern__btn {
    background: linear-gradient(135deg,#a60817,#7d0611);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.stock-filter-modern__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(166, 8, 23, 0.25);
}

.stock-filter-modern__btn:active {
    transform: scale(0.97);
    box-shadow: 0 3px 8px rgba(166, 8, 23, 0.2);
}

.stock-filter-modern__btn-success {
    background: #fdecea;
    color: #e74c3c;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.stock-filter-modern__btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.stock-filter-modern__btn-success:active {
    transform: scale(0.97);
}

/* FOCUS EFFECT */
.stock-filter-modern__field:focus-within {
    border-color: #a60817;
    box-shadow: 0 0 0 3px rgba(166,8,23,0.1);
}

/* ========== FLOATING FILTER ============ */
.floating-field {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px 10px 4px;
    border: 1px solid #e5e7eb;
}

/* input */
.floating-field input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
}

/* label default (inside) */
.floating-field label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-60%);
    font-size: 13px;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 4px;
    z-index: 1;
}

/* ACTIVE STATE (floating up) */
.floating-field input:focus + label,
.floating-field input:not(:placeholder-shown) + label {
    top: 4px;
    font-size: 10px;
    color: #a60817;
    background: #fff;
    padding: 0 4px;
}

.floating-select.has-value + label,
.floating-select:focus + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 10px;
    color: #a60817;
    background: #fff;
}

/* SELECT wrapper */
.floating-select-wrapper label {
    top: 0;
    transform: translateY(-50%);
    font-size: 10px;
    color: #a60817;
    background: #fff;
    padding: 0 4px;
}

/* saat focus / ada value */
.floating-select-wrapper .floating-select:focus + label,
.floating-select-wrapper .floating-select.has-value + label {
    color: #a60817;
}

/* border focus */
.floating-field:focus-within {
    border-color: #a60817;
    box-shadow: 0 0 0 3px rgba(166,8,23,0.1);
}

.floating-modal-select {
    position: relative;
    margin-bottom: 16px;
}

/* SELECT */
.floating-modal-select .modal-select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 14px 12px 10px;
    font-size: 13px;
    background: #fff;
    appearance: none;
    outline: none;
    transition: all 0.2s ease;
}

/* LABEL (default tengah) */
.floating-modal-select label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #9ca3af;
    pointer-events: none;
    background: #fff;
    padding: 0 4px;
    transition: all 0.2s ease;
}

/* FLOAT */
.floating-modal-select .modal-select:focus + label,
.floating-modal-select .modal-select.has-value + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 10px;
    color: #a60817;
}

/* FOCUS EFFECT */
.floating-modal-select .modal-select:focus {
    border-color: #a60817;
    box-shadow: 0 0 0 3px rgba(166,8,23,0.1);
}

/* ====================================
        END STOCK PAGE UI
==================================== */

/* ====================================
        START STOCK MOVEMENTS UI
==================================== */

.stock-movement__title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* Filter */
.stock-movement-filter-modern {
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    margin-bottom: 16px;
}

.stock-movement-filter-modern__form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stock-movement-filter-modern__group {
    display: flex;
    gap: 10px;
    flex: 1;
}

.stock-movement-filter-modern__field {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    min-width: 140px;
}

.stock-movement-filter-modern__field i {
    font-size: 12px;
    color: #9ca3af;
    margin-right: 6px;
}

.stock-movement-filter-modern__input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
}

.stock-movement-filter-modern__actions {
    display: flex;
    gap: 8px;
}

.stock-movement-filter-modern__btn {
    background: linear-gradient(135deg,#a60817,#7d0611);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.stock-movement-filter-modern__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(166, 8, 23, 0.25);
}

.stock-movement-filter-modern__btn:active {
    transform: scale(0.97);
    box-shadow: 0 3px 8px rgba(166, 8, 23, 0.2);
}

.stock-movement-filter-modern__reset {
    background: #fdecea;
    color: #e74c3c;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.stock-movement-filter-modern__reset:hover {
    background: #fdecea;
    color: #e74c3c;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.stock-movement-filter-modern__reset:active {
    transform: scale(0.97);
}

.stock-movement-filter-modern__field:focus-within {
    border-color: #a60817;
    box-shadow: 0 0 0 3px rgba(166,8,23,0.1);
}

.stock-movement-input {
    border-radius: 10px;
    font-size: 13px;
}

.stock-movement-btn {
    background: linear-gradient(135deg, #a60817, #7d0611);
    color: #fff;
    border: none;
    width: 100%;
    border-radius: 10px;
    font-size: 13px;
    padding: 8px;
}

.stock-movement-btn:hover {
    color: #fff;
    opacity: 0.9;
}

/* Card */
.stock-movement-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
}

.stock-movement-card__header {
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #f1f1f1;
}

.stock-movement-table {
    width: 100%;
    border-collapse: collapse;
}

.stock-movement-table thead {
    background: linear-gradient(135deg, #a60817, #7d0611);
    color: #fff;
}

.stock-movement-table th {
    padding: 12px;
    font-size: 12px;
    text-align: center;
}

.stock-movement-table td {
    padding: 10px;
    font-size: 13px;
    border-bottom: 1px solid #f3f4f6;
}

.stock-movement-table tbody tr:hover {
    background: #f9fafb;
}

.stock-movement-table td.is-number {
    text-align: right;
    font-weight: 500;
}

.stock-movement-date {
    font-size: 12px;
    color: #6b7280;
}

.stock-empty {
    text-align: center;
    padding: 24px;
    color: #9ca3af;
    font-style: italic;
}

.stock-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: #e5e7eb;
    color: #374151;
}

.stock-badge--success {
    background: #d1fae5;
    color: #065f46;
}

.stock-badge--danger {
    background: #fee2e2;
    color: #991b1b;
}

/* ====================================
        END STOCK PAGE UI
==================================== */

/* ====================================
        START  PAGINATION UI
==================================== */
.klx-pagination nav{
    display:flex;
    justify-content: center;
    margin-top: 10px;
}

.klx-pagination .pagination{
    margin:0;
    gap:6px;
}

.klx-pagination .page-link{
    border:none !important;
    background: #fdecea;
    color: #e74c3c;
    min-width:38px;
    height:38px;
    border-radius:10px !important;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px !important;
    font-weight:600;
    transition:.2s ease;
}

.klx-pagination .page-link:hover{
    background:#eef2ff;
    color:#4f46e5;
}

.klx-pagination .page-item.active .page-link{
    background: linear-gradient(135deg, #a60817, #7d0611);
    color: #fff;
    box-shadow:0 8px 20px rgba(79,70,229,.2);
}

/* ====================================
        END PAGINATION UI
==================================== */

/* ====================================
        START TRANSACTION RECORDS UI
==================================== */
.trx-title {
    font-size: 20px;
    font-weight: 600;
}

/* Filter */
.trx-filter-modern {
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    margin-bottom: 16px;
}

.trx-filter-modern__form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* group input */
.trx-filter-modern__group {
    display: flex;
    gap: 10px;
    flex: 1;
}

/* field */
.trx-filter-modern__field {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border-radius: 10px;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    min-width: 140px;
}

.trx-filter-modern__field i {
    font-size: 12px;
    color: #9ca3af;
    margin-right: 6px;
}

/* search lebih panjang */
.trx-filter-modern__search {
    flex: 1;
}

/* input */
.trx-filter-modern__input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
}

/* actions */
.trx-filter-modern__actions {
    display: flex;
    gap: 8px;
}

/* button */
.trx-filter-modern__btn {
    background: linear-gradient(135deg,#a60817,#7d0611);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.trx-filter-modern__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(166, 8, 23, 0.25);
}

.trx-filter-modern__btn:active {
    transform: scale(0.97);
    box-shadow: 0 3px 8px rgba(166, 8, 23, 0.2);
}

/* reset */
.trx-filter-modern__reset {
    background: #fdecea;
    color: #e74c3c;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.trx-filter-modern__reset:hover {
    /*background: #e5e7eb;*/
    color: #e74c3c;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.trx-filter-modern__reset:active {
    transform: scale(0.97);
}

/* focus effect */
.trx-filter-modern__field:focus-within {
    border-color: #a60817;
    box-shadow: 0 0 0 3px rgba(166,8,23,0.1);
}

/* CARD */
.trx-card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: none;
}

.trx-card__header {
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #f1f1f1;
}

/* TABLE */
.trx-table {
    width: 100%;
    border-collapse: collapse;
}

.trx-table thead {
    background: linear-gradient(135deg,#a60817,#7d0611);
    color: #fff;
}

.trx-table th {
    padding: 12px;
    font-size: 12px;
}

.trx-table td {
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.trx-table .trx-list-table:hover {
    background: #f9fafb !important;
}

.is-number {
    text-align: right;
}

/* BADGE */
.trx-badge {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
}

.trx-badge--success {
    background: #d1fae5;
    color: #065f46;
}

.trx-badge--danger {
    background: #fee2e2;
    color: #991b1b;
}

.trx-badge--info {
    background: #dbeafe;
    color: #1e40af;
}

/* BUTTON ICON */
.trx-btn-icon {
    border: none;
    background: #fdecea;
    color: #e74c3c;
    padding: 6px 8px;
    border-radius: 8px;
    margin-right: 4px;
    transition: all 0.25s ease;
}

.trx-btn-icon:hover {
    color: #e74c3c;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.trx-btn-edit { background:#fef3c7; }
.trx-btn-delete { background:#fee2e2; }

/* DETAIL */
.trx-detail__card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 15px;
}

.trx-detail__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.trx-detail-table {
    width: 100%;
}

.trx-detail-table th,
.trx-detail-table td {
    font-size: 12px;
    padding: 6px;
}

/* TEXT */
.trx-text-success { color:#16a34a; }
.trx-text-danger { color:#dc2626; }

/* EMPTY */
.trx-empty {
    text-align: center;
    padding: 20px;
    color: #9ca3af;
}

/* ====================================
        END TRANSACTION RECORDS UI
==================================== */

/* ====================================
        START CURRENCY RATE UI
==================================== */
.currency-wrapper {
    max-width: 1200px;
}

/* CARD */
.currency-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* HEADER */
.currency-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.currency-header .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BUTTON */
.currency-btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: linear-gradient(45deg, #a60817, #a60817);
    color: #fff; 
    font-size: 8px;
    padding: 0.5rem 0.5rem;
    border-radius: 0.25rem;
    border: none;
    transition: all 0.3s ease;
    margin-left: 10px;
    cursor: pointer;
}

.currency-btn-primary:hover {
    background: #fdecea;
    color: #a60817; 
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ICON DI BUTTON */
.currency-btn-primary i {
    font-size: 12px;
    line-height: 1;
}

.currency-btn-update {
    background: #eef3f7;
    border-radius: 6px;
    font-size: 12px;
}

.currency-btn-delete {
    background: #fdecea;
    color: #e74c3c;
    border-radius: 6px;
}

/* TABLE */
.currency-table thead th {
    background: linear-gradient(45deg, #a60817, #a60817) !important;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    padding: 12px 16px;
}

.currency-table td {
    padding: 14px 16px;
    border-top: 1px solid #f5f5f5;
}

/* ROW */
.currency-row {
    transition: all 0.2s;
}

.currency-row:hover {
    background: #f9fbff;
    transform: translateY(-1px);
}

/* TEXT */
.currency-code {
    font-weight: 600;
    color: #2c3e50;
}

.currency-name {
    color: #555;
}

/* FLAG */
.currency-flag {
    margin-right: 6px;
}

/* INPUT */
.currency-input {
    border-radius: 6px;
    font-size: 13px;
}

/* DATE */
.currency-date {
    font-size: 13px;
    color: #777;
}

/* ALERT */
.currency-alert {
    border-radius: 8px;
}

.currency-log {
    max-height: 300px;
    overflow-y: auto;
}

.currency-log-item {
    border-left: 3px solid #4facfe;
    padding: 10px;
    margin-bottom: 8px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.currency-log-item strong {
    color: #343a40;
}

.currency-modal .modal-dialog {
    max-width: 600px;
}

.currency-modal-btn-primary {
    background: linear-gradient(135deg, #4facfe, #00c6ff);
    color: #fff;
    align-items: center;
    gap: 6px;
    border: none;
    transition: 0.2s;
    margin-left: 10px;
}

/* ===============================
        END CURRENCY PAGE UI
================================= */

/* ===============================
        START CUSTOMER PAGE UI
================================= */
.card-body-customer {
    padding: 0 10px;
}
/* WRAPPER */
.customer-wrapper {
    max-width: 1200px;
}

/* CARD */
.customer-card {
    border: none;
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* HEADER */
.customer-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.customer-header .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BUTTONS*/
.customer-btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: linear-gradient(45deg, #a60817, #a60817);
    color: #fff; 
    font-size: 8px;
    padding: 0.5rem 0.5rem;
    border-radius: 0.25rem;
    border: none;
    transition: all 0.3s ease;
    margin-left: 10px;
    cursor: pointer;
}

.customer-btn-primary:hover {
    background: #fdecea;
    color: #a60817;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.customer-row:hover {
    background: #f9fbff;
    transform: translateY(-1px);
}


/* ICON DI BUTTON */
.customer-btn-primary i {
    font-size: 12px;
    line-height: 1;
}

/* UPDATE / DELETE BUTTON */
.customer-btn-edit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: #fdecea;
    color: #e74c3c;
    font-size: 8px;
    padding: .5rem .5rem !important;
    border-radius: 0.25rem;
    border: none;
    transition: 0.2s;
    margin-left: 10px;
}

.customer-btn-edit i {
    font-size: 1rem !important;
    line-height: 1;
}

.customer-btn-edit i:hover,
.customer-btn-delete i:hover {
    color: #545454;
}

.customer-btn-delete {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: #fdecea;
    color: #e74c3c;
    font-size: 8px;
    padding: .5rem .5rem !important;
    border-radius: 0.25rem;
    border: none;
    transition: 0.2s;
    margin-left: 10px;
}

.customer-btn-delete i {
    font-size: 1rem !important;
    line-height: 1;
}

/* AVATAR + NAME */
.customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(45deg, #a60817, #c0392b);
    color: white;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name {
    font-weight: 600;
    color: #2c3e50;
}

.sub-text {
    font-size: 12px;
    color: #888;
}

/* MONO TEXT (ID) */
.mono-text {
    font-family: monospace;
    font-size: 13px;
    color: #555;
}

/* ACTION BUTTON */
.action-group {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.btn-action {
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    transition: 0.2s;
}

/* TABLE IMPROVEMENT */
.customer-table {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.customer-table thead th {
    background: linear-gradient(45deg, #a60817, #a60817) !important;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    padding: 12px 16px;
}

.customer-table tbody tr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.customer-table td {
    border-top: none !important;
}

/* HOVER EFFECT */
.customer-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* ===============================
        END CUSTOMER PAGE UI
================================= */

/* ===============================
        START MODAL UNIVERSAL UI
================================= */

.modern-modal {
    border-radius: 16px !important;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    max-width: 900px;
    min-height: calc(100% - var(--tblr-modal-margin) * 2) !important;
}

/* HEADER */
.modern-modal .modal-header {
    padding: 20px 30px;
    border-bottom: none;
    background: linear-gradient(45deg, #a60817, #c0392b);
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.modern-modal .modal-header .text-muted {
    color: #fff !important;
}

.modern-modal .modal-header .modern-close {
    color: #fff;
}

.modern-modal .modal-title {
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}

.modern-close {
    opacity: 0.5;
    transition: 0.2s;
    font-size: 28px;
    line-height: 1;
    border: none;
    background: transparent;
    cursor: pointer;
}
.modern-close:hover {
    opacity: 1;
}

/* BODY */
.modern-modal .modal-body {
    padding: 20px;
}

.modern-modal .modal-body .modal-row {
    display: flex;
    gap: 10px !important;
}

.modern-modal .modal-body .modal-typecoa {
    display: flex;
    gap: 10px !important;
}

.modern-modal .modal-body .modal-typecoa .type-label {
    width: 10%;
}

.modern-modal .modal-body .modal-typecoa .type-select {
    width: 90%;
}

.modern-modal .modal-body .modal-typecoa .type-select select{
    border-radius: 12px;
    padding: 14px 10px;
}

/* SECTION TITLE */
.section-title {
    font-size: 13px;
    font-weight: 600;
    color: #a60817;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* INPUT */
.modern-input {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.modern-input:focus {
    border-color: #a60817;
    box-shadow: 0 0 0 3px rgba(166, 8, 23, 0.1);
}

/* LABEL */
.modern-modal label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

/* RIGHT SIDE BORDER */
.border-left {
    border-left: 1px solid #eee !important;
}

/* INFO BOX */
.info-box {
    background: #fdecea;
    color: #a60817;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 10px;
}

/* FOOTER */
.modern-modal .modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

/* BUTTONS */
.modern-btn-primary {
    background: linear-gradient(45deg, #a60817, #c0392b);
    color: white !important;
    border: none;
    border-radius: 10px;
    padding: 9px 20px;
    font-weight: 500;
    transition: 0.2s;
}

.modern-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(166, 8, 23, 0.3);
}

.modern-btn-cancel {
    background: #fdecea;
    color: #e74c3c;
    border: none;
    border-radius: 10px;
    padding: 9px 18px;
}

.modern-btn-update {
    background: #fdecea;
    color: #e74c3c;
    border-color: transparent;
}
/*.form-section-title {
    font-size: 11px;
    font-weight: 600;
    color: #a60817;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #e5e7eb;
}*/

/* ===============================
        END MODAL UNIVERSAL UI
================================= */

/* ===============================
        START FLOATING FIELD (MODAL)
================================= */
.floating-modal {
    position: relative;
    margin-bottom: 18px;
}

/* INPUT */
.floating-modal .modern-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 10px;
    font-size: 13px !important;
    align-content: center;
    background: #fff;
    transition: all 0.2s ease;
}

/* LABEL */
.floating-modal label {
    position: absolute;
    left: 12px;
    top: 45%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #fff;
    padding: 0 4px;
}

.floating-modal textarea {
    font-size: 30px !important;
}

/* FLOAT STATE */
.floating-modal .modern-input:focus + label,
.floating-modal .modern-input:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 10px;
    color: #a60817;
}

/* FOCUS BORDER */
.floating-modal .modern-input:focus {
    border-color: #a60817;
    box-shadow: 0 0 0 3px rgba(166,8,23,0.1);
}

.with-icon {
    position: relative;
}

.with-icon .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 12px;
}

.with-icon .modern-input {
    padding-left: 34px;
}

/* ===============================
        END FLOATING FIELD (MODAL)
================================= */

/* ===============================
        START COA  PAGE UI
================================= */
.card-body-coas {
    padding: 0 10px;
}
/* WRAPPER */
.coa-wrapper {
    max-width: 1200px;
}

/* CARD */
.coa-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* HEADER FLEX (KEY FIX) */
.coa-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.coa-header .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BUTTONS*/
.coa-btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: linear-gradient(45deg, #a60817, #a60817);
    color: #fff !important;
    font-size: 8px;
    padding: 0.5rem 0.5rem !important;
    border-radius: 0.25rem;
    border: none;
    transition: all 0.3s ease;
    margin-left: 10px;
    cursor: pointer;
}

.coa-btn-primary:hover {
    background: #fdecea;
    color: #a60817 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ICON DI BUTTON */
.coa-btn-primary i {
    font-size: 12px;
    line-height: 1;
}
/* TABLE IMPROVEMENT */
.coa-table {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.coa-table thead th {
    background: linear-gradient(45deg, #a60817, #a60817) !important;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    padding: 12px 16px;
}

.coa-table tbody tr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.coa-table td {
    border-top: none !important;
}

/* HOVER EFFECT */
.coa-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* ROW */
.coa-row {
    transition: all 0.2s ease;
}

.coa-row:hover {
    background: #f9fbff;
    transform: translateY(-1px);
}

/* TEXT */
.coa-code {
    font-weight: 600;
    color: #34495e;
}

.coa-name {
    color: #2c3e50;
}

/* BALANCE */
.coa-balance {
    font-family: monospace;
    font-weight: 600;
}

.coa-balance.positive {
    color: #27ae60;
}

.coa-balance.negative {
    color: #e74c3c;
}

/* BADGE */
.coa-badge {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.coa-badge.asset { background: #e6f7ee; color: #27ae60; }
.coa-badge.liability { background: #fff4e5; color: #f39c12; }
.coa-badge.equity { background: #e8f4fd; color: #3498db; }
.coa-badge.revenue { background: #f3e8ff; color: #8e44ad; }
.coa-badge.expense { background: #fdecea; color: #e74c3c; }

/* BUTTON INFO */
.coa-btn-info {
    background: #fdecea !important;
    color: #e74c3c !important;
    border-radius: 6px;
    padding: 6px 10px;
    transition: 0.2s;
}

.coa-btn-info:hover {
    color: #545454 !important;
}

/* ALERT */
.coa-alert {
    border-radius: 8px;
}

/* EMPTY */
.empty-state {
    padding: 30px;
    color: #999;
}

/* RESPONSIVE (BONUS) */
@media (max-width: 576px) {
    .coa-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .coa-header-right {
        width: 100%;
    }

    .coa-btn-primary {
        width: 100%;
        justify-content: center;
    }
}   
/* ===============================
        END COA  PAGE UI
================================= */

/* ===============================
   START JOURNAL DETAIL PAGE STYLE
================================= */
.jd-container {
    padding: 15px;
    background: #fefefe;
    border-radius: 8px;
}

/* CONTAINER */
.jd-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

/* CARD */
.jd-card {
    flex: 1;
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

/* FLEX CONTENT */
.jd-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ICON */
.jd-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* TEXT */
.jd-card span {
    display: block;
    font-size: 13px;
    color: #888;
}

.jd-card strong {
    font-size: 20px;
    font-weight: 600;
}

/* DEBIT STYLE */
.jd-debit .jd-icon {
    background: #eafaf1;
    color: #27ae60;
}

/* CREDIT STYLE */
.jd-credit .jd-icon {
    background: #fdecea;
    color: #e74c3c;
}

/* BALANCE STYLE */
.jd-balance .jd-icon {
    background: #eef4ff;
    color: #3b82f6;
}

/* HOVER EFFECT */
.jd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/*.jd-debit { border-left: 4px solid #28a745; }
.jd-credit { border-left: 4px solid #dc3545; }
.jd-balance { border-left: 4px solid #343a40; }*/

/* TABLE */
.jd-table-wrapper {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.jd-table {
    width: 100%;
    border-collapse: collapse;
}
.jd-table th, .jd-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.jd-table thead {
    background: linear-gradient(45deg, #a60817, #c0392b);
    color: #fff;
}
.jd-table tbody tr:hover {
    background: #fafafa;
}

/* COLORS */
.jd-debit { color: #28a745; }
.jd-credit { color: #dc3545; }
.jd-balance { font-weight: 600; }
.jd-balance.negative { color: #dc3545; }

/* BADGE / REFERENCE */
.jd-table .ledger-badge {
    background: #f1f3f5;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}

/* ALIGN TEXT */
.text-right { text-align: right; }

/* ===============================
   END JOURNAL DETAIL PAGE STYLE
================================= */

/* ===============================
        START JOURNAL  ENTRIES  PAGE UI
================================= */
.card-body-je {
    padding: 0 10px;
}
/* WRAPPER */
.je-wrapper {
    max-width: 1200px;
}

/* CARD */
.je-card {
    border: none;
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* HEADER */
.je-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.je-header .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BUTTONS*/
.je-btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: linear-gradient(45deg, #a60817, #a60817);
    color: #fff; 
    font-size: 8px;
    padding: 0.5rem 0.5rem;
    border-radius: 0.25rem;
    border: none;
    transition: all 0.3s ease;
    margin-left: 10px;
    cursor: pointer;
}

.je-btn-primary:hover {
    background: #fdecea;
    color: #a60817; 
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.je-row:hover {
    background: #f9fbff;
    transform: translateY(-1px);
}


/* ICON DI BUTTON */
.je-btn-primary i {
    font-size: 12px;
    line-height: 1;
}

/* TABLE IMPROVEMENT */
.je-table {
    border-collapse: separate;
    border-spacing: 0 8px;
}

.je-table thead th {
    background: linear-gradient(45deg, #a60817, #a60817) !important;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
    padding: 12px 16px;
}

.je-table tbody tr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    font-size: 14px;
}

.je-table td {
    border-top: none !important;
}

/* HOVER EFFECT */
.je-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* =========================================
        END JOURNAL  ENTRIES  PAGE UI
============================================ */

/* ==================================================
   START JOURNAL  VIEW PER VOUCHER DETAIL PAGE UI
===================================================== */
/* CONTAINER */
.jm-container {
    padding: 20px;
    background: #fff;
}

.jme-modal {
    max-width: 1300px;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
}

/* HEADER */
.jm-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.jm-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.jm-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.jm-label {
    font-weight: 600;
    margin-right: 10px;
    color: #555;
}

/* TABS */
.jm-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.jm-tab {
    padding: 10px 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
}

.jm-tab.active {
    border-bottom: 2px solid #007bff;
    color: #007bff;
}

/* TAB CONTENT */
.jm-tab-content {
    display: none;
}

.jm-tab-content.active {
    display: block;
}

/* TABLE */
.jm-table-wrapper {
    overflow-x: auto;
}

.jm-table {
    width: 100%;
    border-collapse: collapse;
}

.jm-table th {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    color: #555;
}

.jm-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
}

/* ACCOUNT STYLE */
.jm-account {
    display: flex;
    flex-direction: column;
}

.jm-account-code {
    font-weight: 600;
}

.jm-account-name {
    font-size: 13px;
    color: #777;
}

/* AMOUNT */
.jm-debit {
    color: #2ecc71;
}

.jm-credit {
    color: #e74c3c;
}

/* OTHER INFO */
.jm-other-box {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

/* MODALS*/
.modal-subhead {
    display: flex;
    justify-content: space-between;
    padding: 20px 15px;
}

.jme-left .jme-field input {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    margin-left: 10px;
    width: 25rem;
}

.jme-right .jme-field input {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    margin-left: 10px;
}

.jme-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.jme-tab {
    position: relative;
    padding: 10px 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    color: #666;
}

.jme-tab.active {
    border: 1px solid #ddd;
    border-bottom: 1px solid #fff;
    color: #007bff;
    z-index: 3;
    margin-bottom: -1px;
}

/* TABLE */
.jme-table {
    width: 100%;
    border-collapse: collapse;
}

.jme-table th {
    text-align: left !important;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    color: #555;
}

.jme-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.jme-table input,
.jme-table select {
    width: 100%;
    border: none;
    padding: 5px;
    border-radius: 4px;
}

/* ADD LINE */
.jme-add-line {
    margin-top: 10px;
    color: #6f42c1;
    cursor: pointer;
}

/* TOTAL */
.jme-total {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    font-weight: 600;
}

/* ERROR */
.jme-error {
    margin-top: 10px;
    color: red;
}

/* =========================================================
        END JOURNAL  VIEW PER VOUCHER DETAIL PAGE STYLE
============================================================ */

/* =========================================
        START JOURNAL ITEMS PAGE UI
============================================ */

/* CONTAINER */
.jl-container {
    padding: 15px;
    background: #fff;
    border-radius: 14px;
}

/* HEADER */
.jl-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    /*padding-bottom: 10px;*/
}

.jl-header .card-title {
    font-size: 16px !important;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jl-subtitle {
    font-size: 13px;
    color: #888;
}

.jl-table-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* TABLE WRAPPER */
.jl-table-wrapper {
    background: #fff;
    overflow: hidden;
    /*box-shadow: 0 8px 25px rgba(0,0,0,0.05);*/
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* TABLE */
.jl-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* HEADER */
.jl-table thead {
    background: linear-gradient(45deg, #a60817, #c0392b);
    color: #fff;
}

.jl-table th {
    padding: 12px 15px;
    font-size: 12px;
    text-transform: uppercase;
}

/* BODY */
.jl-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #f1f1f1;
}

.jl-table th,
.jl-table td {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
}

/* RESIZE HANDLE */
.resizable {
    position: relative;
}

.resizable::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
}

/* HOVER EFFECT */
.resizable:hover::after {
    background: rgba(255,255,255,0.3);
}

/* ICON SORTING */
.jl-table th.sortable {
    cursor: pointer;
    position: relative;
}

.jl-table th.sortable:after {
    content: "\f0dc"; /* FontAwesome sort icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 8px;
    color: #ccc;
}

.jl-table th.sortable.asc:after {
    content: "\f0de"; /* sort-up */
}

.jl-table th.sortable.desc:after {
    content: "\f0dd"; /* sort-down */
}

/* ROW HOVER */
.jl-table tbody tr {
    transition: all 0.2s ease;
}

.jl-table tbody tr:hover {
    background: #f9fbff;
    transform: translateY(-1px);
}

/* DATE */
.jl-date {
    font-size: 14px;
    color: #555;
}

/* COA */
.jl-coa {
    display: flex;
    flex-direction: column;
}

.jl-coa-name {
    font-weight: 600;
    color: #2c3e50;
}

.jl-coa-code {
    font-size: 12px;
    color: #888;
}

/* BADGE */
.jl-badge {
    background: #eef4ff;
    color: #3b82f6;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* REFERENCE */
.jl-ref {
    font-family: monospace;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
}

/* LABEL */
.jl-label {
    color: #444;
}

/* NUMBERS */
.jl-debit {
    color: #27ae60;
    font-weight: 500;
}

.jl-credit {
    color: #e74c3c;
    font-weight: 500;
}

/* =========================================
        END JOURNAL ITEMS PAGE UI
============================================ */

/* =========================================
        START BALANCE SHEET PAGE UI
============================================ */

.bs-page{
    padding-bottom: 40px;
    font-family: "Inter", sans-serif;
}

/* FILTER */
.bs-filter{
    background:#fff;
    padding:14px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
    margin-bottom:16px;
}

.bs-filter__form{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
}

.bs-filter__group{
    display:flex;
    gap:10px;
}

.bs-filter__field{
    position:relative;
    display:flex;
    align-items:center;
    border:1px solid #e5e7eb;
    border-radius:10px;
    padding:6px 10px;
    min-width:160px;
    background:#fff;
}

.bs-filter__field i{
    font-size:12px;
    margin-right:6px;
    color:#9ca3af;
}

.bs-filter__field input{
    border:none;
    outline:none;
    font-size:13px;
    width:100%;
}

.dttot-filter__field--search {
    flex: 1 !important;
    width: 100% !important;
    min-width: 300px !important;
}

.dttot-filter__field--search input{
     width: 100% !important;
}

/* ACTION WRAPPER */
.bs-filter__actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* BASE BUTTON */
.bs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;

    border: none;
    cursor: pointer;
    text-decoration: none;

    transition: all 0.2s ease;
}

/* FILTER (PRIMARY GRADIENT) */
.bs-btn--primary {
    background: linear-gradient(135deg,#a60817,#7d0611);
    color: #fff;
}

.bs-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(166, 8, 23, 0.25);
}

.bs-btn--reset {
    background: linear-gradient(135deg,#grey,#grey) !important;
    color: black !important;
}

.bs-btn--reset:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(166, 8, 23, 0.25);
}

/* PDF BUTTON (RED SOLID) */
.bs-btn--pdf {
    background: #dc3545;
    color: #fff;
}

.bs-btn--pdf:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(220, 53, 69, 0.25);
}

/* EXCEL BUTTON (GREEN SOLID) */
.bs-btn--excel {
    background: #198754;
    color: #fff;
}

.bs-btn--excel:hover {
    background: #157347;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(25, 135, 84, 0.25);
}

/* DISABLED STATE */
.bs-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.2);
    display: none;
}

/* ACTIVE CLICK EFFECT */
.bs-btn:active {
    transform: scale(0.97);
}

/* CARD */
.bs-card{
    background:#fff;
    border-radius:16px;
    box-shadow:0 8px 24px rgba(0,0,0,0.06);
    overflow:hidden;
    margin-bottom:20px;
}

.bs-card__header{
    padding:12px 16px;
    font-weight:600;
    border-bottom:1px solid #f1f1f1;
}

.bs-card__header--assets{
    color: #a60817;
}

.bs-card__header--passiva{
    color: #a60817;
}

.bs-card__body{
    padding:12px;
}

.bs-card__footer{
    padding:12px 16px;
    border-top:1px solid #f1f1f1;
    font-weight:600;
}

.bs-card__footer span{
    float:right;
}

.bs-card__footer--success{
    color:#16a34a;
}

/* TABLE */
.bs-table{
    width:100%;
    border-collapse:collapse;
    margin-bottom:10px;
}

.bs-table td{
    padding:8px;
    font-size:13px;
    border-bottom:1px solid #f3f4f6;
}

.bs-table td.is-number{
    text-align:right;
    font-weight:500;
}

.bs-section-title{
    font-size:12px;
    font-weight:600;
    color:#6b7280;
    margin:10px 0 6px;
}

/* SUBTOTAL */
.bs-subtotal{
    font-weight:600;
    background:#f9fafb;
}

.bs-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.bs-empty__icon {
    font-size: 42px;
    color: #adb5bd;
    margin-bottom: 15px;
}

.bs-empty__title {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 8px;
}

.bs-empty__text {
    color: #6c757d;
    font-size: 14px;
}

/* STATUS */
.bs-status{
    margin-top:10px;
    padding:10px 14px;
    border-radius:10px;
    font-weight:600;
    text-align:center;
}

.bs-status.is-balanced{
    background:#dcfce7;
    color:#166534;
}

.bs-status.is-not-balanced{
    background:#fee2e2;
    color:#991b1b;
}

.skeleton {
    background: linear-gradient(
        90deg,
        #f1f3f5 25%,
        #e9ecef 37%,
        #f1f3f5 63%
    );
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    border-radius: 6px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 12px;
}

.skeleton-row {
    height: 14px;
    margin-bottom: 10px;
}

.w-50 { width: 50%; }
.w-40 { width: 40%; }

/* =========================================
        END BALANCE SHEET PAGE UI
============================================ */

/* =========================================
        START PnL PAGE UI
============================================ */
.pnl-in {
    background: linear-gradient(135deg,#10b981,#34d399);
    color: #fff;
}

.pnl-stock {
    background: linear-gradient(135deg,#17a2b8,#4dd5ea);
    color: #fff;
}

.pnl-out {
    background: linear-gradient(135deg,#ef4444,#fb7185);
    color: white;
}

.pnl-final {
    background: linear-gradient(135deg,#f59f00,#ecb041);
    color: white;
}

.pnl-cost {
    background: linear-gradient(135deg,#08c1bc,#7accca);
    color: white;
}
/* =========================================
        END PnL PAGE UI
============================================ */

/* ===============================
   START LOGIN PAGE STYLE
================================= */

.login-wrapper {
    display: flex;
    height: 100vh;
}

/* LEFT SIDE */
.login-left {
    flex: 1;
    position: relative;
    background: url('../images/bg_wkd2.avif') no-repeat center center;
    background-size: cover;
}

/* WHITE GRADIENT OVERLAY */
.login-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.85),
        rgba(255,255,255,0.4)
    );
}

/* LOGO */
.logo-wrapper {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper img {
    max-width: 240px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
}

/* RIGHT SIDE */
.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f6fa;
}

/* CARD */
.login-card {
    width: 100%;
    max-width: 420px;
    padding: 35px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* TITLE */
.login-title {
    font-weight: 600;
    color: #333;
}

.login-subtitle {
    font-size: 14px;
    color: #888;
}

/* INPUT */
.form-control {
    border-radius: 8px;
    height: 45px;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(192,57,43,0.15);
}

/* BUTTON */
.btn-login {
    background: #c0392b;
    border: none;
    padding: 10px;
    font-weight: 600;
    border-radius: 8px;
}

.btn-login:hover {
    background: #a93226;
}

/* COPYRIGHT */
.login-footer {
    position: absolute;
    bottom: 15px;
    width: 100%;
    font-size: 12px;
    color: #999;
    letter-spacing: 0.5px;
}

/* ===============================
   END LOGIN PAGE STYLE
================================= */


/* RESPONSIVE */
@media (max-width: 1024px){
    .saas-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px){
    .saas-table th,
    .saas-table td{
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 600px){
    .saas-dashboard{
        padding: 16px;
    }

    .saas-grid{
        grid-template-columns: 1fr;
    }
}