@font-face {
    font-family: 'Bitsumus';
    src: url('./fonts/BITSUMIS/BITSUMIS.TTF');
}

@font-face {
    font-family: 'Montserrat Black';
    src: url('./fonts/Montserrat/static/Montserrat-Black.ttf');
}

@font-face {
    font-family: 'Montserrat Medium';
    src: url('./fonts/Montserrat/static/Montserrat-Medium.ttf');
}


:root {
    --bs-primary: #059cc1;
    --bs-secondary: #b3d238;
    --bs-link-color-rgb: #059cc1;
    --bs-primary-rgb:#059cc1;
    --bs-text-primary: #059cc1;
    --bs-primary-active: #059cc1;
    --bs-pagination-active-bg: #059cc1;
    --bs-component-active-bg: #059cc1;
    --bs-component-hover-color: #059cc1;
    --bs-component-checked-bg: #059cc1;
    --bs-scrolltop-bg-color: #059cc1;
    --bs-scrolltop-bg-color-hover: #059cc1;
    --bs-menu-link-color-hover: #059cc1;
    --bs-menu-link-color-show: #059cc1;
    --bs-border-radius: 1.25rem !important;
}


[data-bs-theme="light"] {
    --bs-app-bg-color: #fcfcfc;
}


@media (min-width: 992px) {
    [data-kt-app-layout=light-sidebar] .app-sidebar, .app-sidebar {
        display: flex;
        flex-shrink: 0;
        margin: 10px;
        margin-right: 0;
        /* border-radius: 1.25rem; */
    }

    div, main, ol, pre, span, ul {
        scrollbar-width: none;
        scrollbar-color: var(--bs-scrollbar-color) transparent;
    }
}

.dt-processing .card {
    display: none !important;
}

body
{
    font-family: 'Montserrat Medium', serif;
}

.h-150px
{
    height: 150px;
}

.no-border
{
    border: 0
}

.icon-group-radius
{
    border-top-left-radius: var(--bs-border-radius);
    border-bottom-left-radius: var(--bs-border-radius);
}

.btn {
    --bs-btn-border-radius: var(--bs-border-radius);
}

.btn-xl {
    --bs-btn-font-size: 1.3rem;
}

.form-control,
.form-select,
.select2-container--bootstrap5 .select2-dropdown,
.menu-sub-dropdown.menu.show,
.menu-sub-dropdown.show[data-popper-placement],
.show.menu-dropdown>.menu-sub-dropdown,
.border-radius-primary,
.card {
    border-radius: var(--bs-border-radius);
}

@media (min-width: 992px) {
    [data-kt-app-layout=light-sidebar] .app-sidebar,
    .app-sidebar {
        margin: 0 !important;
    }
}


input.placeholder {
    background: black !important;
}

.dtr-control::before {
    content: none !important;
}

@media (min-width: 1200px) {
    .w-xl-1200px {
        width: 1200px !important;
    }
}

[data-bs-theme="dark"] .list-group-item {
    background-color: #15171c !important;
    color: #fff !important;
    border-color: #333 !important;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #059cc1 0%, #b3d238 100%);
}

.boc-active-branch-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(5, 156, 193, 0.25);
    border-radius: calc(var(--bs-border-radius) - 0.35rem);
    background: linear-gradient(90deg, rgba(5, 156, 193, 0.12) 0%, rgba(179, 210, 56, 0.12) 100%);
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.2;
}

.boc-active-branch-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 1.15rem;
}

.boc-active-branch-bar__label {
    color: #475569;
    font-weight: 600;
}

.boc-active-branch-bar__name {
    color: #0f172a;
    font-weight: 700;
}

.boc-active-branch-badge {
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(5, 156, 193, 0.28);
    background: rgba(5, 156, 193, 0.1);
    color: var(--bs-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.boc-header-branch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 220px;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(5, 156, 193, 0.28);
    background: rgba(5, 156, 193, 0.1);
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.1;
}

.boc-header-branch__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boc-discount-badge,
.boc-discount-dot {
    position: absolute;
    top: 2px;
    inset-inline-end: 2px;
    width: 8px;
    height: 8px;
    min-width: 0;
    padding: 0;
    border-radius: 50%;
    background: #f1416c;
    color: transparent;
    font-size: 0;
    line-height: 0;
    pointer-events: none;
}

#kt_app_sidebar_logo {
    position: relative;
    align-items: center;
    height: auto !important;
    min-height: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.15rem;
}

.boc-sidebar-chrome {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    padding: 0.15rem 0.5rem 0;
    text-align: center;
}

.boc-sidebar-chrome__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#kt_app_sidebar_logo .boc-sidebar-chrome__discount {
    position: absolute;
    top: 0.35rem;
    inset-inline-end: 0.5rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    color: var(--bs-primary);
    text-decoration: none;
}

#kt_app_sidebar_logo .boc-sidebar-chrome__discount:hover,
#kt_app_sidebar_logo .boc-sidebar-chrome__discount.is-active {
    color: var(--bs-primary);
}

#kt_app_sidebar_logo .boc-sidebar-chrome__discount i {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.boc-sidebar-chrome__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 0;
}

.boc-sidebar-logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 150px;
    object-fit: contain;
}

.boc-sidebar-branch {
    display: block;
    margin: 0.35rem 0 0.15rem;
    max-width: 100%;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
}

[data-kt-app-sidebar-minimize="on"] .app-sidebar:not(:hover) .boc-sidebar-branch {
    display: none;
}

[data-kt-app-sidebar-minimize="on"] .app-sidebar:not(:hover) #kt_app_sidebar_logo .boc-sidebar-chrome__discount {
    top: 0.35rem;
    inset-inline-end: 0.5rem;
}

/* Customer file list: whole name column opens the profile, not only the text. */
table.dataTable td.boc-customer-file-cell {
    padding: 0 !important;
    cursor: pointer;
}

.boc-customer-file-cell__link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1.25rem;
    color: #3f4254;
    font-weight: 700;
    text-decoration: none;
}

.boc-customer-file-cell__link:hover {
    color: var(--bs-primary);
    background: rgba(5, 156, 193, 0.08);
}

.boc-cashier-card__customer .boc-customer-file-cell__link {
    min-height: auto;
    padding: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e3a5f;
}

.boc-cashier-card__customer .boc-customer-file-cell__link:hover {
    background: transparent;
    color: var(--bs-primary);
}

table.dataTable tbody tr.boc-customer-file-row {
    cursor: pointer;
}

table.dataTable tbody tr.boc-customer-file-row:hover td {
    background: rgba(5, 156, 193, 0.06);
}

table.dataTable tbody tr.boc-customer-file-row td:last-child {
    cursor: default;
}

@media (min-width: 992px) {
    #kt_app_sidebar_menu_wrapper {
        height: auto !important;
        margin-top: 0 !important;
        max-height: calc(100vh - 242px) !important;
        overflow-y: auto !important;
        scrollbar-width: thin;
    }
}

#kt_app_wrapper:has(.boc-dash) #kt_app_sidebar_menu_wrapper {
    max-height: calc(100vh - 222px) !important;
}

.boc-sidebar-support {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.boc-sidebar-support__link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.4rem;
    border-radius: 0.4rem;
    color: #7e8299;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-decoration: none;
}

.boc-sidebar-support__link i {
    font-size: 13px;
    line-height: 1;
}

.boc-sidebar-support__link:hover,
.boc-sidebar-support__link.is-active {
    color: #a1a5b7;
    background: rgba(255, 255, 255, 0.04);
}

[data-kt-app-sidebar-minimize="on"] .app-sidebar:not(:hover) .boc-sidebar-support__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

[data-kt-app-sidebar-minimize="on"] .app-sidebar:not(:hover) .boc-sidebar-support__link {
    justify-content: center;
}

.boc-learning-link + .boc-learning-link {
    border-top: 1px solid #eff2f5;
}

.boc-learning-link:hover .fw-semibold {
    color: var(--bs-primary);
}

.boc-file-kind-tabs {
    border-bottom: 2px solid #eff2f5;
}

.boc-file-kind-tabs .nav-item + .nav-item {
    margin-inline-start: 20px;
}

.boc-file-kind-tabs .nav-link {
    padding: 2px 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #a1a5b7;
}

.boc-file-kind-tabs .nav-link.active,
.boc-file-kind-tabs .nav-link:hover:not(.disabled) {
    color: var(--bs-primary);
}