::-webkit-scrollbar {
    display: none;
}

#nprogress .bar {
    height: 5px !important;
}

/* ==========================================================
 * Mode Tulisan Besar (Ramah Mata Petani Tua & Baca di Sawah)
 * ========================================================== */
html.large-text-mode {
    font-size: 112% !important;
}

.large-text-mode body {
    font-size: 1.05rem;
    line-height: 1.6;
}

.large-text-mode .fi-sidebar-item-label,
.large-text-mode .fi-sidebar-group-label {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
}

.large-text-mode input,
.large-text-mode select,
.large-text-mode textarea {
    font-size: 1.05rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

.large-text-mode .fi-btn,
.large-text-mode button {
    font-size: 1rem !important;
    letter-spacing: 0.015em;
}

.large-text-mode .fi-ta-header-cell-label,
.large-text-mode .fi-ta-cell {
    font-size: 1rem !important;
}

.large-text-mode .fi-breadcrumbs-item-label {
    font-size: 0.95rem !important;
}

.large-text-mode .fi-section-header-heading {
    font-size: 1.35rem !important;
}

.large-text-mode .fi-section-header-description {
    font-size: 1rem !important;
}

/* ==========================================================
 * Equal Height Widget Grid & Overflow Auto Tables
 * ========================================================== */
.fi-wi-widget > section.fi-section {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.fi-wi-widget > section.fi-section > .fi-section-content-ctn {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fi-wi-widget > section.fi-section > .fi-section-content-ctn > .fi-section-content {
    flex-grow: 1;
}

.fi-ta-ctn {
    overflow: hidden !important;
}

.fi-ta-content,
.fi-ta-ctn > div:has(> table.fi-ta-table) {
    overflow-x: auto !important;
    max-width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.fi-ta-table {
    width: max-content !important;
    min-width: 100% !important;
}

.fi-ta-table th,
.fi-ta-table td {
    white-space: nowrap !important;
}

.fi-ta-content::-webkit-scrollbar {
    height: 8px;
}

.fi-ta-content::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.45);
    border-radius: 6px;
}

.fi-ta-content::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.8);
}
