﻿:root {
    --root--color-info: #06586e;
    --green: #217346;
    --lightgreen: #ebffeb;
    --blue: #1a73e8;
    --lightblue: #e6effd;
    --info: 204 100% 39%;
    --info-foreground: 60 9.1% 97.8%;
    --success: 135 27% 39%;
    --success-foreground: 60 9.1% 97.8%;
    --warning: 45 95% 49%;
    --waring-foreground: 240 10% 3.9%;
    --light: 30 12% 97%;
}

:root {
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 240 10% 3.9%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 4.8% 95.9%;
    --secondary-foreground: 240 5.9% 10%;
    --muted: 240 4.8% 90%;
    --muted-foreground: 240 3.8% 46.1%;
    --accent: 359 95.5% 40%; /*red*/
    /* --accent: 240 4.8% 95.9%;*/ /*gray*/
    --accent2: 21 98.3% 45.9%; /*orange*/
    --accent-foreground: 0 0% 98%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 5.9% 80%;
    --input: 240 5.9% 86%;
    --ring: 240 5.9% 10%;
    --radius: 0.25rem;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
}

:root {
    --sidebar-background: 0 0% 95%;
    --sidebar-foreground: 240 5.3% 24.5%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 0 0% 99.8%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;
    --sidebar-width: 15rem;
}

.dark-mode {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 0 0% 98%;
    --primary-foreground: 240 5.9% 10%;
    --secondary: 12 6.5% 15.1%;
    --secondary-foreground: 60 9.1% 97.8%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --accent: 341 65% 45%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --ring: 240 4.9% 83.9%;
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 0 0% 98%;
    --sidebar-primary-foreground: 240 5.9% 10%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;
}

* {
    scrollbar-width: thin;
    scrollbar-color: hsl(var(--border)) transparent;
}

body, html {
    /*font-family: 'Roboto',sans-serif !important;*/
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol" !important;
    font-weight: 400;
    padding-right: 0 !important;
    font-size: 1rem;
    line-height: 1.25rem;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

.fancybox-caption {
    font-size: 1.5rem !important;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('/Content/Common/rocket.gif') 50% 10% no-repeat white;
}

.blockUI.blockOverlay {
    z-index: 1000 !important;
}

/*#region convenient component*/
textarea {
    resize: none
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius);
    color: hsl(var(--foreground)/.7) !important;
    text-decoration: none !important;
    cursor: pointer;
}

    .icon-link.icon-link-sm {
        width: 24px;
        height: 24px;
    }

    .icon-link:hover {
        background: hsl(var(--muted));
        color: hsl(var(--foreground)) !important;
    }

    .icon-link.disabled {
        opacity: .5;
        pointer-events: none;
    }

.vertical-divider {
    height: 1rem;
    width: 1px;
    background: hsl(var(--border));
}

.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.truncate {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.clamp-text-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clamp-text-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clamp-text-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.label-float-form-group {
    position: relative;
}

    .label-float-form-group label {
        position: absolute;
        font-size: .65rem;
        margin-bottom: 0;
        line-height: 1;
        top: -6px;
        left: 8px;
        z-index: 1;
        color: hsl(var(--muted-foreground));
        background: hsl(var(--background));
        border-radius: .25rem;
        padding: 0 .25rem;
    }

/*#endregion*/

/*#region alert*/
.alert-dismissible .close {
    padding: 0;
    top: .25rem;
    right: .25rem;
}

.alert-success:not(.m-alert--outline) {
    color: hsl(var(--foreground));
    background-color: hsl(var(--success)/.1);
    border-color: hsl(var(--success)/.2);
}

.alert-info:not(.m-alert--outline) {
    color: hsl(var(--foreground));
    background-color: hsl(var(--info)/.1);
    border-color: hsl(var(--info)/.2);
}

.alert-warning:not(.m-alert--outline) {
    color: hsl(var(--foreground));
    background-color: hsl(var(--warning)/.2);
    border-color: hsl(var(--warning));
}

.alert-danger:not(.m-alert--outline) {
    color: hsl(var(--foreground));
    background-color: hsl(var(--destructive)/.1);
    border-color: hsl(var(--destructive)/.2);
}
/*#endregion*/

/*#region button custom*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-family: unset;
}

.btn-xsm {
    line-height: 1.2;
    font-size: smaller;
    padding: .25rem 1rem;
}

.btn-group-sm > .btn, .btn-sm {
    line-height: 1.25rem;
    padding: .35rem 1rem;
}

.btn-primary, .btn.btn-primary.active, .btn.btn-primary.focus, .btn.btn-primary:focus, .btn.btn-primary:hover:not(:disabled), .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: hsl(var(--primary-foreground)) !important;
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

    .btn-primary:hover:not(.disabled), .btn-primary:active {
        color: hsl(var(--primary-foreground)/80%) !important;
        background-color: hsl(var(--primary)/80%) !important;
        border-color: hsl(var(--primary));
    }

.btn.btn-outline-primary, .btn-outline-primary {
    color: hsl(var(--primary));
    background-color: transparent;
    background-image: none;
    border-color: hsl(var(--primary));
}

    .btn.btn-outline-primary.active, .btn.btn-outline-primary.focus, .btn.btn-outline-primary:focus, .btn.btn-outline-primary:hover:not(:disabled), .btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle, .btn-outline-primary.focus, .btn-outline-primary:focus, .btn-outline-primary:hover {
        color: hsl(var(--primary-foreground));
        background-color: hsl(var(--primary));
        border-color: hsl(var(--primary));
    }

.btn.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border-color: hsl(var(--secondary))
}

    .btn.btn-secondary:hover:not(.disabled), .btn-secondary:not(:disabled):not(.disabled):active {
        background: hsl(var(--secondary)/80%);
        color: hsl(var(--secondary-foreground)/80%);
        border-color: hsl(var(--secondary))
    }

.btn-outline-secondary {
    color: hsl(var(--secondary-foreground));
    background-color: hsl(var(--background));
    background-image: none;
    border-color: hsl(var(--border))
}

    .btn-outline-secondary:hover, .btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):active, .show > .btn-outline-secondary.dropdown-toggle {
        color: hsl(var(--secondary-foreground));
        background-color: hsl(var(--secondary));
        background-image: none;
        border-color: hsl(var(--border))
    }

.btn-danger {
    color: hsl(var(--destructive-foreground));
    background-color: hsl(var(--destructive));
    border-color: hsl(var(--destructive));
}

    .btn-danger:hover {
        color: hsl(var(--destructive-foreground)/80%);
        background-color: hsl(var(--destructive)/80%);
        border-color: hsl(var(--destructive));
    }

    .btn-danger:not(:disabled):not(.disabled).active, .btn-danger:not(:disabled):not(.disabled):active, .show > .btn-danger.dropdown-toggle {
        color: hsl(var(--destructive-foreground));
        background-color: hsl(var(--destructive));
        border-color: hsl(var(--destructive));
    }

.btn.btn-outline-danger, .btn-outline-danger {
    color: hsl(var(--destructive));
    background-color: transparent;
    background-image: none;
    border-color: hsl(var(--destructive));
}

    .btn.btn-outline-danger.active, .btn.btn-outline-danger.focus, .btn.btn-outline-danger:focus, .btn.btn-outline-danger:hover:not(:disabled), .btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):active, .show > .btn-outline-danger.dropdown-toggle {
        color: hsl(var(--destructive-foreground)) !important;
        background-color: hsl(var(--destructive));
    }

.btn-accent {
    color: hsl(var(--accent-foreground));
    background-color: hsl(var(--accent));
    border-color: hsl(var(--accent));
}

    .btn-accent:hover {
        color: hsl(var(--accent-foreground)/80%);
        background-color: hsl(var(--accent)/80%);
        border-color: hsl(var(--accent));
    }

.btn.btn-outline-accent {
    color: hsl(var(--accent));
    border-color: hsl(var(--accent));
}

.btn-outline-accent.focus, .btn-outline-accent:focus, .btn-outline-accent:hover, .btn-outline-accent:not(:disabled):not(.disabled).active, .btn-outline-accent:not(:disabled):not(.disabled):active, .show > .btn-outline-accent.dropdown-toggle {
    color: hsl(var(--accent-foreground));
    background-color: hsl(var(--accent));
    border-color: hsl(var(--accent));
}

.btn-accent:not(:disabled):not(.disabled).active, .btn-accent:not(:disabled):not(.disabled):active, .show > .btn-accent.dropdown-toggle {
    color: hsl(var(--accent-foreground));
    background-color: hsl(var(--accent));
    border-color: hsl(var(--accent));
}

.btn-info {
    background-color: #0077c7;
    border-color: #0077c7;
}

.btn.btn-outline-info {
    color: #0077c7;
    border-color: #0077c7;
}

    .btn.btn-outline-info:hover, .btn.btn-outline-info:active, .btn.btn-outline-info.active {
        background-color: #0077c7;
        border-color: #0077c7;
    }

.btn-info:hover, .btn-info:active, .btn-info.active {
    background-color: #0068ae;
    border-color: #0068ae;
}

.btn-ghost {
    background-color: transparent;
}

.btn-sm.btn-icon {
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.btn-ghost:hover, .btn-ghost:focus, .btn-ghost:active, .btn-ghost.active {
    background-color: hsl(var(--muted));
}

.btn.disabled, .btn:disabled {
    color: hsl(var(--muted-foreground)) !important;
    background-color: hsl(var(--muted)) !important;
    border-color: hsl(var(--muted)) !important;
    cursor: not-allowed;
}

.btn-loading {
    color: hsl(var(--primary-foreground)) !important;
    background: hsl(var(--primary)/50%) !important;
    border-color: transparent !important;
    cursor: auto;
    pointer-events: none;
}

    .btn-loading:before {
        content: "\f110";
        font-family: "FontAwesome";
        animation: fa-spin 2s infinite linear;
        margin-right: .25rem;
        display: inline-block;
    }

    .btn-loading .fa, .btn-loading .la {
        display: none;
    }
/*#endregion*/

/*#region custom badge*/
.badge {
    font-size: 0.875rem;
    font-weight: normal;
    line-height: 1.25;
    padding: .25em .8em;
}

.badge.badge-sm {
    font-size: 0.75rem;
}

.badge.badge-xsm {
    font-size: 0.625rem;
}

.badge-accent {
    color: hsl(var(--accent-foreground));
    background-color: hsl(var(--accent));
    border: 1px solid hsl(var(--accent));
}

.badge-accent2 {
    color: hsl(var(--accent-foreground));
    background-color: hsl(var(--accent2));
    border: 1px solid hsl(var(--accent2));
}

.badge-danger {
    color: hsl(var(--destructive-foreground));
    background-color: hsl(var(--destructive));
    border: 1px solid hsl(var(--destructive));
}

.badge-light-danger {
    color: hsl(var(--destructive));
    background-color: hsl(var(--destructive)/.1);
    border: 1px solid hsl(var(--destructive)/.2);
}

.badge-primary {
    border: 1px solid hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    background-color: hsl(var(--primary));
}

.badge-light-primary {
    border: 1px solid hsl(var(--primary)/.2);
    color: hsl(var(--primary));
    background: hsl(var(--primary)/.1);
}

.badge-outline-primary {
    border: 1px solid hsl(var(--primary));
    color: hsl(var(--primary));
    background: hsl(var(--background));
}

.badge.badge-secondary {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.badge.badge-light-secondary {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.badge.badge-info {
    border: 1px solid hsl(var(--info));
    background: hsl(var(--info));
    color: hsl(var(--info-foreground));
}

.badge.badge-light-info {
    border: 1px solid hsl(var(--info)/20%);
    background: hsl(var(--info)/10%);
    color: hsl(var(--info));
}

.badge.badge-outline-info {
    border: 1px solid hsl(var(--info));
    background: hsl(var(--background));
    color: hsl(var(--info));
}

.badge.badge-success {
    border: 1px solid hsl(var(--success));
    background: hsl(var(--success));
    color: hsl(var(--success-foreground));
}

.badge.badge-light-success {
    border: 1px solid hsl(var(--success)/20%);
    background: hsl(var(--success)/10%);
    color: hsl(var(--success));
}

.badge.badge-outline-success {
    border: 1px solid hsl(var(--success));
    background: hsl(var(--background));
    color: hsl(var(--success));
}

.badge.badge-warning {
    border: 1px solid hsl(var(--warning));
    background: hsl(var(--warning));
    color: hsl(var(--warning-foreground));
}

.badge.badge-light-warning {
    border: 1px solid hsl(var(--warning)/.2);
    background: hsl(var(--warning)/.1);
    color: hsl(var(--warning));
}

.badge.badge-outline-warning {
    border: 1px solid hsl(var(--warning));
    background: hsl(var(--background));
    color: hsl(var(--warning));
}
/*#endregion*/

/*#region custom checkbox*/
.ckb-container {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

input[type=checkbox].ckb {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    min-width: 16px;
    width: 16px;
    height: 16px;
    aspect-ratio: 1/1;
    border: 1px solid hsl(20 5.9% 80%);
    border-radius: .25rem;
    background-color: hsl(var(--background));
    cursor: pointer;
}

    input[type=checkbox].ckb.halfcheck {
        background-color: hsl(var(--primary));
    }

        input[type=checkbox].ckb.halfcheck::before {
            content: "";
            position: absolute;
            left: 3px;
            top: 6px;
            width: 8px;
            border-bottom: 1px solid;
            border-color: hsl(var(--primary-foreground));
        }

    input[type=checkbox].ckb:checked::before {
        content: "";
        position: absolute;
        top: 2px;
        left: 5px;
        width: 4px;
        height: 8px;
        border-right: 1px solid;
        border-bottom: 1px solid;
        transform: rotate(40deg);
    }

    input[type=checkbox].ckb:not(:checked):hover::before {
        content: "";
        position: absolute;
        top: 2px;
        left: 5px;
        width: 4px;
        height: 8px;
        border-right: 1px solid;
        border-bottom: 1px solid;
        transform: rotate(40deg);
        border-color: hsl(var(--muted-foreground)/.5);
    }

    input[type=checkbox].ckb:checked {
        background-color: hsl(var(--primary));
    }

    .ckb-container:has(input[type=checkbox].ckb.readonly),
    input[type=checkbox].ckb:disabled,
    input[type=checkbox].ckb.disabled,
    input[type=checkbox].ckb.readonly {
        background-color: hsl(var(--muted));
        pointer-events: none;
    }

    input[type=checkbox].ckb:checked::before {
        border-color: hsl(var(--primary-foreground));
    }

    input[type=checkbox].ckb:disabled:checked::before,
    input[type=checkbox].ckb.disabled:checked::before,
    input[type=checkbox].ckb.readonly:checked::before {
        border-color: hsl(var(--muted-foreground)/.5);
    }

    input[type=checkbox].ckb.ckb-accent:checked {
        background-color: hsl(var(--accent));
    }

        input[type=checkbox].ckb.ckb-accent:checked::before {
            border-color: hsl(var(--accent-foreground));
        }
/*#endregion*/



/*#region form control*/
.form-control {
    font-family: unset;
    padding: 7px 8px;
    line-height: 1.25rem;
    font-size: .875rem;
    border-color: hsl(var(--input));
    color: hsl(var(--input-foreground));
}

.form-control.focus, .form-control:focus {
    border: 1px solid hsl(var(--accent2)/.4);
    box-shadow: 0 0 7px hsl(var(--accent2)/.4);
}

.form-control-sm, .input-group-sm > .form-control {
    padding: 5px 8px;
    font-size: small;
}

.form-control[readonly] {
    background-color: #f4f5f8;
}

.input-group-text {
    padding: 7px 8px;
}

.input-group .input-group-append > .input-group-text, .input-group .input-group-prepend > .input-group-text {
    border-color: hsl(var(--input));
}

/*#endregion*/

/*#region data table*/
.data-table-container {
    width: 100%;
    border: 1px solid hsl(var(--border));
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
}

.data-table th {
    border-bottom: 1px solid hsl(var(--border));
    padding: 0.5rem;
    font-weight: 400;
    background: hsl(var(--muted));
}

.data-table td {
    border-bottom: 1px solid hsl(var(--border));
    padding: .5rem;
}

.data-table.data-table-hover tr:hover {
    background: hsl(var(--muted)/.3);
}

.data-table-container .data-table:has(tfoot) tfoot tr:last-child td,
.data-table-container .data-table:not(:has(tfoot)) tbody:last-child tr:last-child td {
    border-bottom: none;
}

.data-table.data-table-bordered td,
.data-table.data-table-bordered th {
    border-right: 1px solid hsl(var(--border));
}

.data-table.data-table-bordered td:last-child,
.data-table.data-table-bordered th:last-child {
    border-right: none;
}

.table-layout-fixed {
    table-layout: fixed;
}
/*#endregion*/

/*#region data table input*/
.data-table.data-table-input th:has(input.form-control, textarea.form-control, select, .dropdown-menu),
.data-table.data-table-input td:has(input.form-control, textarea.form-control, select, .dropdown-menu) {
    padding: .25rem;
}

.data-table.data-table-input tr:has(td:not(.sl) input:not([readonly]):focus, td:not(.sl) textarea:not([readonly]):focus) td,
.data-table.data-table-input tr:has(input:not([readonly]):focus, textarea:not([readonly]):focus) th {
    background: hsl(var(--accent2)/.1);
}

.data-table.data-table-input td input.form-control,
.data-table.data-table-input td textarea.form-control {
    padding: .25rem;
    border-radius: 0;
    border-color: transparent;
    color: hsl(var(--foreground));
    background: transparent;
}

    .data-table.data-table-input td input.form-control:focus,
    .data-table.data-table-input td textarea.form-control:focus {
        outline: none;
        border-color: hsl(var(--accent2)) !important;
        background: hsl(var(--background)) !important;
    }

.data-table.data-table-input td input[readonly]:focus,
.data-table.data-table-input td textarea[readonly]:focus {
    border-color: transparent;
    box-shadow: unset;
    background: unset !important;
}

.data-table.data-table-input td .input-group-text {
    background-color: transparent;
    border-color: transparent;
}

.data-table-input .mselect .mselect-header {
    border-color: transparent;
}

.mselect .mselect-header.mselect-header-active {
    border-color: hsl(var(--accent2)/.4);
    box-shadow: 0 0 7px hsl(var(--accent2)/.4);
}

.mtag-content:has(.mtag-typer:focus) {
    border-color: hsl(var(--accent2)/.4);
    box-shadow: 0 0 7px hsl(var(--accent2)/.4);
}

input.empty-hl:not(.placeholder)::placeholder,
textarea.empty-hl:not(.placeholder)::placeholder {
    color: transparent;
    opacity: 0;
}

input.empty-hl:not(.tt-hint),
textarea.empty-hl:not(.tt-hint) {
    background-color: hsl(var(--success)/.1) !important;
}

input.empty-hl:placeholder-shown:not(.tt-hint),
textarea.empty-hl:placeholder-shown:not(.tt-hint) {
    background-color: hsl(var(--destructive)/.1) !important;
}

input.empty-hl.tt-hint,
textarea.empty-hl.tt-hint {
    background-color: transparent !important;
}

.mselect-container:has(select.empty-hl) .mselect-header:has(.mselect-header-content:empty),
.mselect-container:has(select.empty-hl) .mselect-header:has(.mselect-header-placeholder) {
    background-color: hsl(var(--destructive)/.1)
}

.mselect-container:has(select.empty-hl) .mselect-header {
    background-color: hsl(var(--success)/.1)
}

/*#endregion*/

/*#region custom paging*/
.pagination {
    gap: .15rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
    padding: 0;
    margin-left: 0;
    line-height: 1;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    border: none;
    border-radius: .25rem;
}

.page-item.active .page-link {
    z-index: 1;
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .045);
}

.page-link:hover {
    color: hsl(var(--foreground));
    background-color: hsl(var(--muted));
}

.page-link:focus {
    box-shadow: 0 0 0 .1rem hsl(var(--border));
}
/*#endregion*/

/*#region progress bar*/
.progress {
    margin-bottom: 10px;
    height: 7px
}

.progress-bar {
    background-color: hsl(var(--primary));
}
/*#endregion*/

/*#region page loading*/
.page-loading {
    background-color: #fff;
    content: "";
    height: 100%;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 2147483647
}

    .page-loading > img {
        left: 50%;
        position: absolute;
        top: 50%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        -o-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%)
    }
/*#endregion*/

/*#region mCustom Scrollbox*/
.m-scroll-top {
    /*bottom: 15px;*/
    right: 10px;
    z-index: 999 !important
}

.mCustomScrollBox.mCS-minimal + .mCSB_scrollTools + .mCSB_scrollTools.mCSB_scrollTools_horizontal, .mCustomScrollBox.mCS-minimal + .mCSB_scrollTools.mCSB_scrollTools_horizontal, .mCustomScrollBox.mCS-minimal-dark + .mCSB_scrollTools + .mCSB_scrollTools.mCSB_scrollTools_horizontal, .mCustomScrollBox.mCS-minimal-dark + .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    margin: -5px 9px;
}

.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar {
    height: 8px;
}

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: 8px;
}

.mCSB_scrollTools .mCSB_draggerContainer {
    top: -3px;
}
/*#endregion*/

/*#region modal*/
.modal .modal-content {
    color: hsl(var(--foreground));
}

    .modal .modal-content .modal-header,
    .modal .modal-content .modal-body,
    .modal .modal-content .modal-footer {
        padding: 16px 24px;
    }

    .modal .modal-content .modal-body {
        overflow: auto;
        max-height: 75vh
    }

.modal-header .close {
    padding: 0;
    margin: .25rem 0 0 auto;
}

.modal .modal-content .modal-header .modal-title {
    color: hsl(var(--foreground));
}

.modal .modal-content .modal-header .modal-title {
    font-size: 1.125rem;
}
/*#endregion*/

/*#region m-card-profile*/
.m-card-user.m-card-user--skin-dark .m-card-user__details .m-card-user__name {
    color: #fff
}

.m-card-profile .m-card-profile__pic .m-card-profile__pic-wrapper {
    -webkit-border-radius: unset;
    -moz-border-radius: unset;
    -ms-border-radius: unset;
    -o-border-radius: unset;
    border-radius: unset;
    border: 1px solid #ccc;
    max-width: 65%
}

.m-card-profile .m-card-profile__pic img {
    max-width: 100% !important;
    width: auto;
    object-fit: cover;
}

.profile-photo {
    display: table-cell;
    vertical-align: middle;
    border: 1px solid #e6e8ef;
    width: 113px;
    height: 115px;
    float: left;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    position: relative;
}
/*#endregion*/

/*#region datepicker*/
input[type="date"]::-webkit-inner-spin-button, input[type="date"]::-webkit-calendar-picker-indicator {
    margin-left: 0px;
}

input.datepicker {
    width: 100%
}

.date-container {
    position: relative;
    float: left;
}

    .date-container .date-icon {
        position: absolute;
        top: 7px;
        right: 10px;
        cursor: pointer;
        color: #aaa;
    }

.datepicker tbody tr > td.day {
    color: hsl(var(--foreground));
}

.day.day-sunday, .day.day-holiday {
    background: #ffc0c0 !important;
}

.day.day-saturday {
    background: #c0d0ff !important;
}

.datepicker table {
    border-collapse: inherit;
}

.datepicker tbody tr > td.day.active,
.datepicker tbody tr > td.day.active:hover,
.datepicker tbody tr > td.day.selected,
.datepicker tbody tr > td.day.selected:hover {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.datepicker tbody tr > td.day.today {
    background: hsl(var(--muted)/.6);
    color: hsl(var(--foreground));
}
/*#endregion*/

/*#region m-list-badge*/
.m-list-badge .m-list-badge__items a.m-list-badge__item:hover {
    color: #fff !important;
    background-color: var(--root--color-info) !important
}

.m-list-badge.m-list-badge--light-bg .m-list-badge__items .m-list-badge__item {
    border: 1px solid var(--root--color-info)
}

.m-list-badge .m-list-badge__items .m-list-badge__item {
    color: var(--root--color-info)
}
/*#endregion*/

/*#region spinner and area-loader*/
.area-loading {
    position: relative;
}

.spinner-border {
    border: 5px solid #ffffff;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 2rem;
    height: 2rem;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
}

.spinner-border2 {
    width: 7rem;
    height: 15px;
    border-radius: 20px;
    background: repeating-linear-gradient(135deg,#f03355 0 10px,#ffa516 0 20px) 0/0% no-repeat, repeating-linear-gradient(135deg,#ddd 0 10px,#eee 0 20px) 0/100%;
    animation: l3 2s infinite;
    position: absolute;
    top: 50%;
    left: 50%;
}

@keyframes l3 {
    100% {
        background-size: 100%
    }
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*#endregion*/

/*#region common loading*/
.common-loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0,0,0,.2);
    top: 0;
    left: 0;
    display: none
}

.common-loading-item {
    width: 100%;
    height: 100%;
    z-index: 1000;
    min-height: 100px;
    top: 0;
    left: 0;
    display: none;
    position: absolute
}

    .common-loading-item .lds-css {
        position: absolute;
        width: 100px;
        height: 100px;
        left: calc(50% - 50px);
    }

    .common-loading-item .lds-ripple {
        position: relative
    }

        .common-loading-item .lds-ripple div {
            box-sizing: content-box;
            position: absolute;
            border-width: 4px;
            border-style: solid;
            opacity: 1;
            border-radius: 50%;
            -webkit-animation: lds-ripple 2s cubic-bezier(0,0.2,0.8,1) infinite;
            animation: lds-ripple 2s cubic-bezier(0,0.2,0.8,1) infinite
        }

            .common-loading-item .lds-ripple div:nth-child(1) {
                border-color: #f39c13
            }

            .common-loading-item .lds-ripple div:nth-child(2) {
                border-color: #e79300;
                -webkit-animation-delay: -1s;
                animation-delay: -1s
            }

    .common-loading-item .lds-ripple {
        width: 100px !important;
        height: 100px !important;
        -webkit-transform: translate(-50px,-50px) scale(0.5) translate(50px,50px);
        transform: translate(-50px,-50px) scale(0.5) translate(50px,50px)
    }
/*#endregion*/

/*#region m-tab*/
.nav.nav-pills .nav-item, .nav.nav-tabs .nav-item {
    margin-left: 0;
}

.nav.nav-pills .nav-link {
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
}

    .nav.nav-pills .nav-link.active {
        color: hsl(var(--primary));
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: hsl(var(--primary));
    background-color: hsl(var(--secondary)/.8);
    border-color: hsl(var(--border));
}


.nav.nav-pills.track-style {
    padding: .35rem;
    border-radius: 4px;
    background: hsl(var(--muted)/.6);
}

    .nav.nav-pills.track-style .nav-link {
        color: hsl(var(--muted-foreground));
        border: 1px solid;
        border-color: transparent;
    }

        .nav.nav-pills.track-style .nav-link.active {
            background: hsl(var(--background));
            color: hsl(var(--foreground));
            border-color: hsl(var(--border));
            box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .045);
        }


.nav.nav-pills.line-style .nav-link {
    padding: .25rem;
    border-radius: 0;
}

.nav.nav-pills.line-style.nav-pills .nav-link.active,
.nav.nav-pills.line-style.nav-pills .show > .nav-link {
    background: transparent;
    color: hsl(var(--foreground));
    border-color: transparent transparent hsl(var(--primary)) transparent;
}

.m-tabs-line.m-tabs-line--primary a.m-tabs__link.active, .m-tabs-line.m-tabs-line--primary a.m-tabs__link:hover, .m-tabs-line.m-tabs-line--primary.nav.nav-tabs .nav-link.active, .m-tabs-line.m-tabs-line--primary.nav.nav-tabs .nav-link:hover {
    color: hsl(var(--primary)) !important;
    border-bottom: 1px solid hsl(var(--primary)) !important
}

    .m-tabs-line.m-tabs-line--primary a.m-tabs__link.active > i, .m-tabs-line.m-tabs-line--primary a.m-tabs__link:hover > i, .m-tabs-line.m-tabs-line--primary.nav.nav-tabs .nav-link.active > i, .m-tabs-line.m-tabs-line--primary.nav.nav-tabs .nav-link:hover > i {
        color: hsl(var(--primary)) !important
    }

.m-tabs__link i {
    vertical-align: baseline !important;
}
/*#endregion*/

/*#region bootbox custom*/
.bootbox-close-button:focus {
    outline: none !important;
}

.bootbox-prompt .modal-header {
    display: block;
}

.bootbox-input.bootbox-input-checkbox {
    vertical-align: middle;
    margin-right: 5px;
}

.bootbox .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bootbox .modal-title {
    order: 1; /* Title comes first */
    flex-grow: 1;
}

.bootbox .modal-header .close {
    order: 2; /* Close button comes after */
    margin-left: auto; /* Push to the right */
}
/*#endregion*/

/*#region accordion*/
.m-accordion {
    font-size: .875rem !important;
}

    .m-accordion .m-accordion__item .m-accordion__item-head {
        padding: .75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .m-accordion .m-accordion__item .m-accordion__item-head .m-accordion__item-title {
            font-size: .875rem;
        }

        .m-accordion .m-accordion__item .m-accordion__item-head.collapsed .m-accordion__item-mode:before {
            content: "\f107";
            font-family: "FontAwesome"
        }

        .m-accordion .m-accordion__item .m-accordion__item-head .m-accordion__item-mode:before {
            content: "\f106";
            font-family: "FontAwesome"
        }

    .m-accordion .m-accordion__item .m-accordion__item-body .m-accordion__item-content, .m-accordion .m-accordion__item .m-accordion__item-body > span {
        padding: .75rem 2rem;
    }

    .m-accordion.m-accordion--solid .m-accordion__item .m-accordion__item-head.collapsed {
        background-color: hsl(var(--secondary));
        color: hsl(var(--secondary-foreground));
    }

    .m-accordion.m-accordion--solid .m-accordion__item .m-accordion__item-head, .m-accordion.m-accordion--solid .m-accordion__item .m-accordion__item-head:hover {
        background-color: hsl(var(--secondary));
        color: hsl(var(--secondary-foreground));
    }

    .m-accordion.m-accordion--bordered .m-accordion__item, .m-accordion.m-accordion--default .m-accordion__item {
        border: 1px solid hsl(var(--border));
        background-color: hsl(var(--background));
    }
/*#endregion*/

/*#region box notif*/
.notification-box-content {
    width: 400px;
    max-width: calc(100vw - 2rem);
    max-height: 50vh;
    overflow: auto;
}

.notif-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

    .notif-list .notif-item-redirect {
        color: hsl(var(--foreground));
        text-decoration: none;
    }

    .notif-list .notif-item {
        border-bottom: 1px solid hsl(var(--border));
    }

        .notif-list .notif-item:hover {
            background: hsl(var(--muted));
        }

.notif-item .read-status-icon i {
    font-size: .5rem;
}

.notif-item .notif-heading {
    font-weight: 500;
}

.notif-item .notif-body {
    color: hsl(var(--primary)/80%)
}

.notif-item.read .notif-heading {
    font-weight: 400;
}

.notif-item.read .read-status-icon i {
    display: none
}

.notif-item.read .alert-type-icon i {
    color: hsl(var(--muted-foreground)/40%) !important;
}
/*#endregion*/

/*#region custom dropdown*/
/*.btn.dropdown-toggle:after, .nav-link.dropdown-toggle:after {
    content: "";
}*/

.dropdown-menu > .dropdown-item > i, .dropdown-menu > li > a > i {
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
    margin-right: 0;
    position: relative;
    top: 0;
}

.dropdown-menu {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    font-size: 0.875rem;
    border-radius: var(--radius);
}

    .dropdown-menu .dropdown-item {
        color: hsl(var(--foreground));
        padding: .5rem;
        border-radius: .25rem;
    }

        .dropdown-menu .dropdown-item:hover {
            background: hsl(var(--muted)/.4);
        }

    .dropdown-menu > .dropdown-item > i, .dropdown-menu > li > a > i {
        color: hsl(var(--foreground));
    }
/*#endregion*/

/*#region breadcrumb custom*/
.breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.breadcrumb-item {
    display: none;
}

    .breadcrumb-item a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        display: none;
        content: "\f105";
        font-family: FontAwesome;
    }

    .breadcrumb-item span {
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 200px;
    }

    .breadcrumb-item.active {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: hsl(var(--foreground));
    }

@media (min-width: 1025px) {
    .breadcrumb-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .breadcrumb-item + .breadcrumb-item::before {
            display: inline-block;
        }
}
/*#endregion*/

/*#region m-content*/
.m-body.minimized {
    padding-left: 0 !important;
}

.m-body .m-content {
    padding: 18px 20px;
}
/*#endregion*/

/*#region main header and navigation*/
.m-header--fixed .m-body {
    padding-top: 44px !important;
}

#main-header {
    position: fixed;
    inset: 0;
    z-index: 99;
    height: 2.75rem;
    display: flex;
    align-items: center;
}

    #main-header .main-navigation {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 1;
        height: 100%;
        padding: .5rem 1rem .5rem .5rem;
        border-bottom: 1px solid hsl(var(--sidebar-border));
        background-color: hsl(var(--background));
    }

    #main-header .main-brand {
        width: 0;
        overflow: hidden;
        height: 100%;
        background-color: hsl(var(--sidebar-background));
        transition: width .3s ease;
    }

        #main-header .main-brand.minimized {
            width: 0;
            transform: scale(0);
            padding: .5rem 0;
            border-right: none;
        }

        #main-header .main-brand .main-brand-logo-wrapper {
            width: 2rem;
            height: 2rem;
            border-radius: var(--radius);
        }

            #main-header .main-brand .main-brand-logo-wrapper img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

.topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .topbar .user-account-toggle {
        background: hsl(var(--background));
        border: none;
        padding: 0;
        outline: none !important;
        cursor: pointer;
    }

        .topbar .user-account-toggle:hover {
            background: hsl(var(--muted));
        }

    .topbar .avatar-wrapper {
        display: inline-block;
        width: 28px;
        height: 28px;
    }

        .topbar .avatar-wrapper img {
            width: 100%;
            height: auto;
            max-height: 100%;
            object-fit: fill;
        }

    .topbar .dropdown-toggle::after {
        display: none;
    }

    .topbar .topbar-notif {
        position: relative;
    }

    .topbar .topbar-notif-counter {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        background: hsl(var(--destructive));
        color: hsl(var(--destructive-foreground));
        border: 1px solid hsl(var(--background));
        border-radius: 50%;
        width: 1rem;
        height: 1rem;
    }

    .topbar .dropdown-menu {
        min-width: 230px;
    }

.sidebar-toggler {
    display: none;
    position: relative;
}

    .sidebar-toggler i::before {
        content: "\f100";
    }

    .sidebar-toggler.minimized i::before {
        content: "\f0c9";
    }

    .sidebar-toggler.minimized::before {
        content: "";
        position: absolute;
        display: none;
        top: 2px;
        right: 0;
        width: .5rem;
        height: .5rem;
        border-radius: 50%;
        background: hsl(var(--accent));
        border: 2px solid hsl(var(--background));
        box-sizing: content-box;
    }

.sidebar-toggler-mobile {
    display: inline-flex;
}

.sidebar-close-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    padding: 3px;
}

@media (min-width: 1025px) {
    #main-header .main-brand {
        width: var(--sidebar-width);
        border-right: 1px solid hsl(var(--sidebar-border));
        padding: .5rem;
    }

    .sidebar-toggler {
        display: inline-flex;
    }

    .sidebar-toggler-mobile {
        display: none;
    }

    .sidebar-close-btn {
        display: none;
    }
}
/*#endregion*/

/*#region m-aside*/
.m-aside-left {
    left: -999px;
    width: var(--sidebar-width) !important;
    max-height: 100vh;
    overflow: auto;
    transition: left .3s ease;
}

    .m-aside-left.minimized {
        left: calc(var(--sidebar-width) * -1);
    }

    .m-aside-left.show {
        left: 0;
    }

.m-aside-left {
    background-color: hsl(var(--sidebar-background));
    border: 1px solid hsl(var(--sidebar-border));
    border-top: none;
}

.m-aside-menu {
    color: hsl(var(--sidebar-foreground));
    font-size: 0.875rem;
}

    .m-aside-menu * {
        font-size: 0.875rem !important;
    }

    .m-aside-menu .m-menu__nav {
        display: flex;
        flex-direction: column;
        gap: .25rem;
        padding: 8px;
    }

@media (max-width: 1024px) {
    .m-aside-left {
        left: calc(var(--sidebar-width) * -1);
    }
}
/*main menu*/
.m-aside-menu .m-menu__nav .m-menu__item > .m-menu__heading, .m-aside-menu .m-menu__nav .m-menu__item > .m-menu__link {
    display: flex;
    align-items: center;
    gap: 0 0.5rem;
    table-layout: auto;
    padding: .5rem;
    height: auto;
    color: hsl(var(--sidebar-foreground));
    font-size: 0.8125rem;
    border-radius: var(--radius);
}

.m-aside-menu .m-menu__nav > .m-menu__item > .m-menu__link .m-menu__link-icon {
    width: 1rem;
    font-size: 1rem !important;
    color: hsl(var(--sidebar-foreground));
}

.m-aside-menu .m-menu__nav .m-menu__item > .m-menu__link:hover {
    color: hsl(var(--sidebar-accent-foreground));
    background-color: hsl(var(--sidebar-accent));
}

/*sub menu*/
.m-aside-menu .m-menu__nav .m-menu__subnav {
    width: unset;
    margin: 0 15px;
    padding: 0 .5rem;
    border-left: 1px solid hsl(var(--sidebar-border));
}

.m-aside-menu .m-menu__nav > .m-menu__item > .m-menu__submenu .m-menu__subnav > .m-menu__item > .m-menu__link,
.m-menu__item.active,
.m-menu__item m-menu__item--active {
    height: auto;
    padding: .5rem;
    border-radius: var(--radius);
}

.m-aside-menu .m-menu__nav > .m-menu__item .m-menu__submenu .m-menu__item.m-menu__item--active > .m-menu__link,
.m-menu__item.active,
.m-menu__item m-menu__item--active {
    color: hsl(var(--sidebar-accent-foreground));
    background-color: hsl(var(--sidebar-accent));
}

.body-overlay {
    display: none;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    background-color: hsl(var(--background)/90%);
    overflow-x: hidden;
    transition: 0.5s;
}

    .body-overlay.enabled {
        display: initial;
    }

@media (min-width: 1025px) {
    .m-aside-left--fixed .m-body {
        padding-left: var(--sidebar-width);
    }

    .m-aside-left--fixed.m-header--fixed .m-aside-left, .m-aside-left--fixed.m-header--static .m-aside-left {
        top: 2.75rem;
    }

    .m-aside-menu .m-menu__item--open .m-menu__toggle {
        color: hsl(var(--sidebar-accent-foreground));
    }

    .m-aside-menu .m-menu__item--open.m-menu__item--single .m-menu__link {
        color: hsl(var(--sidebar-accent-foreground));
        background-color: hsl(var(--sidebar-accent));
    }

    .m-aside-left.minimized {
        left: calc(var(--sidebar-width) * -1);
    }
}

/*#endregion*/

/*#region lds*/
.lds-css {
    position: absolute;
    width: 100px;
    height: 100px;
    left: calc(50% - 50px);
    top: calc(50% - 50px)
}

@keyframes lds-ripple {
    0% {
        top: 96px;
        left: 96px;
        width: 0;
        height: 0;
        opacity: 1
    }

    100% {
        top: 18px;
        left: 18px;
        width: 156px;
        height: 156px;
        opacity: 0
    }
}

@-webkit-keyframes lds-ripple {
    0% {
        top: 96px;
        left: 96px;
        width: 0;
        height: 0;
        opacity: 1
    }

    100% {
        top: 18px;
        left: 18px;
        width: 156px;
        height: 156px;
        opacity: 0
    }
}


.lds-ripple {
    position: relative
}

    .lds-ripple div {
        box-sizing: content-box;
        position: absolute;
        border-width: 4px;
        border-style: solid;
        opacity: 1;
        border-radius: 50%;
        -webkit-animation: lds-ripple 2s cubic-bezier(0,0.2,0.8,1) infinite;
        animation: lds-ripple 2s cubic-bezier(0,0.2,0.8,1) infinite
    }

        .lds-ripple div:nth-child(1) {
            border-color: #f39c13
        }

        .lds-ripple div:nth-child(2) {
            border-color: #e79300;
            -webkit-animation-delay: -1s;
            animation-delay: -1s
        }

.lds-ripple {
    width: 100px !important;
    height: 100px !important;
    -webkit-transform: translate(-50px,-50px) scale(0.5) translate(50px,50px);
    transform: translate(-50px,-50px) scale(0.5) translate(50px,50px)
}
/*#endregion*/

/*#region floating cs*/
.floating-cs {
    position: fixed;
    bottom: 50px;
    width: 100%;
    background-color: #fff;
    padding: 10px;
    z-index: 99;
    padding-right: 120px;
    padding-top: unset;
    margin-left: -15px;
}

    .floating-cs .m-datatable.m-datatable--default > .m-datatable__pager {
        margin-top: 0;
    }

        .floating-cs .m-datatable.m-datatable--default > .m-datatable__pager > .m-datatable__pager-info {
            margin-top: 15px;
        }

.floating-error-focus, .floating-error-focus:focus {
    border: 2px solid red !important;
}
/*#endregion*/

/*#region sk loading*/
.sk-loading * {
    opacity: 0;
}

.sk-loading {
    position: relative;
    background-color: #e1e1e1 !important;
    overflow: hidden;
}

    .sk-loading::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        background-image: linear-gradient( to right, rgba(255, 255, 255, 0.5), transparent );
        animation: kf-sk-loading 1s infinite;
    }

@keyframes kf-sk-loading {
    100% {
        transform: translateX(100%);
    }
}
/*#endregion*/

/*#region utility*/
h1 {
    font-size: 1.5rem;
    line-height: 1.5
}

h2 {
    font-size: 1.25rem;
    line-height: 1.5
}

h3 {
    font-size: 1rem;
    line-height: 1.5
}

h4 {
    font-size: 0.75rem;
    line-height: 1.5
}

h5 {
    font-size: 0.625rem;
    line-height: 1.5
}

h6 {
    font-size: 0.5rem;
    line-height: 1.5
}

label {
    font-size: .875rem
}

a {
    color: hsl(var(--muted-foreground));
}

    a:hover {
        color: hsl(var(--foreground));
    }

.text-decoration-none {
    text-decoration: none !important;
}

[class*=" fa-"], [class^=fa-] {
    font-size: 1rem;
}

[class*=" la-"], [class^=la-] {
    font-size: 1.2rem;
}

.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: .25rem;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 3rem;
}

.row-gap-0 {
    row-gap: 0;
}

.row-gap-1 {
    row-gap: .25rem;
}

.row-gap-2 {
    row-gap: .5rem;
}

.row-gap-3 {
    row-gap: 1rem;
}

.row-gap-4 {
    row-gap: 1.5rem;
}

.row-gap-5 {
    row-gap: 3rem;
}

.col-gap-0 {
    column-gap: 0;
}

.col-gap-1 {
    column-gap: .25rem;
}

.col-gap-2 {
    column-gap: .5rem;
}

.col-gap-3 {
    column-gap: 1rem;
}

.col-gap-4 {
    column-gap: 1.5rem;
}

.col-gap-5 {
    column-gap: 3rem;
}

.top-0 {
    top: 0;
}

.top-1 {
    top: .25rem;
}

.top-2 {
    top: .5rem;
}

.top-3 {
    top: 1rem;
}

.top-4 {
    top: 1.5rem;
}

.top-5 {
    top: 3rem;
}

.left-0 {
    left: 0;
}

.left-1 {
    left: .25rem;
}

.left-2 {
    left: .5rem;
}

.left-3 {
    left: 1rem;
}

.left-4 {
    left: 1.5rem;
}

.left-5 {
    left: 3rem;
}

.right-0 {
    right: 0;
}

.right-1 {
    right: .25rem;
}

.right-2 {
    right: .5rem;
}

.right-3 {
    right: 1rem;
}

.right-4 {
    right: 1.5rem;
}

.right-5 {
    right: 3rem;
}

.bottom-0 {
    bottom: 0;
}

.bottom-1 {
    bottom: .25rem;
}

.bottom-2 {
    bottom: .5rem;
}

.bottom-3 {
    bottom: 1rem;
}

.bottom-4 {
    bottom: 1.5rem;
}

.bottom-5 {
    bottom: 3rem;
}

.width-max-content {
    width: max-content;
}

.width-fit-content {
    width: max-content;
}

.w-full {
    width: 100%;
}

.w-1rem {
    width: 1rem;
}

.w-2rem {
    width: 2rem;
}

.w-4rem {
    width: 4rem;
}

.h-full {
    height: 100%;
}

.h-1rem {
    height: 1rem;
}

.h-2rem {
    height: 2rem;
}

.h-4rem {
    height: 4rem;
}

.w-screen {
    width: 100vw;
}

.h-screen {
    height: 100vh;
}

/* Utility Classes for Max Widths */
.max-width-250 {
    max-width: 250px;
}

.max-width-350 {
    max-width: 350px;
}

.max-width-400 {
    max-width: 400px;
}

.max-width-440 {
    max-width: 440px;
}

.max-width-600 {
    max-width: 600px;
}

.max-width-640 {
    max-width: 640px;
}

.max-width-760 {
    max-width: 760px;
}

.max-width-768 {
    max-width: 768px;
}

.max-width-800 {
    max-width: 800px;
}

.max-width-860 {
    max-width: 860px;
}

.max-width-816 {
    max-width: 816px;
}

.max-width-832 {
    max-width: 832px;
}

.max-width-960 {
    max-width: 960px;
}

.max-width-1080 {
    max-width: 1080px;
}

.max-width-1200 {
    max-width: 1200px;
}

.max-width-1440 {
    max-width: 1440px;
}

.max-width-1600 {
    max-width: 1600px;
}

.max-width-fit {
    max-width: fit-content
}

/* Utility Classes for Min Widths */
.min-width-320 {
    min-width: 320px;
}

.min-width-480 {
    min-width: 480px;
}

.min-width-768 {
    min-width: 768px;
}

.min-width-1024 {
    min-width: 1024px;
}

.min-width-1200 {
    min-width: 1200px;
}

.min-width-1440 {
    min-width: 1440px;
}

.min-width-1920 {
    min-width: 1920px;
}

.min-width-400 {
    min-width: 400px;
}

.min-width-600 {
    min-width: 600px;
}

.min-width-800 {
    min-width: 800px;
}

.min-width-960 {
    min-width: 960px;
}

.min-width-120 {
    min-width: 120px;
}

.min-width-250 {
    min-width: 250px;
}

.min-width-350 {
    min-width: 350px;
}

.min-width-640 {
    min-width: 640px;
}

.min-width-1080 {
    min-width: 1080px;
}

.min-width-1600 {
    min-width: 1600px;
}

.min-width-16 {
    min-width: 16px;
}

.min-width-20 {
    min-width: 20px;
}

.min-width-fit {
    min-width: fit-content;
}

.hidden {
    display: none !important;
}

.pointer {
    cursor: pointer;
}

.bg-main {
    background: hsl(var(--background)) !important;
}

.bg-muted {
    background: hsl(var(--muted)) !important;
}

.bg-light {
    background: hsl(var(--light)) !important;
}

.bg-secondary {
    background: hsl(var(--secondary)) !important;
}

.bg-primary { background: hsl(var(--primary)) !important; }
.bg-light-primary { background: hsl(var(--primary)/.1) !important; }

.bg-info {
    background: hsl(var(--info)) !important;
}

.bg-light-info {
    background: hsl(var(--info)/.1) !important;
}

.bg-success {
    background: hsl(var(--success)) !important;
}
.bg-success2 {
    background: hsl(var(--success)/.5);
}

.bg-light-success {
    background: hsl(var(--success)/.1) !important;
}

.bg-warning {
    background: hsl(var(--warning)) !important;
}

.bg-warning2 {
    background: hsl(var(--warning)/.3) !important;
}

.bg-light-warning {
    background: hsl(var(--warning)/.1) !important;
}

.bg-danger {
    background: hsl(var(--destructive)) !important
}

.bg-light-danger {
    background: hsl(var(--destructive)/.1) !important
}
.bg-danger2 {
    background: hsl(var(--destructive)/.1);
}

.bg-accent {
    background: hsl(var(--accent)) !important
}

.bg-accent2 {
    background: hsl(var(--accent2)) !important
}

.bg-light-accent2 {
    background: hsl(var(--accent2)/.1) !important
}

.text-light {
    color: hsl(var(--light)) !important
}


.text-foreground {
    color: hsl(var(--foreground)) !important
}

.text-light-foreground {
    color: hsl(var(--foreground)/.8) !important
}

.text-primary {
    color: hsl(var(--primary)) !important;
}

.text-primary2 {
    color: hsl(var(--primary)/.2) !important;
}

.text-primary-foreground {
    color: hsl(var(--primary-foreground)) !important
}

.text-secondary {
    color: hsl(var(--secondary)) !important;
}

.text-danger {
    color: hsl(var(--destructive)) !important;
}

.text-accent {
    color: hsl(var(--accent)) !important;
}

.text-accent2 {
    color: hsl(var(--accent2)) !important;
}

.text-accent-foreground {
    color: hsl(var(--accent-foreground)) !important
}

.text-muted {
    color: hsl(var(--muted-foreground)) !important;
}

.text-success {
    color: hsl(var(--success)) !important;
}

.text-success-foreground {
    color: hsl(var(--success-foreground)) !important;
}

.text-info {
    color: hsl(var(--info)) !important;
}

.text-info-foreground {
    color: hsl(var(--info-foreground)) !important
}


.text-hover-primary:hover {
    color: hsl(var(--primary)) !important
}

.border { border: 1px solid hsl(var(--border)) !important; }
.border-dotted { border-style: dotted !important; }
.border-dashed { border-style: dashed !important;}

.border-accent { border: 1px solid hsl(var(--accent)) !important }
.border-accent2 { border: 1px solid hsl(var(--accent2)) !important }

.border-info { border-color: hsl(var(--info)) !important }
.border-light-info { border-color: hsl(var(--info)/.6) !important }
.border-warning { border-color: hsl(var(--warning)) !important; }
.border-danger { border-color: hsl(var(--destructive)) !important }
.border-primary { border-color: hsl(var(--primary)) !important }
.border-success { border-color: hsl(var(--success)) !important }

.border-radius-0 { border-radius: 0 }

.hover-danger:hover {
    background: hsl(var(--destructive)) !important;
    color: hsl(var(--destructive-foreground)) !important
}

.hover-light-danger:hover {
    background: hsl(var(--destructive)/.2) !important;
    color: hsl(var(--destructive)) !important
}

.hover-light-success:hover {
    background: hsl(var(--success)/.2) !important;
    color: hsl(var(--success)) !important
}


.bg-muted-fade {
    animation: bg-muted-fade 1s linear infinite alternate;
}

@keyframes bg-muted-fade {
    0% {
        background-color: hsl(var(--muted)/.1);
    }

    100% {
        background-color: hsl(var(--muted)/.8);
    }
}

.small {
    font-size: small !important;
}

.text-xlg {
    font-size: 1.25rem !important;
}

.text-lg {
    font-size: 1.125rem !important;
}

.text-md {
    font-size: 1rem !important;
}

.text-sm {
    font-size: .875rem !important;
    line-height: 1.25rem !important;
}

.text-xsm {
    font-size: .75rem !important;
    line-height: 1.125rem !important;
}

.text-bold {
    font-weight: 500;
}

.text-bolder {
    font-weight: bold;
}

.text-wrap {
    white-space: pre-wrap;
    word-break: break-all;
}

a.text-primary:focus, a.text-primary:hover {
    color: unset !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .045) !important;
}

.shadow {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important;
}




.grid-fill[data-grid-width],
.grid-fit[data-grid-width] {
    --grid-item-width: attr(data-grid-width px);
}

.grid-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--grid-item-width, 400px)), 1fr));
}

.grid-fit {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--grid-item-width, 400px)), 1fr));
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

.aspect-16-9 {
    aspect-ratio: 16 / 9;
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-1-1 {
    aspect-ratio: 1 / 1;
}

.aspect-3-2 {
    aspect-ratio: 3 / 2;
}

.aspect-21-9 {
    aspect-ratio: 21 / 9;
}

.aspect-9-16 {
    aspect-ratio: 9 / 16;
}

.aspect-2-3 {
    aspect-ratio: 2 / 3;
}

.vertical-align-top {
    vertical-align: top
}

.vertical-align-middle {
    vertical-align: middle
}

.vertical-align-bottom {
    vertical-align: bottom
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-1 {
    flex: 1
}

.price-highlight {
    color: hsl(var(--accent2));
}

.z-index-1 {
    z-index: 1
}

@media (max-width: 1400px) {
}

/*#endregion*/

