html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    /*background-color: white;*/
    min-height: 100%;
    font-family: Nunito, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile devices */
}

body:not(.mobile-pwa-layout) .badge:is(button, a, [role="button"], [onclick]) {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: inline-block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: var(--mdb-badge-padding-y) var(--mdb-badge-padding-x) !important;
    line-height: 1.35 !important;
    vertical-align: baseline;
}

body:not(.mobile-pwa-layout) .badge:is(button, a, [role="button"], [onclick]) {
    align-items: center;
    display: inline-flex !important;
    gap: .25rem;
    justify-content: center;
    line-height: 1.35 !important;
    vertical-align: middle;
}

body:not(.mobile-pwa-layout) .badge:is(button, a, [role="button"], [onclick]) .icon {
    line-height: 1;
}

/*New Class*/
/*.index-home-background {
    background-color: transparent;
}*/
.index-home-background {
    background-color: rgba(255, 255, 255, 0.5) !important; /* White background with 50% transparency */
}

.flex-wrapper-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.flex-wrapper-vertical {
    margin-top: 50px;
    min-height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1
}

.app-shell-container {
    max-width: calc(100% - 1rem);
}

@media (min-width: 992px) {
    .app-shell-container {
        max-width: calc(100% - 1.25rem);
    }
}

@media (min-width: 1600px) {
    .app-shell-container {
        max-width: calc(100% - 1.5rem);
    }
}

@media (min-width: 2040px) {
    .app-shell-container {
        max-width: 2000px;
    }
}

.modal .modal-body {
    background-color: var(--mdb-body-bg);
}

.quick-add-estimate-modal {
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
}

.quick-add-estimate-modal .modal-header {
    padding: 1.5rem 1.75rem;
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--mdb-primary), color-mix(in srgb, var(--mdb-primary) 55%, #111827));
}

.quick-add-modal-eyebrow {
    display: block;
    margin-bottom: .25rem;
    color: rgba(255, 255, 255, .78);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.quick-add-modal-subtitle {
    margin: .3rem 0 0;
    color: rgba(255, 255, 255, .82);
}

.quick-add-estimate-modal .modal-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.quick-add-estimate-state {
    min-height: 1.5rem;
    margin-bottom: 1rem;
    color: var(--mdb-secondary-color, #6c757d);
    font-size: .9rem;
}

.quick-add-estimate-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.quick-add-estimate-card,
.quick-add-estimate-card-skeleton {
    aspect-ratio: 1;
    min-width: 0;
    border-radius: 1rem;
}

.quick-add-estimate-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: .3rem;
    padding: .85rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--mdb-primary) 20%, var(--mdb-border-color));
    background: linear-gradient(145deg, var(--mdb-body-bg), color-mix(in srgb, var(--mdb-primary) 8%, var(--mdb-body-bg)));
    color: var(--mdb-body-color);
    text-align: left;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.quick-add-estimate-card:hover,
.quick-add-estimate-card:focus-visible {
    border-color: var(--mdb-primary);
    box-shadow: 0 .75rem 1.5rem color-mix(in srgb, var(--mdb-primary) 18%, transparent);
    outline: 0;
    transform: translateY(-3px);
}

.quick-add-estimate-card-icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: .9rem;
    background: color-mix(in srgb, var(--mdb-primary) 15%, transparent);
    color: var(--mdb-primary);
    font-size: 1.15rem;
}

.quick-add-estimate-card-service {
    width: 100%;
    margin-top: .5rem;
    overflow: hidden;
    color: var(--mdb-body-color);
    font-size: .8rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-add-estimate-card-codes {
    width: 100%;
    overflow: hidden;
    color: var(--mdb-primary);
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-add-estimate-card-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: .3rem .45rem;
    color: var(--mdb-secondary-color, #6c757d);
    font-size: .72rem;
    line-height: 1.15;
}

.quick-add-estimate-card-preview span,
.quick-add-estimate-card-metrics span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-add-estimate-card-preview b,
.quick-add-estimate-card-metrics b {
    color: var(--mdb-body-color);
    font-weight: 800;
}

.quick-add-estimate-card-metrics {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: .3rem .6rem;
    color: var(--mdb-secondary-color, #6c757d);
    font-size: .72rem;
    line-height: 1.15;
}

.quick-add-estimate-card-usage {
    position: absolute;
    top: .6rem;
    right: .6rem;
    padding: .18rem .42rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mdb-primary) 14%, var(--mdb-body-bg));
    color: var(--mdb-primary);
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
}

.quick-add-estimate-card-skeleton {
    border: 1px solid color-mix(in srgb, var(--mdb-border-color) 70%, transparent);
    background: linear-gradient(100deg, color-mix(in srgb, var(--mdb-body-bg) 90%, #adb5bd) 30%, var(--mdb-body-bg) 50%, color-mix(in srgb, var(--mdb-body-bg) 90%, #adb5bd) 70%);
    background-size: 220% 100%;
    animation: quick-add-estimate-shimmer 1.4s linear infinite;
}

.quick-add-estimate-card-skeleton span {
    display: block;
}

@keyframes quick-add-estimate-shimmer {
    to {
        background-position: -220% 0;
    }
}

@media (max-width: 767.98px) {
    .quick-add-estimate-modal .modal-header,
    .quick-add-estimate-modal .modal-body {
        padding: 1rem;
    }

    .quick-add-estimate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .quick-add-estimate-card {
        padding: .7rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .quick-add-estimate-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.first-row {
    margin-top: 80px;
}

.cst-breadcrumb {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cst-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--mdb-secondary-color, var(--mdb-light-dark));
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-size: 0.75rem;
    font-weight: 900;
    opacity: 0.75;
    padding-right: 0.5rem;
}

.cst-breadcrumb-item {
    align-items: center;
    display: inline-flex;
}

.cst-breadcrumb-pill {
    align-items: center;
    background: color-mix(in srgb, var(--mdb-menu-light-dark) 88%, var(--mdb-primary) 12%);
    border: 1px solid color-mix(in srgb, var(--mdb-border-color, #d5d9df) 75%, var(--mdb-primary) 25%);
    border-radius: 999px;
    box-sizing: border-box;
    color: var(--mdb-body-color);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.5rem 0.85rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

a.cst-breadcrumb-pill:hover,
a.cst-breadcrumb-pill:focus {
    background: color-mix(in srgb, var(--mdb-primary) 18%, var(--mdb-menu-light-dark) 82%);
    border-color: color-mix(in srgb, var(--mdb-primary) 40%, var(--mdb-border-color, #d5d9df) 60%);
    color: var(--mdb-primary);
    transform: none;
}

.cst-breadcrumb-item.active .cst-breadcrumb-pill {
    background: var(--mdb-primary);
    border-color: var(--mdb-primary);
    color: #fff;
}

.status-notes {
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

#bgcanvas {
    width: 100%;
    height: stretch;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.bgshape {
    display: block;
    position: absolute;
}

.svg-container {
    position: absolute;
    top: 0px;
    right: 0;
    left: 0;
    width: 100%;
    /*height:stretch;*/
    z-index: -2;
}

.img-rounded {
    border-radius: 10px;
    max-width: 100%;
}

@media (min-width: 768px) {
    .img-rounded {
        border-radius: 10px;
        max-width: 100%;
    }
}

label {
    font-weight: bold;
    color: var(--mdb-light-dark);
}

#map {
    height: 500px;
    width: 96%;
    margin: 15px auto 15px auto;
}

.signature-pad > .signature-pad--body {
    width: 350px;
    height: 200px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: white;
    border-radius: 10px;
    margin: auto;
}

.datatable {
    border-radius: 5px;
}

.datatable-inner {
    border-radius: 5px;
}

#importPOsResultsTableContainer,
.table-responsive:has(> #importPOsResultsTable) {
    max-width: 100%;
    max-height: none !important;
    overflow: visible !important;
}

#importPOsResultsTable .datatable-inner {
    max-width: 100%;
    max-height: 55vh;
    overflow: hidden !important;
}

#importPOsResultsTable .datatable-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}

#importPOsResultsTable .datatable-table th,
#importPOsResultsTable .datatable-table td {
    max-width: none !important;
    overflow: visible;
    text-overflow: clip;
    vertical-align: top;
    white-space: nowrap;
}

#importPOsResultsTable .datatable-table td:last-child {
    min-width: 28rem;
    max-width: 45rem !important;
    overflow-wrap: anywhere;
    white-space: normal;
}

.datatable .priority-cell {
    background-color: rgba(0, 128, 0, 0.3);
}

.datatable .table > :not(caption) > * > .priority-cell {
    background-color: rgba(0, 128, 0, 0.3);
}

.datatable .candidate-cell {
    background-color: rgba(0, 0, 128, 0.3);
}

.datatable .table > :not(caption) > * > .candidate-cell {
    background-color: rgba(0, 0, 128, 0.3);
}

.invoice-item-references-grid {
    overflow-x: auto;
}

.invoice-items-control-panel {
    background: var(--mdb-body-bg);
    border: 1px solid var(--mdb-border-color, #d5d9df);
    border-radius: 5px;
    padding: 1.25rem 1rem 1rem;
}

.invoice-items-control-panel .form-outline,
.invoice-items-control-panel .select-wrapper {
    overflow: visible;
}

.invoice-items-grid-status {
    line-height: 2.25rem;
    min-height: 2.25rem;
}

.invoice-items-table-wrap {
    overflow-x: auto;
}

.invoice-items-datatable-shell {
    background-color: var(--mdb-menu-light-dark);
    border-radius: 5px;
    overflow: hidden;
}

.invoice-items-datatable-shell table,
.invoice-items-datatable-shell .datatable-inner,
.invoice-items-datatable-shell .datatable-table {
    --bs-table-bg: var(--mdb-menu-light-dark);
    --mdb-table-bg: var(--mdb-menu-light-dark);
    background-color: var(--mdb-menu-light-dark);
}

.invoice-items-datatable-shell thead,
.invoice-items-datatable-shell tbody,
.invoice-items-datatable-shell tfoot,
.invoice-items-datatable-shell tr,
.invoice-items-datatable-shell th,
.invoice-items-datatable-shell td {
    background-color: var(--mdb-menu-light-dark);
}

.invoice-items-datatable-shell thead th {
    border-bottom-color: var(--mdb-border-color, #d5d9df);
}

.invoice-items-grid tfoot td,
.invoice-items-grid .invoice-items-totals-row > td {
    border-top: 2px solid var(--mdb-border-color, #d5d9df);
    font-weight: 800;
}

.invoice-items-total-cell {
    align-items: center;
    display: inline-flex;
    gap: 0.3rem;
    justify-content: flex-end;
}

.invoice-items-total-cell b {
    font-variant-numeric: tabular-nums;
}

.invoice-items-page-label {
    margin-top: 20px;
}

.invoice-items-grid table {
    min-width: 1180px;
    width: 100%;
}

.invoice-item-references-grid table {
    min-width: 820px;
    width: 100%;
}

.invoice-items-grid th,
.invoice-items-grid td,
.invoice-item-references-grid th,
.invoice-item-references-grid td {
    padding: 0.35rem 0.45rem !important;
    vertical-align: middle;
}

.invoice-items-grid th,
.invoice-item-references-grid th {
    font-size: 0.82rem;
    white-space: nowrap;
}

.invoice-items-grid td,
.invoice-item-references-grid td {
    white-space: nowrap;
}

.invoice-items-grid [data-mdb-field="Notes"],
.invoice-items-grid [data-mdb-field="Item"],
.invoice-items-grid [data-mdb-field="Service"],
.invoice-item-references-grid td:nth-child(5) {
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.invoice-items-grid [data-mdb-field="Actions"],
.invoice-item-references-grid td:last-child,
.invoice-item-references-grid th:last-child {
    text-align: right;
}

.invoice-items-grid .btn-floating,
.invoice-item-references-grid .btn-floating {
    height: 2rem !important;
    line-height: 2rem;
    min-width: 2rem !important;
    padding: 0;
    width: 2rem !important;
}

.tariff-items-grid {
    border-top: 1px solid var(--mdb-border-color, #dee2e6);
    padding-top: 1rem;
}

.tariff-items-control-panel {
    background: var(--mdb-menu-light-dark);
    border: 1px solid var(--mdb-border-color, #dee2e6);
    border-radius: .5rem;
    padding: 1rem;
}

.tariff-items-disabled {
    opacity: .65;
}

.tariff-items-table-wrap {
    border: 1px solid var(--mdb-border-color, #dee2e6);
    border-radius: .5rem;
    min-height: 12rem;
    overflow: hidden;
}

.tariff-items-table-wrap table,
.tariff-items-table-wrap thead,
.tariff-items-table-wrap tbody,
.tariff-items-table-wrap tr,
.tariff-items-table-wrap th,
.tariff-items-table-wrap td {
    --bs-table-bg: var(--mdb-menu-light-dark);
    --mdb-table-bg: var(--mdb-menu-light-dark);
    background-color: var(--mdb-menu-light-dark);
    color: var(--mdb-body-color);
}

.tariff-items-table-wrap th,
.tariff-items-table-wrap td {
    max-width: 16rem;
    overflow: hidden;
    padding: .55rem .65rem;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.tariff-items-table-wrap thead th {
    border-bottom-color: var(--mdb-border-color, #dee2e6);
    position: sticky;
    top: 0;
    z-index: 1;
}

.tariff-items-grid .btn-floating {
    height: 2rem !important;
    line-height: 2rem;
    min-width: 2rem !important;
    padding: 0;
    width: 2rem !important;
}

.tariff-formula-label {
    display: inline-block;
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.tariff-item-section-title {
    border-bottom: 1px solid var(--mdb-border-color, #dee2e6);
    color: var(--mdb-primary, #3b71ca);
    margin-bottom: .75rem;
    padding-bottom: .35rem;
}

.tariff-item-switches .form-check {
    min-height: 2rem;
}

#tariffFormulaEditor {
    caret-color: currentColor;
    font-size: 1.1rem;
    letter-spacing: .02em;
}

.tariff-calculator-buttons .btn {
    min-width: 0;
}

.tariff-key-grid,
.tariff-variable-grid {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tariff-key-grid .btn,
.tariff-variable-grid .btn {
    min-height: 2.75rem;
}

.tariff-calculator-variables {
    border-left: 1px solid var(--mdb-border-color, #dee2e6);
}

@media (max-width: 991.98px) {
    .tariff-calculator-variables {
        border-left: 0;
        border-top: 1px solid var(--mdb-border-color, #dee2e6);
        padding-top: 1rem;
    }
}
.candidate-list-class {
    background-color: #004963 !important;
    color: #fff !important;
    font-weight: bold;
}

treetable {
    background: var(--mdb-menu-light-dark);
    border-radius: 5px;
}

.treetable-table {
    border-radius: 5px;
}

.sortable-list {
    max-width: 100%;
    border: solid 1px #ccc;
    min-height: 60px;
    display: block;
    background: var(--mdb-menu-light-dark);
    border-radius: 4px;
}

.sortable-item {
    padding: 15px 10px;
    border-bottom: solid 1px #ccc;
    color: var(--mdb-light-dark);
    background: var(--mdb-menu-light-dark);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

/* Color of the navbar AFTER scroll */
.navbar-scrolled {
    background-color: var(--mdb-menu-light-dark);
}

.sidenav-link {
    justify-content: space-between;
}

h2 b {
    color: var(--mdb-primary);
}

h4 b {
    color: var(--mdb-primary);
}

.table th {
    font-weight: 900;
}

.datatable table thead th:has(> .datatable-sort-icon),
.datatable.datatable-sm table thead th:has(> .datatable-sort-icon) {
    padding-left: 1.75rem;
}

.autocomplete-custom-item-title {
    font-weight: 500;
}

.autocomplete-custom-item-subtitle {
    font-size: 0.8rem;
}

.autocomplete-custom-content div {
    padding: 0.5rem;
}

.autocomplete-item {
    padding: 0.5rem;
}

    .autocomplete-item .container {
        padding: 0;
    }

@media (max-width: 991.98px) {
    .select-dropdown-container,
    .autocomplete-dropdown-container {
        left: max(0.75rem, env(safe-area-inset-left)) !important;
        max-width: none !important;
        right: max(0.75rem, env(safe-area-inset-right)) !important;
        width: auto !important;
    }

    .select-dropdown,
    .autocomplete-dropdown {
        width: 100% !important;
    }

    .select-options-wrapper,
    .autocomplete-items-list {
        max-height: min(70vh, 28rem) !important;
        overscroll-behavior: contain;
    }

    .select-dropdown > .input-group {
        padding: 0.75rem !important;
    }

    .select-dropdown .form-control,
    .autocomplete-dropdown .form-control {
        font-size: 1rem;
        min-height: 2.75rem;
    }

    .select-option,
    .select-option-group-label,
    .select-no-results,
    .autocomplete-item {
        font-size: 1rem;
        line-height: 1.35;
        min-height: 3rem;
        padding-bottom: 0.75rem;
        padding-top: 0.75rem;
        white-space: normal;
    }

    .select-option,
    .select-option-group-label,
    .select-no-results {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .autocomplete-item {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .select-option-text .form-check-input {
        flex: 0 0 auto;
        height: 1.25rem;
        margin-right: 0.75rem;
        width: 1.25rem;
    }

    .autocomplete-custom-item-content {
        min-width: 0;
    }

    .autocomplete-custom-content div {
        padding: 0.75rem 1rem;
    }

    .autocomplete-custom-item-title,
    .autocomplete-custom-item-subtitle {
        white-space: normal;
    }
}

.form-outline .form-control ~ .form-label:not(.select-fake-value) {
    color: var(--mdb-light-dark);
    font-weight: bolder;
}

.form-outline .form-control:focus ~ .form-label {
    color: var(--mdb-primary);
    font-weight: bolder;
}

.form-outline .form-control ~ .form-label.select-fake-value {
    color: var(--mdb-input-color);
}

.form-outline {
    margin-top: 0px;
}

.card .file-upload-wrapper {
    border-radius: 5px;
}

.card .file-upload-mask {
    border-radius: 5px;
}

.card .file-upload-preview {
    border-radius: 5px;
}

.card .file-upload-render {
    border-radius: 5px;
}

    .card .file-upload-render img {
        border-radius: 5px;
    }

@-webkit-keyframes fpFadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0,-20px,0);
        transform: translate3d(0,-20px,0)
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0)
    }
}

@keyframes fpFadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0,-20px,0);
        transform: translate3d(0,-20px,0)
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0)
    }
}

/*Here*/
.full-width-container {
    position: relative;
    top: auto;
    margin: 0; /* Remove margins */
    padding: 0; /* Ensure no padding */
    width: calc(100vw - 5px); /* 100% width of the viewport, eliminate extra pixels */
    box-sizing: border-box; /* Include padding and borders in width calculation */
    overflow: hidden; /* Prevent unwanted horizontal scrolling */
}

@media (min-width: 576px) {
    .full-width-container {
        left: calc(((100vw - 540px) / -2)-3px);
    }
}

@media (min-width: 768px) {
    .full-width-container {
        left: calc((100vw - 720px) / -2);
    }
}

@media (min-width: 992px) {
    .full-width-container {
        left: calc((100vw - 960px) / -2);
    }
}

@media (min-width: 1200px) {
    .full-width-container {
        left: calc((100vw - 1140px) / -2);
    }
}

@media (min-width: 1400px) {
    .full-width-container {
        left: calc(calc((100vw - 1320px) / -2) - 8px);
    }
}

@media (max-width: 576px) {
    .hide-mobile {
        height: 0px; /*
        display: none;*/
    }
}

/* CSS */
#menu-title.center-title {
    transition: transform 0.5s ease;
    transform: translateX(25%);
}

.partial-view {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .partial-view.show {
        opacity: 1;
    }

/*New code for Bootstrap*/
/* CSS */
/* Reused from previous column */
.custom-subtitle {
    font-size: 20px;
    color: #444444;
}

.custom-request-demo-button {
    font-size: 1.10rem;
    color: black;
    background-color: #abc12a;
    border-radius: 15px;
    border: none; /* Remove Bootstrap default border */
}

.custom-card {
    max-width: 450px;
    background: linear-gradient(to bottom, rgba(173, 216, 230, 0.15), rgba(173, 216, 230, 0.05));
    border-radius: 20px;
    padding: 25px;
}

.custom-margin-uniform {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.custom-small-card {
    max-width: 350px;
    padding: 20px;
}

.custom-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.custom-card-content {
    background: #ffffff;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    padding-top: 30px;
    flex-grow: 1;
}

.custom-card-text {
    color: #333333;
}

.custom-icon-image {
    height: 45px;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.custom-welder-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    align-self: flex-start;
}

.custom-bottom-spacing {
    margin-bottom: 3rem;
}

/* Menu styles */
.custom-logo-container {
    width: 100%;
    max-width: 400px;
    height: 100px;
    margin-bottom: 0;
}

.custom-logo-image {
    max-height: 50px;
    width: auto;
}

.custom-menu-title {
    color: white;
    font-family: 'Nunito', sans-serif;
    font-size: 25px;
}

.custom-menu-button {
    border-radius: 20px;
    color: white;
    padding: 4px 12px;
    border: 2px solid transparent;
    text-transform: none;
    transition: all 0.3s ease-in-out;
}

    .custom-menu-button[data-target="OnLand"] {
        background-color: rgba(76, 136, 194, 0.15);
        border-color: #4C88C2;
    }

.custom-platform-button {
    background-color: rgba(108, 154, 161, 0.15);
    border-color: #6C9AA1;
}

.custom-comprehensive-button {
    background-color: rgba(90, 77, 71, 0.15);
    border-color: #5A4D47;
}

.custom-operational-impact-button {
    background-color: rgba(102, 122, 98, 0.15);
    border-color: #667A62;
}

@media (max-width: 768px) {
    .custom-logo-container {
        height: auto;
        padding-top: 1rem;
    }

    .custom-menu-content {
        margin-top: 1.5rem;
    }

    #buttons-container {
        justify-content: center !important;
    }
}

.menu-container {
    margin-bottom: 0;
    padding-bottom: 0;
}

.menu-content {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.full-width-container {
    margin-bottom: 0 !important;
    padding: 0;
}

.index-home-background .full-width-container {
    left: calc((100vw - 100%) / -2) !important;
    max-width: 100vw;
    width: 100vw;
}

/* Styles for partial views */
.custom-partials-container {
    margin-bottom: 0;
}

/* YardTruck waiting time warning styles */
.yard-truck-column-header {
    cursor: grab;
    user-select: none;
}

.yard-truck-column-header:active {
    cursor: grabbing;
}

.yard-truck-column-dragging {
    opacity: 0.45;
}

.yard-truck-column-drop-target {
    box-shadow: inset 2px 0 0 var(--mdb-primary), inset -2px 0 0 var(--mdb-primary);
}

.cst-list-column-header {
    cursor: grab;
    user-select: none;
}

.cst-list-column-header:active {
    cursor: grabbing;
}

.cst-list-column-dragging {
    opacity: 0.45;
}

.cst-list-column-drop-target {
    box-shadow: inset 2px 0 0 var(--mdb-primary), inset -2px 0 0 var(--mdb-primary);
}

.table-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    border-left: 3px solid #ffc107 !important;
}

.table-warning:hover {
    background-color: rgba(255, 193, 7, 0.2) !important;
}

.custom-partial-view {
    display: none;
    transition: opacity 0.5s ease-in-out;
}

/* --- New styles added for mobile devices --- */

/* Adjustments for mobile devices */
@media (max-width: 560px) {
    .menu-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        left: 0;
        z-index: 1000;
    }

    .menu-content {
        flex-direction: column;
        margin-left: 0;
        margin-top: 1rem;
        padding: 1rem;
        margin-top: 80px; /* Ensure content is not hidden behind the menu */
    }

        .menu-content img {
            width: 100%;
            height: auto;
        }

    .col-md-6, .col-md-8 {
        max-width: 100%;
        width: 100%;
    }

    .text-container {
        max-width: 100%;
    }

    #buttons-container {
        padding-left: 0;
        align-items: center;
    }

    .btn.show-partial {
        margin-bottom: 1rem;
        width: 80%;
        text-align: center;
    }

    #menu-title {
        text-align: center;
        margin-left: 0;
        transform: translateX(0%);
    }

    .custom-welder-image, .img-fluid {
        width: 100%;
        height: auto;
    }

    .text-container p {
        font-size: 16px;
        line-height: 1.4;
    }

    .full-width-container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        left: 0 !important;
    }

    .index-home-background .full-width-container {
        left: 0 !important;
        max-width: 100%;
        width: 100%;
    }

    body {
        overflow-x: hidden;
    }
}

.menu-style {
    border-top: 2px solid black;
    margin: 0;
    padding: 0;
}

.menu-style-vertical {
    height: 100vh;
    background-color: #2e2e2e;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    min-height: 100vh;
}

.logo-container-style {
    width: 400px;
    height: 100px;
    margin: 0 auto;
}

.logo-image-style {
    max-height: 50px;
    width: auto;
}


.menu-title-style {
    color: white;
    text-align: left;
    max-width: 400px;
    margin-top: 20px;
    margin-left: 25%;
}


.buttons-container-style {
    padding: 15px;
    border-radius: 10px;
    min-height: 100px;
}

.buttons-inner-style {
    max-width: 400px;
    width: 100%;
    padding-left: 80px;
}

.button-style {
    background-color: #2e2e2e;
    border-radius: 20px;
    color: white;
    padding: 4px 16px;
    width: auto;
    text-transform: capitalize;
    border: 2px solid;
}

/* Buttons with custom borders */
.button-onland {
    border-color: #4C88C2;
}

.button-platform {
    border-color: #6C9AA1;
}

.button-comprehensive {
    border-color: #5A4D47;
}

.button-operational-impact {
    border-color: #667A62;
}

.menu-content-style {
    background-color: transparent;
}

.col-style {
    background-color: transparent;
}

.img-style {
    border-radius: 10px;
    width: 90%;
    height: auto;
}

.col-md-8-style {
    background-color: transparent;
}

.heading-style {
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
}

.text-container-style {
    max-width: 450px;
}

.paragraph-style {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #111111;
}

/*
view 2*/
.menu-border-top {
    border-top: 2px solid black;
}


@media (max-width: 576px) {

    .menu-full-height {
        height: 100px;
    }
}


@media (min-width: 576px) {

    .menu-full-height {
        height: 100vh;
        background-color: #2e2e2e;
    }
}


.logo-container-style {
    width: 400px;
    height: 100px;
    margin: 0 auto;
}

.logo-image-style {
    max-height: 50px;
    width: auto;
}

.menu-title-specific {
    color: white;
    text-align: left;
    max-width: 400px;
    margin-top: 20px;
    margin-left: 25%;
}

.max-width-350 {
    max-width: 350px;
}

.small-icon-image {
    width: 30px;
    height: 30px;
}

@media (max-width: 576px) {
    .small-icon-image {
        width: 20px;
        height: 20px;
    }
}


.uniform-img-style {
    width: 70%; /* Adjust this value to reduce the size proportionally */
    height: auto; /* Maintain the aspect ratio of the image */
}

.custom-margin {
    margin-left: -20px; /* Adjust this value as needed to bring the text closer */
}

/* Adjust the right margin of the image */
.col-style {
    margin-right: 10px; /* Reduce the right margin */
}

/* Make paragraph titles smaller */
.heading-style {
    font-size: 1.25rem; /* Adjust the title size */
}

.logo-container-custom {
    width: 100%;
    max-width: 400px;
    height: 100px;
    margin-bottom: 0;
}

.logo-img-custom {
    max-height: 50px;
    width: auto;
}

.menu-visible {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    padding: 15px;
    width: 100%;
    height: auto;
    z-index: 1000;
}

/* Footer adjustments for mobile devices */
@media (max-width: 576px) {
    .responsive-footer {
        padding: 20px; /* General padding to ensure space around the container */
        box-sizing: border-box; /* Include padding in the total width */
    }

        .responsive-footer h2 {
            margin: 20px auto !important; /* Add top and bottom margin with priority and centering */
        }

        .responsive-footer p {
            margin: 20px auto !important; /* Add top and bottom margin, centered */
            padding: 0 20px; /* Add padding to the sides for additional space */
        }

        .responsive-footer .btn {
            margin: 20px auto !important; /* Add top and bottom margin and center the button */
            display: block; /* Ensure the button is a block to keep it centered */
            padding: 15px 20px; /* Larger clickable area */
            max-width: 80%; /* Limit the button width */
        }
}
.compact-tariff-table {
    width: 100%;
    overflow-x: hidden !important;
}

    .compact-tariff-table .datatable,
    .compact-tariff-table .datatable-inner {
        width: 100%;
        overflow-x: hidden !important;
    }

    .compact-tariff-table table {
        width: 100%;
        table-layout: fixed;
    }

    .compact-tariff-table th,
    .compact-tariff-table td {
        padding-left: 4px !important;
        padding-right: 4px !important;
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        /* Adjust column widths based on content type */
        .compact-tariff-table th:first-child,
        .compact-tariff-table td:first-child {
            width: 40px !important;
        }

    /* Checkbox columns */
    .compact-tariff-table [data-mdb-field="BAccumulateByLocation"] {
        width: 50px !important;
    }

    /* Short text columns */
    .compact-tariff-table [data-mdb-field="SComponent"],
    .compact-tariff-table [data-mdb-field="SRepair"],
    .compact-tariff-table [data-mdb-field="SLocation"],
    .compact-tariff-table [data-mdb-field="SDamage"],
    .compact-tariff-table [data-mdb-field="SUnitOfMeasure"] {
        width: 60px !important;
    }

    /* Number columns */
    .compact-tariff-table [data-mdb-field="FMatCost"],
    .compact-tariff-table [data-mdb-field="FHours"],
    .compact-tariff-table [data-mdb-field="FValue"],
    .compact-tariff-table [data-mdb-field="FOtherCosts"],
    .compact-tariff-table [data-mdb-field="FMaxQuantity"] {
        width: 70px !important;
    }

    /* Description should take more space */
    .compact-tariff-table [data-mdb-field="SName"] {
        width: auto !important;
    }

    /* When cell is being edited, allow overflow */
    .compact-tariff-table .table-editor__edit-cell {
        overflow: visible !important;
    }
/* Re-enable clicks only for labels that contain links */
.form-outline .form-label.label-has-link {
    pointer-events: auto;
}

.btn-narrow {
    width: 65px; /* fixed width for all buttons */
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    text-align: center;
    display: inline-flex; /* icon and number aligned */
    align-items: center;
    justify-content: center;
    gap: 2px; /* space between icon and number */
    overflow: hidden;
}

.btn-narrow-number {
    max-width: 22px; /* adjusts according to button size and font */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.customer-settings-button {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    justify-content: center;
    min-width: 7rem;
    white-space: nowrap;
}

.customer-category-label {
    align-items: center;
    color: var(--mdb-body-color);
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    line-height: 1.2;
    white-space: nowrap;
}

.customer-category-label .fas {
    color: var(--mdb-secondary-color, var(--mdb-gray-600));
    font-size: 0.95rem;
    text-align: center;
    width: 1.1rem;
}

.customer-actions-modal .modal-body {
    padding: 1rem;
}

.customer-actions-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.customer-action-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.customer-action-card {
    align-items: center;
    background: var(--mdb-body-bg);
    border: 1px solid color-mix(in srgb, var(--mdb-border-color, #d5d9df) 78%, var(--mdb-primary) 22%);
    border-radius: 8px;
    color: var(--mdb-body-color);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 4.75rem;
    padding: 0.85rem;
    text-decoration: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.customer-action-card:hover,
.customer-action-card:focus {
    background: color-mix(in srgb, var(--mdb-primary) 8%, var(--mdb-body-bg) 92%);
    border-color: color-mix(in srgb, var(--mdb-primary) 52%, var(--mdb-border-color, #d5d9df) 48%);
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.12);
    color: var(--mdb-body-color);
    transform: translateY(-1px);
}

.customer-action-icon {
    align-items: center;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.customer-action-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.customer-action-title {
    font-size: 0.95rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-action-description {
    color: var(--mdb-secondary-color, var(--mdb-light-dark));
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-action-count {
    background: color-mix(in srgb, var(--mdb-primary) 12%, var(--mdb-body-bg) 88%);
    border: 1px solid color-mix(in srgb, var(--mdb-primary) 35%, var(--mdb-border-color, #d5d9df) 65%);
    border-radius: 999px;
    color: var(--mdb-primary);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1;
    min-width: 2.25rem;
    padding: 0.35rem 0.55rem;
    text-align: center;
}

.table-editor .form-control {
    min-width: 60px; /* Ensure input fields have a minimum width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Set table layout to fixed */
.fix-tbl-min table {
    width: 100%;
    box-sizing: border-box;
}

.billing-services-grid {
    overflow-x: auto;
}

.billing-services-grid .table-responsive,
.billing-services-grid .datatable-inner {
    overflow-x: auto;
}

.billing-services-grid table {
    min-width: 1120px;
    table-layout: fixed;
    width: 100%;
}

.billing-services-grid--customer table {
    min-width: 1420px;
}

.billing-services-grid th,
.billing-services-grid td {
    max-width: none !important;
    padding: 0.28rem 0.35rem !important;
    vertical-align: middle;
}

.billing-services-grid th {
    font-size: 0.78rem;
    white-space: nowrap;
}

.billing-services-grid td {
    white-space: nowrap;
}

.billing-services-grid [data-mdb-field="Service"] {
    overflow-wrap: anywhere;
    width: 13%;
    white-space: normal;
}

.billing-services-grid [data-mdb-field="UnitOfMeasure"] {
    width: 8%;
}

.billing-services-grid [data-mdb-field="Rate"],
.billing-services-grid [data-mdb-field="OverRate"],
.billing-services-grid [data-mdb-field="MinCharge"],
.billing-services-grid [data-mdb-field="MaxCharge"],
.billing-services-grid [data-mdb-field="Free"] {
    width: 6.2%;
}

.billing-services-grid [data-mdb-field="Tax"],
.billing-services-grid [data-mdb-field="MatTax"] {
    text-align: center;
    width: 4.4%;
}

.billing-services-grid [data-mdb-field="Utility"] {
    width: 7.4%;
}

.billing-services-grid [data-mdb-field="From"],
.billing-services-grid [data-mdb-field="To"] {
    width: 8.4%;
}

.billing-services-grid [data-mdb-field="AltCode"] {
    width: 6.6%;
}

.billing-services-grid [data-mdb-field="Actions"] {
    text-align: right;
    width: 5.8%;
}

.billing-services-grid .form-outline {
    min-width: 0;
    width: 100%;
}

.billing-services-grid .form-control,
.billing-services-grid .select-input {
    font-size: 0.84rem;
    min-height: 2.05rem;
    min-width: 0 !important;
    padding: 0.3rem 0.45rem;
    width: 100% !important;
}

.billing-services-grid input[type="number"] {
    font-variant-numeric: tabular-nums;
    max-width: 100%;
    text-align: right;
}

.billing-services-grid input[type="date"] {
    max-width: 100%;
    padding-left: 0.4rem;
    padding-right: 0.3rem;
}

.billing-services-grid .select-wrapper {
    min-width: 0 !important;
    width: 100% !important;
}

.billing-services-grid [data-mdb-field="Utility"] .d-flex {
    gap: 0.2rem;
}

.billing-services-grid [data-mdb-field="Utility"] .form-outline {
    flex: 1 1 auto;
}

.billing-services-grid [data-mdb-field="Actions"] .btn-floating {
    height: 2rem !important;
    line-height: 2rem;
    margin-left: 0.15rem;
    min-width: 2rem !important;
    padding: 0;
    width: 2rem !important;
}

.billing-services-grid .text-danger {
    display: block;
    font-size: 0.75rem;
    white-space: normal;
}

@media (min-width: 1500px) {
    .billing-services-grid table,
    .billing-services-grid--customer table {
        min-width: 0;
    }
}

/* Reset table cell padding */
/*table th,
table td {
    padding: 2.50px !important;
}*/

/*Set min-width for columns */
.col-min-w {
    min-width: 80px !important;
    width: auto;
}

/* Remove the up/down arrows inside the number input field Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*Remove the up/down arrows inside the number input field Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

        .compact-tariff-table td {
            padding: 0.15rem 0.25rem !important;
            vertical-align: middle !important;
        }

        .compact-tariff-table th {
            padding: 0.25rem 0.35rem !important;
            font-size: 0.8rem !important;
            white-space: nowrap !important;
        }

        .compact-tariff-table .table-editor__input-select {
            padding: 0.15rem 0.25rem !important;
            margin: 0 !important;
            font-size: 0.8rem !important;
            min-height: unset !important;
        }

        .compact-tariff-table .select-wrapper {
            margin: 0 !important;
        }

        .compact-tariff-table .form-outline {
            margin: 0 !important;
        }

        .compact-tariff-table .form-control {
            min-height: unset !important;
            padding: 0.2rem 0.4rem !important;
        }

        /* Prevent horizontal scroll by setting table layout */
        .compact-tariff-table table {
            table-layout: auto !important;
            width: 100% !important;
        }


        .compact-tariff-table .table-editor__actions button {
            padding: 0.15rem 0.35rem !important;
            margin: 0 0.1rem !important;
            font-size: 0.75rem !important;
        }

.cst-list-quick-search {
    margin-top: 0.25rem;
}

.cst-list-quick-search > .col-auto {
    align-self: flex-start;
}

.cst-list-quick-search [data-cst-quick-search-input] {
    min-height: 2.4rem;
}

.cst-list-advanced-filter-panel {
    width: 100%;
}

.cst-list-advanced-filter-panel.show {
    padding-bottom: 0.25rem;
}

/* Keep shared navigation visible while the current page finishes booting. */
body.cst-page-loading > .container > header[data-cst-page-navigation] {
    position: relative;
    z-index: 2101;
}

body.cst-page-loading [data-cst-page-content] {
    position: relative;
}

body.cst-page-loading [data-cst-page-content] > :not([data-cst-page-loader]):not([data-cst-page-navigation]) {
    visibility: hidden;
}

body.cst-page-loading [data-cst-page-navigation],
body.cst-page-loading [data-cst-page-navigation] * {
    z-index: 2001;
    visibility: visible !important;
}

.cst-page-loading-overlay {
    align-items: center;
    background: var(--mdb-body-bg, #fff);
    box-sizing: border-box;
    color: var(--mdb-body-color, #4f4f4f);
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: flex-start;
    opacity: 1;
    overflow: hidden;
    pointer-events: auto;
    padding: clamp(4.5rem, 22vh, 12rem) 1rem 1rem;
    position: fixed;
    visibility: visible;
    z-index: 1020;
}

.cst-page-loading-overlay.cst-page-loading-fading {
    pointer-events: none;
}

body.mobile-pwa-layout .cst-page-loading-overlay {
    padding-top: calc(env(safe-area-inset-top, 0px) + 6.5rem);
}

body:not(.cst-page-loading) .cst-page-loading-overlay,
.cst-page-loading-overlay.cst-page-loading-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.cst-page-loading-card {
    align-items: center;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 0;
    opacity: 1;
    text-align: center;
    transition: opacity 180ms ease;
    width: 100%;
}

.cst-page-loading-overlay.cst-page-loading-fading .cst-page-loading-card {
    opacity: 0;
}

.cst-page-loading-brand {
    align-items: center;
    display: flex;
    gap: 0.7rem;
    height: 3rem;
    justify-content: center;
}

.cst-page-loading-logo {
    display: block;
    object-fit: contain;
}

.cst-page-loading-logo {
    height: auto;
    max-width: min(10rem, 62vw);
    width: 10rem;
}

.cst-page-loading-logo-dark,
html[data-mdb-theme="light"] .cst-page-loading-logo-dark {
    display: none;
}

html[data-mdb-theme="dark"] .cst-page-loading-logo-light {
    display: none;
}

html[data-mdb-theme="dark"] .cst-page-loading-logo-dark {
    display: block;
}

.cst-page-loading-skeleton {
    --cst-page-loading-skeleton-base: rgba(0, 0, 0, 0.07);
    --cst-page-loading-skeleton-border: rgba(0, 0, 0, 0.1);
    --cst-page-loading-skeleton-highlight: rgba(255, 255, 255, 0.7);
    display: grid;
    gap: 0.9rem;
    min-height: clamp(20rem, 58vh, 42rem);
    text-align: left;
    width: 100%;
}

html[data-mdb-theme="dark"] .cst-page-loading-skeleton {
    --cst-page-loading-skeleton-base: rgba(255, 255, 255, 0.1);
    --cst-page-loading-skeleton-border: rgba(255, 255, 255, 0.14);
    --cst-page-loading-skeleton-highlight: rgba(255, 255, 255, 0.2);
}

.cst-page-loading-skeleton-block,
.cst-page-loading-skeleton-field > span,
.cst-page-loading-skeleton-table-head > span,
.cst-page-loading-skeleton-table-row > span,
.cst-page-loading-skeleton-metric > span,
.cst-page-loading-skeleton-chart > span,
.cst-page-loading-skeleton-feed > span,
.cst-page-loading-skeleton-generic-panel > span {
    animation: cst-page-loading-shimmer 1700ms ease-in-out infinite;
    background: linear-gradient(105deg, var(--cst-page-loading-skeleton-base) 30%, var(--cst-page-loading-skeleton-highlight) 50%, var(--cst-page-loading-skeleton-base) 70%);
    background-size: 220% 100%;
    border-radius: 0.45rem;
    display: block;
}

.cst-page-loading-skeleton-block--title {
    height: 1.65rem;
    width: min(16rem, 60%);
}

.cst-page-loading-skeleton-block--subtitle {
    height: 0.65rem;
    width: min(23rem, 78%);
}

.cst-page-loading-skeleton-block--button {
    height: 2.45rem;
    width: 6.5rem;
}

.cst-page-loading-skeleton-toolbar {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: minmax(8rem, 0.8fr) minmax(12rem, 2fr) 7rem;
}

.cst-page-loading-skeleton-toolbar .cst-page-loading-skeleton-block {
    height: 2.65rem;
}

.cst-page-loading-skeleton-toolbar .cst-page-loading-skeleton-block--title,
.cst-page-loading-skeleton-toolbar .cst-page-loading-skeleton-block--search,
.cst-page-loading-skeleton-toolbar .cst-page-loading-skeleton-block--button {
    width: 100%;
}

.cst-page-loading-skeleton-table,
.cst-page-loading-skeleton-generic-panel,
.cst-page-loading-skeleton-chart,
.cst-page-loading-skeleton-feed {
    border: 1px solid var(--cst-page-loading-skeleton-border);
    border-radius: 0.8rem;
    padding: 0.9rem;
}

.cst-page-loading-skeleton-table {
    display: grid;
    gap: 0.65rem;
    grid-template-rows: auto repeat(5, minmax(0, 1fr));
    min-height: 100%;
}

.cst-page-loading-skeleton--index {
    grid-template-rows: auto 1fr;
}

.cst-page-loading-skeleton-table-head,
.cst-page-loading-skeleton-table-row {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 1.25fr 1fr 1fr 0.8fr 0.65fr;
}

.cst-page-loading-skeleton-table-head > span {
    height: 0.55rem;
}

.cst-page-loading-skeleton-table-row > span {
    height: 0.85rem;
}

.cst-page-loading-skeleton-table-row:nth-child(3n) > span:nth-child(2),
.cst-page-loading-skeleton-table-row:nth-child(4n) > span:nth-child(1),
.cst-page-loading-skeleton-table-row:nth-child(5n) > span:nth-child(3) {
    opacity: 0.65;
}

.cst-page-loading-skeleton-form-heading,
.cst-page-loading-skeleton-generic-heading {
    display: grid;
    gap: 0.45rem;
}

.cst-page-loading-skeleton-form-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cst-page-loading-skeleton--form {
    grid-template-rows: auto 1fr auto;
}

.cst-page-loading-skeleton-field {
    display: grid;
    gap: 0.45rem;
}

.cst-page-loading-skeleton-field > span:first-child {
    height: 0.45rem;
    width: 36%;
}

.cst-page-loading-skeleton-field > span:last-child {
    height: 2.55rem;
}

.cst-page-loading-skeleton-actions {
    display: flex;
    gap: 0.7rem;
    justify-content: flex-end;
}

.cst-page-loading-skeleton-actions .cst-page-loading-skeleton-block--button:first-child {
    opacity: 0.68;
}

.cst-page-loading-skeleton-metrics {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cst-page-loading-skeleton-metric {
    border: 1px solid var(--cst-page-loading-skeleton-border);
    border-radius: 0.8rem;
    display: grid;
    gap: 0.65rem;
    min-height: 5.5rem;
    padding: 0.9rem;
}

.cst-page-loading-skeleton-metric > span:first-child {
    height: 0.55rem;
    width: 58%;
}

.cst-page-loading-skeleton-metric > span:last-child {
    height: 1.35rem;
    width: 72%;
}

.cst-page-loading-skeleton-dashboard-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 1.45fr 1fr;
    min-height: 100%;
}

.cst-page-loading-skeleton--dashboard {
    grid-template-rows: auto 1fr;
}

.cst-page-loading-skeleton-chart,
.cst-page-loading-skeleton-feed {
    min-height: 13rem;
}

.cst-page-loading-skeleton-chart {
    align-items: flex-end;
    display: flex;
    gap: 0.7rem;
}

.cst-page-loading-skeleton-chart > span {
    flex: 1 1 0;
    height: 42%;
}

.cst-page-loading-skeleton-chart > span:nth-child(2) {
    height: 68%;
}

.cst-page-loading-skeleton-chart > span:nth-child(3) {
    height: 54%;
}

.cst-page-loading-skeleton-chart > span:nth-child(4) {
    height: 82%;
}

.cst-page-loading-skeleton-feed {
    display: grid;
    gap: 0.85rem;
    grid-template-rows: repeat(4, 1fr);
}

.cst-page-loading-skeleton-feed > span {
    height: 100%;
}

.cst-page-loading-skeleton-generic-panel {
    display: grid;
    gap: 0.85rem;
    min-height: 100%;
}

.cst-page-loading-skeleton--generic {
    grid-template-rows: auto 1fr;
}

.cst-page-loading-skeleton-generic-panel > span {
    height: 0.85rem;
}

.cst-page-loading-skeleton-generic-panel > span:nth-child(2),
.cst-page-loading-skeleton-generic-panel > span:nth-child(4) {
    width: 82%;
}

@keyframes cst-page-loading-shimmer {
    0% {
        background-position: 220% 0;
    }

    100% {
        background-position: -220% 0;
    }
}

.cst-page-loading-mark {
    align-items: center;
    display: inline-flex;
    gap: 0.4rem;
    height: 2rem;
    justify-content: center;
}

.cst-page-loading-mark-dot {
    animation: cst-page-loading-pulse 1100ms ease-in-out infinite;
    background: var(--mdb-primary, #1266f1);
    border-radius: 999px;
    display: block;
    height: 0.7rem;
    width: 0.7rem;
    will-change: opacity;
}

.cst-page-loading-mark-dot:nth-child(2) {
    animation-delay: 140ms;
}

.cst-page-loading-mark-dot:nth-child(3) {
    animation-delay: 280ms;
}

.cst-page-loading-text {
    color: var(--mdb-secondary-color, #6c757d);
    font-size: 0.9rem;
}

@keyframes cst-page-loading-pulse {
    0%, 100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cst-page-loading-mark-dot {
        animation: none;
        opacity: 0.75;
    }

    .cst-page-loading-skeleton-block,
    .cst-page-loading-skeleton-field > span,
    .cst-page-loading-skeleton-table-head > span,
    .cst-page-loading-skeleton-table-row > span,
    .cst-page-loading-skeleton-metric > span,
    .cst-page-loading-skeleton-chart > span,
    .cst-page-loading-skeleton-feed > span,
    .cst-page-loading-skeleton-generic-panel > span {
        animation: none;
    }

    .cst-page-loading-card {
        transition: none;
    }
}

@media (max-width: 767.98px) {
    .cst-page-loading-overlay {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cst-page-loading-skeleton {
        min-height: clamp(18rem, 54vh, 34rem);
    }

    .cst-page-loading-logo {
        max-width: min(9rem, 62vw);
        width: 9rem;
    }

    .cst-page-loading-skeleton-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cst-page-loading-skeleton-toolbar .cst-page-loading-skeleton-block--title {
        grid-column: 1 / -1;
    }

    .cst-page-loading-skeleton-form-grid,
    .cst-page-loading-skeleton-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .cst-page-loading-skeleton-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cst-page-loading-skeleton-table,
    .cst-page-loading-skeleton-generic-panel,
    .cst-page-loading-skeleton-chart,
    .cst-page-loading-skeleton-feed {
        padding: 0.7rem;
    }

    .cst-page-loading-skeleton-table-head,
    .cst-page-loading-skeleton-table-row {
        gap: 0.45rem;
    }
}
