.apptrice-user-theme,
:root {
    --theme-surface: ghostwhite;
    --theme-surface-soft: aliceblue;
    --theme-surface-warm: #fefff7;
    --theme-accent: #3977d3;
    --theme-accent-strong: #245a9f;
    --theme-accent-muted: #96bdff;
    --theme-accent-text: #315f8f;
    --theme-accent-soft: lavender;
    --theme-accent-soft-strong: #d3e3fd;
    --theme-accent-soft-hover: #f2f7ff;
    --theme-accent-control: #e3edff;
    --theme-accent-border: lavender;
    --theme-border: #e5edf7;
    --theme-border-soft: #f1f1fa;
    --theme-border-row: #f5f7f8;
    --theme-border-control: #cae1f8;
    --theme-shadow-rgb: 230 230 250;
    --theme-card-shadow: 0 0 15px 1px rgb(var(--theme-shadow-rgb) / 50%);
    --theme-grid-shadow: 2px 2px 5px 2px rgb(var(--theme-shadow-rgb) / 85%);
    --theme-button-shadow: 1px 1px 7px 1px rgb(var(--theme-shadow-rgb) / 75%);
    --theme-menu-divider: #e7e7fa;
    --theme-selected-bg: #00d3e1e6;
    --theme-selected-shadow: 10px 2px 10px -4px #efa3a366;
    --theme-row-hover: #bae5ff;
}

.apptrice-user-theme[data-theme="lavender_2"] {
    --theme-accent: #2f66c4;
    --theme-accent-strong: #174b92;
    --theme-accent-muted: #77a8fb;
    --theme-accent-text: #244f86;
    --theme-accent-soft: #ddddff;
    --theme-accent-soft-strong: #bdd5ff;
    --theme-accent-soft-hover: #e8f1ff;
    --theme-accent-control: #d4e3ff;
    --theme-accent-border: #d1d1fb;
    --theme-border: #d4e4f8;
    --theme-border-soft: #e5e5fb;
    --theme-border-row: #edf2f8;
    --theme-border-control: #aed2f6;
    --theme-shadow-rgb: 198 198 244;
    --theme-menu-divider: #d7d7fb;
    --theme-selected-bg: #00bfd0;
    --theme-selected-shadow: 10px 2px 11px -4px #de858566;
    --theme-row-hover: #9ad9fb;
}

.apptrice-user-theme[data-theme="blue_1"] {
    --theme-surface: #f7fbff;
    --theme-surface-soft: #eef6ff;
    --theme-surface-warm: #f8fbff;
    --theme-accent: #2f77c8;
    --theme-accent-strong: #195996;
    --theme-accent-muted: #8abcf5;
    --theme-accent-text: #285f92;
    --theme-accent-soft: #e4f1ff;
    --theme-accent-soft-strong: #cfe4ff;
    --theme-accent-soft-hover: #edf6ff;
    --theme-accent-control: #dcecff;
    --theme-accent-border: #cfe4ff;
    --theme-border: #dbe9f8;
    --theme-border-soft: #e4eef8;
    --theme-border-row: #eef5fb;
    --theme-border-control: #bcd8f5;
    --theme-shadow-rgb: 190 215 246;
    --theme-menu-divider: #d6e8fb;
    --theme-selected-bg: #b8e4ff;
    --theme-selected-shadow: 10px 2px 10px -4px rgb(47 119 200 / 30%);
    --theme-row-hover: #c7e8ff;
}

.apptrice-user-theme[data-theme="blue_2"] {
    --theme-surface: #f2f8ff;
    --theme-surface-soft: #e4f1ff;
    --theme-surface-warm: #f2f8ff;
    --theme-accent: #1f65b4;
    --theme-accent-strong: #0f477f;
    --theme-accent-muted: #68a8ed;
    --theme-accent-text: #1d527f;
    --theme-accent-soft: #d4eaff;
    --theme-accent-soft-strong: #b8d9ff;
    --theme-accent-soft-hover: #e0f0ff;
    --theme-accent-control: #cde2ff;
    --theme-accent-border: #b8d9ff;
    --theme-border: #c9def5;
    --theme-border-soft: #d9e8f7;
    --theme-border-row: #e5f0fa;
    --theme-border-control: #9fc7ef;
    --theme-shadow-rgb: 156 195 239;
    --theme-menu-divider: #c5dff7;
    --theme-selected-bg: #8dd4ff;
    --theme-selected-shadow: 10px 2px 11px -4px rgb(31 101 180 / 36%);
    --theme-row-hover: #a9dcff;
}

.apptrice-user-theme[data-theme="yellow_1"] {
    --theme-surface: #fffff3;
    --theme-surface-soft: #fffedf;
    --theme-surface-warm: #fffde8;
    --theme-accent: #d6bf00;
    --theme-accent-strong: #9a8a00;
    --theme-accent-muted: #f3df3e;
    --theme-accent-text: #5f5a00;
    --theme-accent-soft: #fff9a8;
    --theme-accent-soft-strong: #fff26f;
    --theme-accent-soft-hover: #fffbd1;
    --theme-accent-control: #fff7a6;
    --theme-accent-border: #e9dc5c;
    --theme-border: #e9e3a9;
    --theme-border-soft: #f4efc4;
    --theme-border-row: #f8f5d8;
    --theme-border-control: #d9ca34;
    --theme-shadow-rgb: 224 213 76;
    --theme-menu-divider: #eee582;
    --theme-selected-bg: #fff36a;
    --theme-selected-shadow: 10px 2px 10px -4px rgb(214 191 0 / 30%);
    --theme-row-hover: #fff897;
}

.apptrice-user-theme[data-theme="yellow_2"] {
    --theme-surface: #fffdec;
    --theme-surface-soft: #fff9b8;
    --theme-surface-warm: #fffbd2;
    --theme-accent: #c4af00;
    --theme-accent-strong: #7d7000;
    --theme-accent-muted: #ecd500;
    --theme-accent-text: #4f4b00;
    --theme-accent-soft: #fff477;
    --theme-accent-soft-strong: #ffec29;
    --theme-accent-soft-hover: #fff68f;
    --theme-accent-control: #fff066;
    --theme-accent-border: #d7c900;
    --theme-border: #dcd45f;
    --theme-border-soft: #eee687;
    --theme-border-row: #f5efaa;
    --theme-border-control: #c8b900;
    --theme-shadow-rgb: 200 185 0;
    --theme-menu-divider: #dfd400;
    --theme-selected-bg: #ffeb00;
    --theme-selected-shadow: 10px 2px 11px -4px rgb(196 175 0 / 38%);
    --theme-row-hover: #fff159;
}

.apptrice-user-theme[data-theme="pink_1"] {
    --theme-surface: #fff8fb;
    --theme-surface-soft: #fff0f7;
    --theme-surface-warm: #fff6fa;
    --theme-accent: #c05086;
    --theme-accent-strong: #93335f;
    --theme-accent-muted: #ee9fc5;
    --theme-accent-text: #8a4564;
    --theme-accent-soft: #ffe1ee;
    --theme-accent-soft-strong: #ffc9de;
    --theme-accent-soft-hover: #fff0f6;
    --theme-accent-control: #ffddea;
    --theme-accent-border: #f4c6d7;
    --theme-border: #ecd7e1;
    --theme-border-soft: #f5e6ed;
    --theme-border-row: #f8eef3;
    --theme-border-control: #e8b2c8;
    --theme-shadow-rgb: 238 184 205;
    --theme-menu-divider: #f1d5e1;
    --theme-selected-bg: #ffd4e4;
    --theme-selected-shadow: 10px 2px 10px -4px rgb(192 80 134 / 28%);
    --theme-row-hover: #ffdceb;
}

.apptrice-user-theme[data-theme="pink_2"] {
    --theme-surface: #fff5fa;
    --theme-surface-soft: #ffe5f0;
    --theme-surface-warm: #ffedf5;
    --theme-accent: #a83c70;
    --theme-accent-strong: #762246;
    --theme-accent-muted: #de82af;
    --theme-accent-text: #74304e;
    --theme-accent-soft: #ffcce0;
    --theme-accent-soft-strong: #ffabc9;
    --theme-accent-soft-hover: #ffdfec;
    --theme-accent-control: #ffc8dc;
    --theme-accent-border: #dea4bd;
    --theme-border: #dfc0cd;
    --theme-border-soft: #eed4df;
    --theme-border-row: #f3e1e9;
    --theme-border-control: #d689a9;
    --theme-shadow-rgb: 214 137 169;
    --theme-menu-divider: #e5b8ca;
    --theme-selected-bg: #ffaccb;
    --theme-selected-shadow: 10px 2px 11px -4px rgb(168 60 112 / 36%);
    --theme-row-hover: #ffc2d9;
}

.apptrice-user-theme[data-theme="green_1"] {
    --theme-surface: #f7fcf8;
    --theme-surface-soft: #eef8f0;
    --theme-surface-warm: #f5fbf3;
    --theme-accent: #3f8f5b;
    --theme-accent-strong: #27683c;
    --theme-accent-muted: #8ecfa1;
    --theme-accent-text: #326947;
    --theme-accent-soft: #dff3e4;
    --theme-accent-soft-strong: #c4e8ce;
    --theme-accent-soft-hover: #edf8f0;
    --theme-accent-control: #d9f0df;
    --theme-accent-border: #c4e2cd;
    --theme-border: #d8e8dc;
    --theme-border-soft: #e5f0e8;
    --theme-border-row: #eef6f0;
    --theme-border-control: #aed4b9;
    --theme-shadow-rgb: 185 218 195;
    --theme-menu-divider: #d3e8da;
    --theme-selected-bg: #c8efd0;
    --theme-selected-shadow: 10px 2px 10px -4px rgb(63 143 91 / 28%);
    --theme-row-hover: #d5f2dc;
}

.apptrice-user-theme[data-theme="green_2"] {
    --theme-surface: #f2faf4;
    --theme-surface-soft: #dff3e5;
    --theme-surface-warm: #edf8ed;
    --theme-accent: #2d7947;
    --theme-accent-strong: #18552b;
    --theme-accent-muted: #6fba85;
    --theme-accent-text: #25573a;
    --theme-accent-soft: #c8e9d1;
    --theme-accent-soft-strong: #a9ddb8;
    --theme-accent-soft-hover: #dff3e5;
    --theme-accent-control: #c4e5ce;
    --theme-accent-border: #a9d5b7;
    --theme-border: #c4dfcc;
    --theme-border-soft: #d8eadc;
    --theme-border-row: #e5f1e8;
    --theme-border-control: #8fc69f;
    --theme-shadow-rgb: 143 198 159;
    --theme-menu-divider: #bddfc7;
    --theme-selected-bg: #a9e3b8;
    --theme-selected-shadow: 10px 2px 11px -4px rgb(45 121 71 / 36%);
    --theme-row-hover: #bce9c8;
}

.dataTable {
    /*box-shadow: var(--theme-grid-shadow);*/
}
.dataTable tr {
    cursor: pointer;
    padding: 2px 10px;
}
.dataTable tr:hover {
    background-color: var(--theme-row-hover);
}
.dataTable th {
    background: var(--theme-surface);
    padding: 5px;
    font-weight: 400;
    font-size: 14px;
    border-left: 1px solid var(--theme-accent-border);
}

.dataTable th:nth-child(1) {
    max-width: 30px;
}

.dataTable td {
    border-top: 1px solid var(--theme-border-row);
    padding: 10px 5px;
}

@media (max-width: 991px) {
    .dataTable {
        border-collapse: separate;
        border-spacing: 0 20px!important;
    }
    .dataTable td {
        border-top: 0;
    }
}

.paginate_button .page-link {
    font-size: 12px;
}

.dataTables_paginate .active>.page-link, .page-link.active {
    z-index: 3;
    color: black;
    background-color: var(--theme-accent-soft);
    border-color: var(--theme-accent-border);
}

.page-col {

}

@media (min-width: 992px) {
    .dataTables_length {
        font-size: 12px;
        position: absolute;
        right: 0;
        top: -31px;
    }
    .dataTables_filter {
        font-size: 12px;
        position: absolute;
        top: -31px;
        right: 150px;
    }
    .dataTables_filter input {
        min-width: 300px;
    }
}

@media (max-width: 991px) {
    .dataTables_length {
        font-size: 12px;
        position: absolute;
        right: 10px;
        top: -12px;
    }
    .dataTables_filter {
        font-size: 12px;
        position: absolute;
        left: 10px;
        top: -12px;
    }
    .dataTables_filter input {
        min-width: 200px;
    }
}

.dataTable .list-row-selected {
    background-color: var(--theme-selected-bg);
    /*box-shadow: 10px 2px 10px -4px rgb(0 241 255 / 75%);*/
    box-shadow: var(--theme-selected-shadow);
}

@media (min-width: 992px) {
    .list-control {
        display: flex;
    }
}

@media (max-width: 991px) {
    .list-control {
        display: none;
    }
}

@media (min-width: 992px) {
    .list-control {
        justify-content: left;
    }
}

.list-bulk-actions {
    position: relative;
    margin-left: 10px;
    order: 1;
    align-self: center;
}

.list-bulk-result {
    position: absolute;
    background: beige;
    padding: 5px;
    inset: 0;
    overflow: auto;
    white-space: pre-wrap;
    font-size: 0.875rem;
}

.list-control-item {
    padding: 5px 12px;
    border-radius: 0;
    border-left: 1px solid var(--theme-accent-border);
    border-bottom: 1px solid var(--theme-border-soft);
    font-size: 12px;
    background-color: var(--theme-surface-soft);
}

@media (max-width: 991px) {
    .list-control-item {
        display: none;
    }
}

.list-control-item:hover {
    background-color: var(--theme-accent-soft)!important;
    color: #9800ff;
}

.list-control-item-create {
    padding: 5px 12px;
    border-radius: 0;
    border-left: 1px solid var(--theme-accent-border);
    border-bottom: 1px solid var(--theme-border-soft);
    font-size: 12px;
    color: white;
    background-color: #0084ff;
    border-radius: 4px;
    font-weight: 700;
}

.list-control-item-create:hover {
    background-color: #0071db!important;
    color: white!important;
}

@media (min-width: 992px) {
    .list-control-mobile {
        display: none;
    }
}
@media (max-width: 991px) {
    .list-control-item-create-mobile {
        position: fixed;
        bottom: 80px;
        right: 0;
        width: 75px;
        height: 75px;
        border-radius: 75px;
        z-index: 9999;
        font-size: 64px;
        color: #00ab00;
        background: #f8f8ffcf;
        text-align: center;
    }
    .bi::before {
        vertical-align: 0;
    }
    .list-control-item-filters-mobile {
        position: fixed;
        bottom: 80px;
        left: 0;
        width: 75px;
        height: 75px;
        border-radius: 75px;
        z-index: 9999;
        font-size: 64px;
        color: #61a4ff;
        background: #f8f8ffcf;
        text-align: center;
    }
    /*
    .list-control .btn {
        border-radius: 90px;
        width: 90px;
        height: 90px;
    }
    */
}

.left-menu-item {
    /*border-top: 1px solid var(--theme-menu-divider);*/
    padding-left: 20px;
    /*background: white;*/
}

.left-menu-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-image: linear-gradient(to right, transparent, var(--theme-menu-divider), transparent);
}

.left-menu-item::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 1px;
    width: 100%;
    background-image: linear-gradient(to right, transparent, var(--theme-menu-divider), transparent);
}

.left-menu-item:hover {
    background-color: var(--theme-surface-warm);
}

.left-menu-item a {
    color: red;
}

.left-menu-group {
    margin-top: 10px;
    padding-left: 10px;
}

.left-menu-item a:hover {

}

.list-action-btn,
.list-action-btn-delete{
    background-color: white;
    margin-right: 20px;
}

.list-action-btn:hover {
    background-color: var(--theme-accent-soft);
}

.list-action-btn-delete{

}
.list-action-btn-delete:hover {
    background-color: red;
}

.list-actions {

}

.col-content {
    border-radius: 0;
    margin: 10px;
}

.col-content .item {
    border-radius: 0;
    height: 100%;
}

.chart-container, .list-container, .form-container {
    border-radius: 4px;
    height: 100%;
}
@media (min-width: 992px) {
    .chart-container, .list-container, .form-container {
        box-shadow: var(--theme-card-shadow);
        padding: .5rem !important;
    }
}
@media (max-width: 991px) {
    .list-container {
        padding: 0 !important;
    }
}
@media (max-width: 991px) {
    .dataTables_wrapper {
        padding: 0 20px;
    }
}

.btn-save {
    background-color: #c9ffb6;
    border: 1px solid #00ab00;
}

.btn-save:hover {
    background-color: #9cff84;
}

.btn-save:focus, .btn-save:focus-visible {
    background-color: red;
}

.btn-save-draft {
    background-color: ghostwhite;
}

.btn-save-draft:hover {
    background-color: #d1d1d1;
}

.form-buttons {
    text-align: center;
    margin-top: 10px;
}

.form-btn {
    margin: 5px 5px;
    box-shadow: var(--theme-button-shadow);
}

@media (max-width: 991px) {
    .form-btn {
        width: 75px;
        height: 50px;
        margin: 10px;
    }
}

@media (max-width: 991px) {
    .dataTables_paginate {
        margin-top: 10px!important;
        margin-bottom: 10px!important;
    }
    .dataTables_paginate .page-item a {
        padding: 13px;
    }
    .dataTables_paginate .previous {
        margin-right: 20px;
    }
    .dataTables_paginate .next {
        margin-left: 20px;
    }
}

.form-title {
    font-size: 20px;
    text-align: center;
}

.form-section-label {
    color: var(--theme-accent-text);
    font-size: 17px;
    font-weight: 500;
}

.menu-count-badge {
    background-color: var(--theme-surface) !important;
    color: var(--theme-accent-text);
    border: 1px solid var(--theme-border);
    border-radius: 999px;
}

.logo-home {
    color: var(--theme-accent-muted);
    font-size: 24px;
    margin-top: 5px;
}

.list-title {
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px;
}

.operation-date-filter {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
    margin: 12px 0 16px 0;
    padding: 8px;
    background: var(--theme-surface);
    border: 1px solid var(--theme-accent-border);
}

.operation-date-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.operation-date-filter-shortcuts {
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .operation-date-filter {
        margin: 24px 0 24px 0;
    }
}

.operation-date-filter input {
    width: 115px;
    min-width: 115px;
}

.operation-date-filter-year {
    width: 50px;
    min-width: 50px;
}

.operation-date-filter-month {
    width: 115px;
    min-width: 115px;
}

.operation-date-filter-quarter {
    width: 36px;
    min-width: 36px;
}

.operation-date-filter-separator {
    color: #64748b;
    font-size: 14px;
}

.operation-date-filter-btn {
    white-space: nowrap;
    border: 1px solid var(--theme-accent-border);
    background: white;
    color: #4f6f9f;
    font-size: 12px;
}

.operation-date-filter-btn-step {
    min-width: 32px;
    font-weight: 600;
}

.operation-date-filter-btn:hover {
    background: var(--theme-accent-soft);
    color: #2d4e7f;
}

.operation-date-sort-btn {
    min-width: 32px;
}

.operation-date-filter-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .operation-date-filter {
        gap: 10px;
    }

    .operation-date-filter-group {
        width: 100%;
    }

    .operation-date-filter-range {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 12px minmax(0, 1fr) 32px;
    }

    .operation-date-filter input {
        min-width: 0;
        width: 100%;
    }

    .operation-date-filter-shortcuts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .operation-date-filter-period {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 60px 82px 72px;
    }

    .operation-date-filter-sort {
        width: 72px;
    }

    .operation-date-filter-month,
    .operation-date-filter-quarter,
    .operation-date-filter-year {
        min-width: 0;
        width: 100%;
    }

    .operation-date-filter-btn {
        min-height: 31px;
        padding-left: 6px;
        padding-right: 6px;
    }
}

@media (max-width: 420px) {
    .operation-date-filter-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .operation-date-filter-period {
        grid-template-columns: minmax(0, 1fr) 50px 74px 72px;
    }
}

.operation-date-range-btn.active,
.operation-date-sort-btn.active {
    background: var(--theme-accent-soft);
    color: #2d4e7f;
}

.grid-title {
    text-align: center;
}

@media (max-width: 991px) {
    .form-title {
        /*background: #bcd7ff;*/
        margin-top: 10px;
    }
    .list-title {
        display: none;
    }
    .grid-title {
        text-align: left;
        padding-left: 5px;
    }
    .col-content {
        margin: 0;
    }
}

.form-control {
    border: 1px solid var(--theme-border-control);
    border-radius: 2px;
}

.flex-type-field {
    background-color: var(--theme-accent-control);
}

#page-message {
    margin: 0px 20px 0 0;
    font-size: 18px;
    color: lightseagreen;
}

.view-field-label {
    font-size: 14px;
    color: #8396b8;
}

.view-header {
    margin: 0;
    background: var(--theme-surface);
}

@media (max-width: 991px) {
    .view-header {
        display: none;
    }
}

.view-header-controls .btn {
    color: #7b9bd5;
    font-size: 12px;
    font-weight: 400;
}
.view-header-controls .btn:hover {
    color: #ff0083;
}

.grid-field-textarea {
    min-height: 24px;
    border: none;
    resize: none;
}

.grid-field-choice {
    min-width: 100px;
}

.grid-field-input {
    width: 100%;
    border: 0;
}

.grid-table .grid-field-input:not(.grid-field-number),
.grid-table .grid-field-select,
.grid-table .form-select.grid-field,
.grid-table .transposed-grid-row-field {
    width: 100%;
    max-width: none;
}

.grid-table .grid-ref-field,
.grid-table .grid-anyref-field {
    align-items: center;
    width: 100%;
    min-width: 220px;
}

.grid-table .grid-ref-field > .choices,
.grid-table .grid-anyref-field > .d-flex {
    flex: 1 1 auto;
    min-width: 0;
}

.grid-table .grid-anyref-field > .d-flex > .choices {
    width: 100%;
}

.grid-table .choices {
    width: 100%;
    max-width: none!important;
}

.grid-table .choices__inner,
.grid-table .choices__list--single,
.grid-table .choices__list--single .choices__item,
.grid-table .choices__list--dropdown,
.grid-table .choices__list[aria-expanded] {
    width: 100%;
}

.entity-ref-field,
.entity-anyref-field {
    align-items: center;
    width: 100%;
}

.entity-ref-field > .choices,
.entity-anyref-field > .choices {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: none!important;
}

.entity-ref-field .choices__inner,
.entity-anyref-field .choices__inner,
.entity-ref-field .choices__list--single,
.entity-anyref-field .choices__list--single,
.entity-ref-field .choices__list--single .choices__item,
.entity-anyref-field .choices__list--single .choices__item,
.entity-ref-field .choices__list--dropdown,
.entity-anyref-field .choices__list--dropdown,
.entity-ref-field .choices__list[aria-expanded],
.entity-anyref-field .choices__list[aria-expanded] {
    width: 100%;
}

.grid-field-input.grid-field-number {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    text-align: right;
}

.grid-number-cell {
    width: 100%;
    text-align: center;
}

.grid-number-value {
    display: inline-block;
    text-align: right;
}

.grid-table {
    box-shadow: var(--theme-grid-shadow);
}

.grid-table th {
    background: var(--theme-surface);
    padding: 7px;
    font-weight: 400;
    font-size: 14px;
    border-left: 1px solid var(--theme-accent-border);
}

.grid-table tfoot td {
    background: var(--theme-surface);
    padding: 5px 10px;
    font-weight: 500;
    font-size: 14px;
    border-left: 1px solid var(--theme-accent-border);
}

@media (min-width: 992px) {
    .grid-table td {
        border-top: 1px solid var(--theme-border-row);
        padding: 0 5px;
    }
}

.grid-controls, .grid-controls-mobile {
    display: flex;
}

.grid-controls i {
    font-size: 28px;
    cursor: pointer;
}

.add-btn {
    color: #00ab00;
}
.add-btn:hover {
    color: #7272ff;
}

.copy-btn {
    color: var(--theme-accent-muted);
    margin-left: 8px;
}
.copy-btn:hover {
    color: #7272ff;
}

.grid-table .grid-row-selected td {
    background: var(--theme-surface-warm);
}

.load-btn {
    color: orange;
}
.load-btn:hover {
    color: #7272ff;
}

.del-btn {
    color: #fbd2db;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .del-btn {
        position: absolute;
        right: 0;
        top: -30px;
    }
    .grid-row {
        position: relative;
    }
}

.del-btn:hover {
    color: #f70036;
}

.li-pub {
    color: #00b200;
}

.li-draft {
    color: #0061aa;
}

.li-del {
    color: red;
}

.operation-status-cell {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    position: relative;
}

.operation-status-icon {
    font-size: 15px;
}

.operation-status-actions {
    border-radius: 4px;
    padding: 6px;
    position: absolute;
    background: #f4f4f4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease-in-out;
}

.operation-status-cell:hover .operation-status-actions,
.operation-status-cell:focus-within .operation-status-actions {
    max-width: 260px;
    opacity: 1;
    pointer-events: auto;
}

.operation-status-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #dbeafe;
    border-radius: 4px;
    background: #ffffff;
    color: #4f6f9f;
    text-decoration: none;
    font-size: 22px;
}

.operation-status-action:hover {
    background: lavender;
    color: #2d4e7f;
}

.operation-status-action[data-action="copy"] {
    border-color: #fed7aa;
    color: #ea580c;
}

.operation-status-action[data-action="copy"]:hover {
    background: #ffedd5;
    color: #9a3412;
}

.operation-status-action[data-action="delete"] {
    border-color: #fecaca;
    color: #dc2626;
}

.operation-status-action[data-action="delete"]:hover {
    background: #fee2e2;
    color: #991b1b;
}

.footer-field {
    border: none;
    background: transparent;
    font-weight: 500;
}

.footer-field.grid-footer-number {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    text-align: right;
}

.screen {
    background-color: white;
}

@media (min-width: 1024px) {
    .lg\:inline-flex {
        display: inline-flex !important;
    }
    .bg-radial-gradient {
        z-index: -1000;
        background-image: radial-gradient(50% 50% at 50% 50%,#eb4432 0,hsla(0,0%,100%,0) 100%);
    }
    .opacity-\[\.15\] {
        opacity: .15!important;
    }
    .w-\[640px\] {
        width: 640px!important;
    }
    .h-\[640px\] {
        height: 640px!important;
    }
    .-top-24 {
        top: -6rem!important;
    }
    .left-\[-20\%\] {
        left: 80%!important;
    }
    .absolute {
        position: absolute!important;
    }
    .pointer-events-none {
        pointer-events: none!important;
    }
}

.label-debit {
    border-bottom: 3px solid #00adff;
    margin-bottom: 3px;
}

.label-credit {
    border-bottom: 3px solid orange;
    margin-bottom: 3px;
}

.anyref-type-select {
    background-color: var(--theme-accent-control)
}

.flex-types {
    background-color: var(--theme-accent-control);
}

.entity-field-date,
.entity-field-datetime,
.entity-field-number,
.entity-field-account
{
    width: 240px;
}

.entity-field {
    /*max-width: 500px;*/
}

.top-menu li {
    color: #004d62!important;
    font-weight: 400;
    font-size: 14px!important;
    position: relative;
}
.top-menu li .active {
    color: #004d62!important;
    font-weight: 500;
}
/*
.top-menu  .active:after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #fdb728;
    border-radius: 100px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    bottom: 0;
}
*/
#app-search-input {
    min-width: 300px;
    font-size: 12px;
    line-height: 12px;
}
.top-menu input::placeholder {
    color: #73abff;
}
.top-menu .top-ad {
    margin-left: 50px;
    padding: 0 10px;
}
.top-menu .top-ad-text:hover {
    color: red;
}
.top-menu .top-ad-text {
    padding-top: 3px;
}
.top-menu .top-ad a {
    text-decoration: none;
}
.top-menu .customer-name {
    border-bottom: 3px solid red;
}
.top-menu .user-name {

}
.top-menu .customer-menu {

}

.top-menu .new-customer-menu-item {
    color: red;
    font-weight: 900;
    width: 100%;
}

.top-menu .customer-item {
    margin-bottom: 10px;
}

.top-menu .customer-item:hover {
    color: var(--theme-accent);
}

.top-menu .customer-data-item:hover {
    font-weight: 900;
}

.top-menu .customer-data-item {
    color: var(--theme-accent);
}

.ref-add-btn {
    background: white;
    border: 1px solid var(--theme-accent-border, #d8d3f2);
    color: var(--theme-button-primary-color, #2f2a45);
    margin-left: 3px;
}

.ref-add-btn:hover {
    background: var(--theme-button-primary-hover-bg, #e6e0ff);
}

.ref-add-container {
    display: none;
    position: fixed;
    top: 500px;
    left: 500px;
    min-width: 350px;
    max-width: 800px;
    min-height: 100px;
    max-height: 600px;
    border-radius: 5px;
    background-color: #fff5d8;
    z-index: 9999;
}

.choices {
    margin-bottom: 0!important;
    font-size: 16px;
    color: black!important;
}

@media (max-width: 991px) {
    .choices {
        max-width: 100%!important;
    }
}

.choices__inner {
    background-color: white!important;
    color: black!important;
}

.grid-table .choices__inner {
    border: none;
}

.choices__item {
    color: black!important;
}

.ref {
    max-width: 500px;
}

.menu-button-create {
    position: absolute;
    left: -14px;
    top: 3px;
    background: #e0ffd3;
    text-decoration: none;
    width: 32px;
    text-align: center;
    margin: 0;
    padding: 0;
    color: grey !important;
    /*border-radius: 10px 0 0 10px;*/
    display: none;
}

.menu-button-create:hover {
    background: #48ff00;
    color: black !important;
}

.left-menu-item:hover .menu-button-create {
    display: block;
}

@media (min-width: 992px) {
    .desktop-list-filters {
        display: flex;
        margin: 10px 0;
        max-width: 500px;
    }
}

@media (max-width: 991px) {
    .desktop-list-filters {
        display: none;
    }
}

.home-button-mobile-header {
    font-size: 24px;
    margin-left: 10px;
    font-weight: 500;
    color: black;
    text-decoration: none;
}

@media (min-width: 992px) {
    .mobile-menu {
        display: none;
    }
}

@media (max-width: 991px) {
    .mobile-menu {
        width: 100%;
        position: fixed;
    }
    .top-menu {
        display: none;
    }
}

@media (min-width: 992px) {
    .home-button-mobile-header {
        display: none;
    }
}

.list-filter {
    margin-right: 20px;
}

.list-filter select option {
    padding: 10px 2px;
}

.list-filters {
    padding: 10px;
    background: var(--theme-surface);
    border-radius: 5px;
}

@media (max-width: 991px) {
    border-top: 1px solid #f4f456;
}

@media (min-width: 992px) {
    .list-filters {
        margin: 10px 0;
    }
}

.mobile-list-filter {
    margin-right: 20px;
}

@media (min-width: 992px) {
    .list-filter-choice {
        min-width: 500px;
        height: 46px;
    }
}

.apexcharts-toolbar {
    display: none!important;
}

.list-types {
    display: flex;
    justify-content: flex-start;
    position: absolute;
}

.list-type {
    text-decoration: none;
    margin: 0 7px;
    font-size: 13px;
    color: var(--theme-accent);
    padding: 0px 10px;
}

.list-type.active {
    background: var(--theme-surface-soft);
    border-radius: 20px;
}

.board-types {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.board-type {
    text-decoration: none;
    margin: 0 7px;
    font-size: 13px;
    color: var(--theme-accent);
    padding: 0px 10px;
}

.board-type.active {
    background: #fff8f0;
    border-radius: 20px;
}

.calendar-types {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.calendar-type {
    text-decoration: none;
    margin: 0 7px;
    font-size: 13px;
    color: var(--theme-accent);
    padding: 0px 10px;
}

.calendar-type.active {
    background: #fff8f0;
    border-radius: 20px;
}

.kanban-container {
    margin-top: 10px;
}

.kanban-board {
    min-height: 700px;
    box-shadow: var(--theme-card-shadow);
    border-radius: 10px;
    background: var(--theme-accent-soft)!important;
}

.kanban-board-header {
    background: lightskyblue;
    border-radius: 10px 10px 0 0;
}

.kanban-item {
    border: 1px solid orange;
    border-radius: 5px;
}

.board-item-link {
    text-decoration: none;
    color: black;
}

.board-item-link:hover {
    font-weight: bold;
}

.upload-container { margin-bottom: 20px; }

.file-upload-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.file-upload-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.image-preview {
    max-height: 250px;
    margin: 5px;
}

.grid-table .image-preview {
    max-width: 96px;
    max-height: 72px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 0;
}

.grid-field-attachments {
    max-width: 500px;
}

.grid-field-attachment {
    margin-bottom: 10px;
}

/*
.left-menu {
    background-color: #f8f9ff;
    margin: 10px 10px 0 20px;
    border-radius: 50px 0 0 30px;
}
*/

@media (max-width: 991px) {
    .left-menu {
        display: none!important;
    }
}

.left-menu-on-top {
    display: none;
}

.left-menu-on-top .left-menu-item {
    padding: 10px 0;
}

@media (max-width: 991px) {
    .left-menu-on-top {
        display: block!important;
        margin-top: 10px;
        margin-bottom: 50px;
    }
}

.left-menu .nav-link {
    padding: 4px 0 4px 4px!important;
    font-weight: 400;
    font-size: 15px;
    color: var(--theme-accent);
}

.left-menu-group .nav-link {
    font-weight: 400;
    font-size: 18px;
    color: black;
}

.left-menu-group-collapsible {

}
.left-menu-group-collapsible .btn {
    padding-left: 20px;
}

.left-menu-group-collapsible button {
    font-weight: 500;
    font-size: 17px;
    color: var(--theme-accent);
}

.left-menu-group-collapsible .btn-toggle-nav {
    padding-left: 14px;
}

.left-menu .active,
.mobile-menu-horizontal .active {
    background-color: var(--theme-accent-soft-strong)!important;
    border-radius: 0 17px 17px 0!important;
    color: black!important;
    font-weight: 400;
    margin-right: 12px;
}

.left-menu .nav {
    margin-top: 20px;
}

.logo {
    color: black;
    text-decoration: none;
    font-size: 20px;
    margin: 15px 15px 0 15px;
}

.logo.logo-home {
    color: var(--theme-accent-muted);
    font-size: 24px;
    margin-top: 5px;
}

.dataTables_empty, .dataTables_info {
    display: none!important;
}

.tags-list {
    margin: 20px 10px 0 10px;
    display: flex;
}

@media (min-width: 991px) {
    .tags-list {
        flex-wrap: wrap;
    }
}

@media (max-width: 991px) {
    .tags-list {
        overflow: auto;
        padding: 3px;
    }
}

.tags-list a {
    text-decoration: none;
    color: black;
    margin: 0 20px 0 0;
}

@media (max-width: 991px) {
    .tags-list a {
        margin: 0 15px 0 0;
    }
}

.tags-list-item {
    display: flex;
    background: var(--theme-surface);
    padding: 5px 20px;
    border: 1px solid var(--theme-accent-border);
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}
.tags-list-item-color {
    width: 10px;
    height: 10px;
    margin-top: 7px;
    border-radius: 10px;
}
.tags-list-item-label {
    margin-left: 5px;
}
@media (max-width: 991px) {
    .tags-list-item {
        border-radius: 10px;
        text-wrap-mode: nowrap;
        padding: 3px 7px;
        border: 0px solid #fff;
        text-align: center;
    }
}
.tags-list-item:hover {
    background-color: #bbbbbb;
}
.tags-list-item.active {
    background: #e3e6e7;
}
.form-tag {
    margin-right: 20px;
}

@media (min-width: 992px) {
    .offcanvas {
        display: none;
    }
}

/* do not show table/board selection on mobile, as it is not practical to use mobile for kanban */
@media (max-width: 991px) {
    .list-types {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-collapse .customer-name {
        padding: 10px;
        font-weight: 900;
    }
    .mobile-menu {
        width: 100%;
        z-index: 9999;
    }
    .mobile-menu-navbar {
        padding: 10px 0;
        background: white;
    }
    .mobile-menu .navbar-collapse {
        background: white;
    }
    .mobile-menu .left-menu-1 {
        padding-bottom: 20px;
    }
    .grid-title {
        margin-top: 5px;
    }
}

@media (min-width: 992px) {
    .navbar-collapse .customer-name {
        padding: 0 0 3px 0;
        margin-right: 30px;
        font-weight: 900;
    }
}

.entity-field-ref-block {
    text-wrap: wrap;
    overflow-wrap: break-word;
    overflow: hidden;
    width: 100px;
    height: 55px;
    border: 1px solid #dbedff;
    border-radius: 5px;
    margin: 10px 20px 10px 0;
    padding: 3px;
    cursor: pointer;
    text-align: center;
    background: #fafafa;
    font-size: 15px;
}

.entity-field-ref-block.selected {
    background-color: #858585;
    color: white;
    font-weight: 600;
}

.entity-field-ref-block:hover {
    background-color: #858585;
}

@media (min-width: 992px) {
    .grid-controls-mobile {
        display: none;
    }
}

/* Mobile List */
@media (max-width: 991px) {
    .customer-menu-container {
        background: var(--theme-surface-soft);
        float: right;
        border-radius: 20px 0 0 20px;
    }
    .user-menu-container {
        text-align: center;
        padding-left: 25px;
        margin-top: 20px;
    }
    .mobile-menu-horizontal {
        display: block!important;
        box-shadow: var(--theme-button-shadow);
        margin: 0 10px;
    }
    .mobile-list-block {
        border-radius: 12px;
        background: var(--theme-surface);
        padding: 10px;
    }
    .list-table td {
        background: transparent;
    }
    .list-table thead {
        display: none;
    }
    .grid-field-input {
        border-radius: 2px;
    }

    .list-table td:not(:first-child) {
        display: none;
    }
    .list-table th:not(:first-child) {
        display: none;
    }
    .list-bulk-enabled td:first-child { display: none; }
    .list-bulk-enabled td:nth-child(2) { display: table-cell; }

    .grid-controls {
        display: none;
    }
    .grid-controls-mobile i {
        font-size: 40px;
    }
    .grid-controls-mobile {
        justify-content: left;
        padding: 5px;
    }
}

@media (min-width: 992px) {
    .list-control-item-filters {
        display: none;
    }
    .list-table th:first-child {
        display: none;
    }
    .list-table td:first-child {
        display: none;
    }
    .list-bulk-enabled th:first-child, .list-bulk-enabled td:first-child { display: table-cell; }
    .list-bulk-enabled th:nth-child(2), .list-bulk-enabled td:nth-child(2) { display: none; }
}

@media (min-width: 992px) {
    .floating-submit-container {
        display: none;
    }
}

@media (max-width: 991px) {
    .list-control-item-filters {
        background: white;
    }
    .grid-table {
        border-collapse: separate;
        border-spacing: 0 20px!important;
        box-shadow: none!important;
    }
    .grid-table td {
        display: block;
        padding: 5px;
    }
    .grid-table td:nth-child(3) {
        /*border-top: 3px solid black;*/
    }
    .grid-table thead {
        display: none;
    }
    .grid-table tfoot {
        display: none;
    }
}

.form-tag .form-check-input {
    display: none;
}

.form-tag .tag-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    margin: 3px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    background-color: #fafafa;
    color: black;
}

.form-tag .tag-label.checked {
    background-color: #858585;
    color: white;
}

/* MOBILE IOS LIKE SELECT PICKER */
.picker-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10px;
}
.wheel-wrapper {
    min-width: 100px;
    height: 180px;
    perspective: 100px;
    perspective-origin: center center;
    cursor: grab;
    user-select: none;
    border: 1px solid var(--theme-border-control);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: white;
}
.wheel-wrapper.dragging {
    cursor: grabbing;
}
.wheel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.wheel-item {
    padding: 0;
    margin: 5px;
    transform-origin: center;
    transform-style: preserve-3d;
    text-align: center;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.5s ease, background-color 0.5s ease;
}
.wheel-item.selected {
    font-weight: 700;
    color: var(--theme-accent);
}
.highlight-bar {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 20px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    pointer-events: none;
    z-index: 3;
}
.fade-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(206,222,251,0.98) 0%, rgba(206,222,251,0.4) 25%, rgba(206,222,251,0) 45%, rgba(206,222,251,0) 55%, rgba(206,222,251,0.4) 75%, rgba(206,222,251,0.98) 100%);
    pointer-events: none;
    z-index: 2;
}

.list-field-color {
    width: 24px;
    height: 24px;
    border: 1px solid ghostwhite;
}

.entity-field-color {
    width: 48px;
    height: 48px;
    padding: 0;
    cursor: pointer;
    border: 1px solid ghostwhite;
}

.collapsed-fields {
    margin: 20px 10px;
    background: var(--theme-surface-soft);
    border-radius: 4px;
}

.mobile-menu .left-menu-1 .nav {
    border-radius: 10px;
}

.mobile-menu .left-menu-1 .nav .left-menu-group a {
    font-weight: bold;
}

.mobile-menu .left-menu-1 .nav a.active {
    background-color: var(--theme-accent-soft-strong) !important;
    border-radius: 0px 17px 17px 0px !important;
    color: black !important;
    font-weight: 400;
    margin-right: 12px;
}

/*
@media (min-width: 992px) {
    .page-row {
        min-height: 50px;
        margin-bottom: 20px;
    }
}
*/

.form-tags {
    margin: 10px 0;
}

.store-block {
    max-width: 1120px;
    margin: 28px auto;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--theme-border);
    border-radius: 8px;
}

.store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.store-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.store-button-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 3px;
    padding: 0 5px;
    color: #fff;
    background: var(--theme-accent);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.store-header h2 {
    margin: 0;
    color: #24466f;
    font-size: 28px;
    font-weight: 600;
}

.store-eyebrow {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.store-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}

.store-product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.store-product-card:hover {
    color: inherit;
    border-color: #b9d4ff;
    box-shadow: 0 8px 22px rgba(37, 84, 150, 0.12);
    transform: translateY(-1px);
}

.store-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: var(--theme-surface-warm);
    color: inherit;
    text-decoration: none;
}

.store-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-product-image i {
    color: #8aa9d4;
    font-size: 42px;
}

.store-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
}

.store-product-title {
    color: #24466f;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}

.store-product-title:hover {
    color: #0d6efd;
}

.store-product-body span {
    color: #607087;
    font-size: 13px;
    line-height: 1.35;
}

.store-product-price {
    color: #198754;
    font-size: 16px;
    font-weight: 600;
}

.store-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.store-card-add-form {
    margin: 0;
    flex: 0 0 auto;
}

.store-card-add-form .btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.store-product-detail {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.store-product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: var(--theme-surface-warm);
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    overflow: hidden;
}

.store-product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-product-detail-image i {
    color: #8aa9d4;
    font-size: 58px;
}

.store-product-detail-body h3 {
    margin: 0 0 10px;
    color: #24466f;
    font-size: 30px;
    font-weight: 600;
}

.store-product-detail-body p {
    color: #4d5f75;
    font-size: 15px;
    line-height: 1.55;
}

.store-product-detail-price {
    margin-bottom: 18px;
    color: #198754;
    font-size: 24px;
    font-weight: 600;
}

.store-product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.store-product-actions span {
    color: #6b7280;
    font-size: 13px;
}

.store-add-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-add-form input {
    width: 88px;
}

.store-cart-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-cart-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--theme-border);
    border-radius: 8px;
}

.store-cart-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--theme-surface-warm);
    border-radius: 6px;
    overflow: hidden;
}

.store-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-cart-image i {
    color: #8aa9d4;
    font-size: 28px;
}

.store-cart-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-cart-main strong {
    color: #24466f;
    font-size: 15px;
    font-weight: 600;
}

.store-cart-main span {
    color: #6b7280;
    font-size: 13px;
}

.store-cart-update-form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 0;
}

.store-cart-update-form input {
    width: 72px;
}

.store-cart-update-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
}

.store-cart-price {
    color: #198754;
    font-size: 16px;
    font-weight: 600;
}

.store-cart-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--theme-border);
}

.store-cart-total span {
    color: #6b7280;
    font-size: 14px;
}

.store-cart-total strong {
    color: #198754;
    font-size: 22px;
}

.store-checkout-form {
    margin: 0;
}

.store-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.store-checkout-section {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 18px;
    background: var(--theme-surface-warm);
    border: 1px solid var(--theme-border);
    border-radius: 8px;
}

.store-checkout-section h5 {
    margin: 0 0 6px;
    color: #24466f;
    font-size: 17px;
    font-weight: 600;
}

.store-checkout-section h5:not(:first-child) {
    margin-top: 10px;
}

.store-checkout-section label {
    margin: 6px 0 -3px;
    color: #4d5f75;
    font-size: 13px;
    font-weight: 500;
}

.store-checkout-items {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.store-checkout-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--theme-border);
}

.store-checkout-item span {
    color: #24466f;
    font-size: 13px;
    line-height: 1.3;
}

.store-checkout-item small {
    color: #6b7280;
}

.store-checkout-item strong {
    color: #198754;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.store-method-notes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
}

.store-method-notes div {
    padding: 8px 10px;
    color: #607087;
    background: #fff;
    border: 1px solid var(--theme-border);
    border-radius: 6px;
}

.store-method-notes strong {
    display: block;
    color: #24466f;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
}

.store-method-notes span {
    display: block;
    font-size: 12px;
    line-height: 1.35;
}

.store-checkout-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 10px 0 4px;
    padding: 14px 0;
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
}

.store-checkout-summary span {
    color: #6b7280;
    font-size: 13px;
}

.store-checkout-summary strong {
    color: #198754;
    font-size: 16px;
    font-weight: 600;
}

.store-checkout-warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    color: #7a4a00;
    background: #fff7e6;
    border: 1px solid #ffe0a3;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.35;
}

.store-checkout-warning i {
    margin-top: 1px;
}

@media (max-width: 767px) {
    .store-product-detail {
        grid-template-columns: 1fr;
    }
    .store-checkout-grid {
        grid-template-columns: 1fr;
    }
    .store-cart-row {
        grid-template-columns: 58px minmax(0, 1fr);
    }
    .store-cart-image {
        width: 58px;
        height: 58px;
    }
    .store-cart-price {
        grid-column: 2;
    }
}

.store-placeholder-card,
.store-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 20px;
    color: #415672;
    text-align: center;
    background: var(--theme-surface-warm);
    border: 1px dashed #b9c9dd;
    border-radius: 8px;
}

.store-placeholder-card i,
.store-empty-state i {
    color: var(--theme-accent);
    font-size: 34px;
    margin-bottom: 12px;
}

.store-placeholder-card strong,
.store-empty-state strong {
    color: #24466f;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.store-success-state i {
    color: #198754;
}

.store-failed-state i {
    color: #dc3545;
}

.store-next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 640px;
    margin-top: 16px;
}

.store-next-steps div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--theme-border);
    border-radius: 6px;
}

.store-next-steps i {
    color: var(--theme-accent);
    font-size: 16px;
    margin: 1px 0 0;
}

.store-next-steps span {
    color: #4d5f75;
    font-size: 13px;
    line-height: 1.35;
}

.store-admin-link {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.store-admin-link:hover {
    border-color: #86b7fe !important;
    box-shadow: 0 0.25rem 0.75rem rgba(13, 110, 253, 0.08);
    transform: translateY(-1px);
}

.store-admin-link-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    color: #0d6efd;
    flex: 0 0 auto;
}

.home-block {
    background: #fff;
    border: 1px solid var(--theme-border);
    padding: 12px;
    min-height: 100px;
}

.home-block-title {
    color: var(--theme-accent-text);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.home-block-date {
    color: #1f2937;
    font-size: 30px;
    font-weight: 500;
}

.home-block-list {
    display: grid;
    gap: 6px;
}

.home-block-row {
    display: block;
    padding: 8px;
    color: inherit;
    text-decoration: none;
    border: 1px solid #eef3fb;
    background: #fbfdff;
}

.home-block-row:hover {
    background: #f5f9ff;
    border-color: #d9e7f8;
}

.home-block-row-main {
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: space-between;
}

.home-block-row-actions {
    display: inline-flex;
    gap: 4px;
    flex: 0 0 auto;
}

.home-block-row-actions button {
    border: 1px solid var(--theme-border);
    background: #fff;
    color: var(--theme-accent);
    font-size: 11px;
    line-height: 1.2;
    padding: 2px 7px;
}

.home-block-row-actions button:hover {
    background: var(--theme-accent-soft-hover);
}

.home-block-row-label {
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
}

.home-block-row-entity,
.home-block-row-meta,
.home-block-row-fields,
.home-block-empty {
    color: #6b7280;
    font-size: 12px;
}

.home-block-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.user-menu .dropdown-submenu {
    position: relative;
}

.user-menu .dropdown-submenu > .developer-role-submenu {
    top: -0.5rem;
    right: 100%;
    left: auto;
    margin-right: 0.125rem;
}

@media (max-width: 991.98px) {
    .user-menu .dropdown-submenu > .developer-role-submenu {
        position: static;
        margin: 0.25rem 0 0.25rem 1rem;
        border: 0;
        box-shadow: none;
    }
}

.home-block-row-fields {
    margin-top: 4px;
}

.grid-account-dimension-label {
    display: none;
}
