﻿
:root {
    --theme-bg-main: #65647C;
    --theme-bg-main-darker: #65647C;
    --theme-sidebar-link-parent-bg-active: #77768a;
    --theme-sidebar-link-bg-active: #898898;
    --bs-font-sans-serif: 'Google Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-body-bg: #ffffff;
    --blazor-load-percentage: #ffffff;
    --bs-body-font-size: 0.95rem;
}

body {
    margin: 0 !important;
    font-family: var(--bs-body-font-family) !important;
    font-size: var(--bs-body-font-size) !important;
    font-weight: var(--bs-body-font-weight) !important;
    line-height: var(--bs-body-line-height) !important;
    color: var(--bs-body-color) !important;
    text-align: var(--bs-body-text-align) !important;
    background-color: var(--bs-body-bg) !important;
    -webkit-text-size-adjust: 100% !important;
    -webkit-tap-highlight-color: transparent !important;
}


@media (prefers-color-scheme: dark) {
    :root {
        --theme-bg-main: #2E2E2E;
        --theme-bg-main-darker: #1A1A1A;
        --theme-sidebar-link-parent-bg-active: #3A3A3A;
        --theme-sidebar-link-bg-active: #4A4A4A;
        --bs-body-bg: #131313;
    }
}

.money-font {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.loading-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding-bottom: 10rem;
}

    .loading-container .progress-group {
        position: relative;
    }

.loading-progress {
    width: 8rem;
    height: 8rem;
}

    .loading-progress circle {
        fill: none;
        stroke: #314872;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(50% - 0.6rem) 0 auto 0.2rem;
    color: inherit;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.authorizing {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: var(--bs-body-bg) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10rem;
}

    .authorizing .logo {
        height: 132px;
    }

/*#region App page */

.app-page {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

    .app-page > .body {
        overflow-y: auto;
        overflow-x: hidden;
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100%;
        z-index: 1;
        transition: all ease 0.4s;
        background: #f2f2f6;
    }

        .app-page > .body.has-modal {
            top: 15px;
            width: calc(100% - 32px);
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            background: #dcdce1;
            overflow: hidden;
            box-shadow: 0px 2px 2px 3px rgb(0 0 0 / 8%), 0px 3px 1px -2px rgb(0 0 0 / 7%), 0px 1px 5px 0px rgb(0 0 0 / 8%);
        }

            .app-page > .body .calendar-page .top-actions,
            .app-page > .body.has-modal .calendar-page .search-panel,
            .app-page > .body.has-modal .calendar-page .list-container ul,
            .app-page > .body .profile .top-actions,
            .app-page > .body .profile .profile-page {
                transition: all ease 0.4s;
            }

            .app-page > .body.has-modal .calendar-page .top-actions,
            .app-page > .body.has-modal .calendar-page .search-panel,
            .app-page > .body.has-modal .calendar-page .list-container ul,
            .app-page > .body.has-modal .profile .top-actions {
                background: #f2f2f6 !important;
            }

        /*.app-page > .body.has-modal *:not(.list-page) {
            transition: none !important;
        }*/

        .app-page > .body .list-page {
            transition: all ease 0.4s;
        }

        .app-page > .body.has-modal .list-page {
            background: #dcdce1;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }

        .app-page > .body.has-modal .list-group .search-holder {
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
            background: #dcdce1;
        }

    .app-page > .tabs {
        position: fixed;
        width: 100%;
        bottom: 0;
        display: flex;
        flex-wrap: wrap;
        height: 66px;
        background: #3b5998;
    }

        .app-page > .tabs > .tab {
            flex: 1 1;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #c3c3c3;
            transition: 0.6s ease background;
            text-decoration: none;
            padding-bottom: 12px;
            position: relative;
            transition: all ease 0.45s;
        }

            .app-page > .tabs > .tab:before {
                content: "";
                background: #d54d7b;
                position: absolute;
                top: 0;
                left: 8px;
                right: 8px;
                z-index: 1;
                height: 4px;
                border-bottom-left-radius: 2px;
                border-bottom-right-radius: 2px;
                opacity: 0;
                transition: 0.35s;
            }

            .app-page > .tabs > .tab.active {
                color: #e0678f;
            }

                .app-page > .tabs > .tab.active:before {
                    opacity: 1;
                }

                .app-page > .tabs > .tab.active:hover {
                    color: #e87b9f;
                }

/*#endregion */


hr {
    color: rgba(0,0,0,.1);
    opacity: 1;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    /*background: #fff;*/
}

#blazor-error-ui {
    background: #ffffff3d;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 1rem 1.25rem 2.66rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

    #blazor-error-ui .reload {
        text-decoration: none;
    }

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

@media (prefers-color-scheme: dark) {
    #blazor-error-ui {
        background: #1313133d;
    }
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/*#region Max Width */
.w-mx-150 {
    max-width: 150px;
}

.w-mx-155 {
    max-width: 155px;
}

.w-mx-175 {
    max-width: 175px;
}

.w-mx-200 {
    max-width: 200px;
}

.w-mx-225 {
    max-width: 225px;
}

.w-mx-300 {
    max-width: 300px;
}

.w-mx-325 {
    max-width: 325px;
}

.w-mx-355 {
    max-width: 355px;
}

/*#endregion */

.btn.btn-link-nounderline, .link-nounderline {
    text-decoration: none;
}

.validation-message {
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: #dc3545;
}

.form-control.is-invalid, .was-validated .form-control:invalid, .form-control.invalid,
.form-select.is-invalid, .was-validated .form-select:invalid, .form-select.invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: 1.85rem;
}

    .form-control.is-invalid:focus, .was-validated .form-control:invalid:focus, .form-control.invalid:focus,
    .form-select.is-invalid:focus, .was-validated .form-select:invalid:focus, .form-select.invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 25%);
    }

    .form-control.invalid + label,
    .form-select.invalid + label {
        color: #dc3545;
    }

/*.form-check-input {
    border: 1px solid rgb(0 0 0 / 60%);
}*/

.form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.60%29'/%3e%3c/svg%3e");
}

@media (prefers-color-scheme: dark) {
    .form-switch .form-check-input {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28250, 250, 250, 0.25%29'/%3e%3c/svg%3e");
    }
}

.btn-group-xs > .btn, .btn-xs {
    padding: 0.15rem 0.25rem;
    font-size: .7rem;
    line-height: .5;
}

.i-spinner {
    margin-top: -3px;
    height: 20px;
    width: 20px;
}

.validation-container {
    margin-top: 0.25rem;
}

.validation-message {
    width: 100%;
    margin-top: 0;
    font-size: 14px;
    color: #dc3545;
}

ul.validation-errors {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.validation-errors * {
    text-align: left !important;
}

.search-panel {
    position: relative !important;
}

    .search-panel .form-control {
        padding-left: 2.1rem;
        border-radius: 0.6rem;
        outline: none;
        box-shadow: none;
        border: none;
        background: #e9e9ea;
    }

    .search-panel .search-icon {
        position: absolute !important;
        left: 0.8rem;
        top: 0.65rem;
        font-size: 11pt;
        color: #80868b;
    }

.modal-footer .search-panel {
    width: 100%;
    max-width: 100%;
}

    .modal-footer .search-panel .col {
        padding: 0;
    }

.sticky-right {
    position: sticky;
    right: 0;
}

.ellipsis {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

    .ellipsis.ellipsis-line-1 {
        -webkit-line-clamp: 1;
    }

    .ellipsis.ellipsis-line-2 {
        -webkit-line-clamp: 2;
    }

    .ellipsis.ellipsis-line-3 {
        -webkit-line-clamp: 3;
    }

    .ellipsis.ellipsis-line-4 {
        -webkit-line-clamp: 4;
    }

@media (min-width: 576px) {
    .text-xs-center {
        text-align: center !important;
    }

    .text-xs-left {
        text-align: left !important;
    }
}


@media (min-width: 768px) {
    .text-md-center {
        text-align: center !important;
    }

    .text-md-left {
        text-align: left !important;
    }
}


@media (min-width: 992px) {
    .text-lg-center {
        text-align: center !important;
    }

    .text-lg-left {
        text-align: left !important;
    }
}


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

    .text-xl-left {
        text-align: left !important;
    }
}


@media (min-width: 1400px) {
    .text-xxl-center {
        text-align: center !important;
    }

    .text-xxl-left {
        text-align: left !important;
    }
}

.form-floating > label {
    text-align: left !important;
}

.table:not(.dataTable) > :not(:first-child) {
    border-top: none;
}

.table:not(.dataTable) thead th, .table:not(.dataTable) thead td,
.table:not(.dataTable) tfoot th, .table:not(.dataTable) tfoot td {
    position: relative;
}

.table:not(.dataTable):not(.table-bordered) thead th::before,
.table:not(.dataTable):not(.table-bordered) thead td::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom: 2px solid currentColor;
    z-index: 1;
}

.table.table-bordered:not(.dataTable) thead tr,
.table.table-bordered:not(.dataTable) thead tr,
.table.table-bordered:not(.dataTable) thead th,
.table.table-bordered:not(.dataTable) thead td,
.table.table-bordered:not(.dataTable) tbody tr:last-child {
    border-bottom-width: 0;
}

.table.table-bordered:not(.dataTable) tbody tr:first-child,
.table.table-bordered:not(.dataTable) thead tr {
    border-top-width: 0;
}

.table.table-bordered:not(.dataTable) thead th::before,
.table.table-bordered:not(.dataTable) thead td::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid #dee2e6;
    /*border-left: 1px solid #dee2e6;*/
    border-right: 0;
    z-index: 1;
}

.table.table-bordered:not(.dataTable) thead tr:first-child th::before,
.table.table-bordered:not(.dataTable) thead tr:first-child td::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #dee2e6;
    z-index: 1;
}

.border-top > .table.table-bordered:not(.dataTable) thead tr:first-child th::before,
.border-top > .table.table-bordered:not(.dataTable) thead tr:first-child td::before {
    border-top: none;
}

.table:not(.dataTable) thead th *,
.table:not(.dataTable) thead td * {
    position: relative;
    z-index: 2;
}

.table:not(.dataTable) tfoot tr:first-child th::before,
.table:not(.dataTable) tfoot tr:first-child td::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 2px solid currentColor;
    z-index: 1;
}

.table:not(.dataTable) tfoot tr:first-child th *,
.table:not(.dataTable) tfoot tr:first-child td * {
    position: relative;
    z-index: 2;
}

/*#region Mobile Dialog */

.mobile-modal-backdrop {
    position: fixed;
    z-index: 598;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: transparent;
    display: none;
}

    .mobile-modal-backdrop.show {
        display: inherit;
    }

.mobile-modal {
    position: fixed;
    z-index: 9999;
    height: calc(100% - 20px);
    width: 100%;
    left: 0;
    overflow: hidden;
    -webkit-transform: translateY(calc(100% - 20px));
    transform: translateY(calc(100% - 20px));
    transition: transform 700ms ease;
    will-change: transform;
    display: flex;
    justify-content: center;
}

    .mobile-modal.show {
        -webkit-transform: translateY(calc(-100%));
        transform: translateY(-100%);
        transition: transform 400ms ease;
        will-change: transform;
    }

        .mobile-modal.show.has-overlay {
            -webkit-transform: translateY(calc(-100% - 5px));
            transform: translateY(calc(-100% - 5px));
            transition: transform 500ms ease;
            will-change: transform;
        }

    .mobile-modal .mobile-modal-dialog {
        position: absolute;
        height: calc(100% - 4px);
        width: 100%;
        bottom: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: #f2f2f6;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        box-shadow: 0px 2px 2px 3px rgb(0 0 0 / 8%), 0px 3px 1px -2px rgb(0 0 0 / 7%), 0px 1px 5px 0px rgb(0 0 0 / 8%);
        transition: all ease 0.4s;
    }

    .mobile-modal.show.has-overlay .mobile-modal-dialog {
        height: calc(100% - 1px);
        width: calc(100% - 31px);
    }

    .mobile-modal .mobile-modal-dialog .mobile-modal-header {
        width: 100%;
        height: 54px;
        align-items: center;
    }

        .mobile-modal .mobile-modal-dialog .mobile-modal-header > .header-item {
            width: calc(100% / 3);
            text-align: center;
        }

            .mobile-modal .mobile-modal-dialog .mobile-modal-header > .header-item:not(:first-child) {
                font-weight: 700;
            }

            .mobile-modal .mobile-modal-dialog .mobile-modal-header > .header-item > * {
                vertical-align: middle;
                overflow: hidden;
            }

            .mobile-modal .mobile-modal-dialog .mobile-modal-header > .header-item:first-child {
                text-align: start;
            }

            .mobile-modal .mobile-modal-dialog .mobile-modal-header > .header-item:last-child {
                text-align: end;
            }

    .mobile-modal .mobile-modal-dialog .mobile-modal-body {
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        align-self: stretch;
        flex: 1;
        padding: 0;
    }

    .mobile-modal .mobile-modal-dialog .mobile-modal-footer {
        overflow: hidden;
        width: 100%;
        height: 0;
        transition: all ease 0.35s !important;
        padding-bottom: 0;
        padding-top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .mobile-modal .mobile-modal-dialog .mobile-modal-footer.form-status {
            background: #ffffff;
            border-top: 1px solid #e9e9ea;
        }

        .mobile-modal .mobile-modal-dialog .mobile-modal-footer.show {
            height: 71px;
            padding-bottom: 1.8rem;
            padding-top: 0.3rem;
        }

@media (prefers-color-scheme: dark) {
    .mobile-modal .mobile-modal-dialog,
    .app-page > .body,
    .app-page > .body.has-modal {
        background: #1c1c1e;
    }
}

/*#endregion */

.jq-toast-wrap {
    width: auto;
    bottom: 42px !important;
    z-index: 99999;
}

    .jq-toast-wrap .jq-has-icon {
        padding: 10px 30px 10px 35px;
        background-size: 15px;
    }

    .jq-toast-wrap .close-jq-toast-single {
        padding: 7px 9px;
        right: 2px;
        border-radius: 10px;
    }

.text-break-spaces {
    word-wrap: break-word;
}

/*#region Mobile Form */

.group-title {
    padding-left: 0.8rem;
    margin-bottom: 0.2rem;
    display: flex;
}

.frm-group {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: .7rem;
    margin-bottom: 1.8rem;
    padding: 0 0 0 1.2rem;
}

    .frm-group.frm-action {
        cursor: default;
    }

        .frm-group.frm-action:active {
            background: #e9e9ea;
        }

    .frm-group .frm-item {
        padding: 0.6rem 0.8rem 0.6rem 0;
    }

        .frm-group .frm-item:not(:first-child) {
            border-top: 1px solid #e9e9ea;
        }

    .frm-group .frm-select,
    .frm-group .frm-input,
    .frm-group .frm-date,
    .frm-group .frm-textarea {
        display: flex;
        align-items: center;
        justify-content: start;
    }

        .frm-group .frm-select label {
            padding: 0;
            margin-right: 0.4rem;
        }

        .frm-group .frm-select select {
            width: 100%;
            display: block;
            -webkit-appearance: none;
            text-align: -webkit-right;
            text-align: right;
            border: none;
            padding: 0;
            box-shadow: none;
            outline: none;
            background: transparent;
            color: #97979b;
            direction: rtl;
            padding-right: .4rem;
            text-overflow: ellipsis;
            word-break: break-all;
        }

            .frm-group .frm-select select:active {
                direction: ltr;
                color: transparent;
            }

        .frm-group .frm-input input,
        .frm-group .frm-input textarea {
            width: 100%;
            border: none;
            padding: 0 0.3rem 0 0;
            box-shadow: none;
            outline: none;
            background: transparent;
        }

        .frm-group .frm-textarea textarea {
            width: 100%;
            border: none;
            padding: 0;
            box-shadow: none;
            outline: none;
            background: transparent;
            min-height: 24px;
            min-width: 100%;
            max-width: 100%;
        }

        .frm-group .frm-date input {
            width: 100%;
            display: block;
            text-align: -webkit-right;
            text-align: right;
            border: none;
            padding: 0 0.4rem 0 0;
            box-shadow: none;
            outline: none;
            background: transparent;
            color: fieldtext;
        }

            .frm-group .frm-date input::-webkit-date-and-time-value {
                text-align: -webkit-right;
                text-align: right;
            }

    .frm-group .frm-switch {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.6rem 1.2rem 0.6rem 0
    }

        .frm-group .frm-switch label {
            padding: 0;
            margin-right: 0.4rem;
            flex-grow: 1;
        }

        .frm-group .frm-switch .form-switch {
            text-align: right;
            margin: 0 !important;
        }

            .frm-group .frm-switch .form-switch .form-check-input {
                margin-left: -1.7rem;
                box-shadow: none;
                margin-top: .27em;
            }

                .frm-group .frm-switch .form-switch .form-check-input:not(:checked):focus {
                    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.60%29'/%3e%3c/svg%3e");
                    border: 1px solid rgba(0,0,0,.25);
                }

    .frm-group .frm-attachment-header {
        display: flex;
        justify-content: end;
        align-items: center;
    }

        .frm-group .frm-attachment-header label:not(.action) {
            padding: 0;
            flex-grow: 1;
        }

        .frm-group .frm-attachment-header .action {
            display: flex;
            justify-content: end;
            margin-right: 0.4rem;
            margin-left: 0.8rem;
        }

        .frm-group .frm-attachment-header .frm-file {
            display: none;
            width: 0;
            max-width: 0;
        }

    .frm-group .frm-attachment-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 1.2rem;
    }

        .frm-group .frm-attachment-item label {
            margin-right: 0.45rem;
        }

        .frm-group .frm-attachment-item .file-info {
            display: flex;
            justify-content: end;
            color: #97979b;
        }

            .frm-group .frm-attachment-item .file-info .file-name {
                width: calc(100% - 82px) !important;
                text-align: right;
                flex-grow: 1;
            }

            .frm-group .frm-attachment-item .file-info .remove {
                padding-left: 0.8rem;
                color: #97979b;
                text-align: right;
                cursor: default;
            }

    .frm-group.frm-action .frm-item {
        padding-right: 1.2rem;
        text-align: center;
        vertical-align: middle;
    }

    .frm-group .frm-item-action {
        margin-left: -1.2rem;
        padding: 0 0 0 1.2rem;
        border-top: none !important;
        line-height: 1.45rem;
    }

        .frm-group .frm-item-action:active,
        .frm-group .frm-item-action:focus,
        .frm-group .frm-item-action:hover {
            background: #e9e9ea;
        }

        .frm-group .frm-item-action .frm-item-action-label {
            display: block;
            height: 100%;
            padding: 0.6rem 0.8rem 0.6rem 0;
            border-top: 1px solid #e9e9ea;
            cursor: default;
        }

    .frm-group .frm-readonly-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 1.2rem;
    }

        .frm-group .frm-readonly-item .readonly-value {
            color: #97979b;
        }

@media (prefers-color-scheme: dark) {
    .frm-group {
        background: #2c2c2e !important;
    }

        .frm-group .frm-item:not(:first-child),
        .frm-group .frm-item-action .frm-item-action-label {
            border-top: 1px solid #3b3b3b;
        }

        .frm-group .frm-date input::-webkit-date-and-time-value {
            color: #e9e9e9 !important;
        }

        .frm-group.frm-action:active,
        .frm-group .frm-item-action:active, .frm-group .frm-item-action:focus, .frm-group .frm-item-action:hover {
            background: #333334 !important;
        }

        .frm-group .frm-switch .form-switch .form-check-input:not(:checked):focus {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28250, 250, 250, 0.25%29'/%3e%3c/svg%3e");
            border: 1px solid rgba(255,255,255,.25);
        }

        .frm-group .frm-input input::placeholder,
        .frm-group .frm-input textarea::placeholder,
        .frm-group .frm-select select,
        .frm-group .frm-readonly-item .readonly-value {
            color: #5e5e5e;
        }
}

/*#endregion */

/*#region Swal */

.swal2-container.swal2-backdrop-show, .swal2-container.swal2-noanimation {
    background: rgb(0 0 0 / 9%) !important;
}

.swal2-popup {
    border-radius: 1rem !important;
    overflow: hidden !important;
    padding-bottom: 4rem !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    background: #ffffffde !important;
    box-shadow: 0px 0px 1px -8px rgb(0 0 0 / 8%), 1px -6px 1px -6px rgb(0 0 0 / 7%), 0px 1px 0px 0px rgb(0 0 0 / 4%) !important;
    border: 1px solid #e9e9ea !important;
}

.swal2-content {
    font-size: 1rem !important;
}

.swal2-title {
    font-size: 1.13rem !important;
}

.swal2-styled.swal2-confirm,
.swal2-styled.swal2-cancel {
    outline: none !important;
    box-shadow: none !important;
    flex-grow: 1;
    margin: 0;
    background: transparent !important;
    border: 1px solid #dbdbdb !important;
    color: #595959 !important;
    border-radius: 0 !important;
    padding: 0.625em !important;
    width: 50%;
    font-size: 1rem !important;
}

    .swal2-styled.swal2-confirm:active,
    .swal2-styled.swal2-cancel:active {
        background: #dbdbdb7d !important;
    }

.swal2-styled.swal2-cancel {
    margin-right: -1px;
    border-left: none !important;
    border-bottom: none !important;
    border-right: none !important;
}

.swal2-styled.swal2-confirm {
    border-right: none !important;
    border-bottom: none !important;
}

.swal2-actions {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    flex-direction: row-reverse;
}

.swal2-icon {
    display: none !important;
}

@media (prefers-color-scheme: dark) {
    .swal2-popup {
        background: #2c2c2ed9 !important;
        border: 1px solid #252525 !important;
    }

    .swal2-styled.swal2-confirm,
    .swal2-styled.swal2-cancel {
        border-color: #3b3b3b !important;
        color: #e5e5e5 !important;
    }

        .swal2-styled.swal2-confirm:active,
        .swal2-styled.swal2-cancel:active {
            background: #2d2d2fd8 !important;
        }

    .swal2-content {
        color: #e5e5e5 !important;
    }
}

/*#endregion */

/*#region Short notification */

.short-notification {
    position: fixed;
    z-index: 99999999;
    left: 0;
    right: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    bottom: -4rem;
    transition: all ease 0.35s !important;
}

    .short-notification .short-notification-content {
        padding: 0.3rem 0.8rem 0.3rem 0.8rem;
        -webkit-backdrop-filter: blur(25px) !important;
        backdrop-filter: blur(25px) !important;
        background: #cccccc8c;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #e9e9ea80 !important;
        border-radius: 20px;
    }

    .short-notification.show {
        opacity: 1;
        bottom: 2.5rem;
    }

@media (prefers-color-scheme: dark) {
    .short-notification .short-notification-content {
        background: #1c1c1c8c;
        border: 1px solid #252525 !important;
    }
}

/*#endregion */

/*#region Syncfusion Calendar */

.e-schedule .template-wrap {
    white-space: normal;
    display: flex;
    flex-flow: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
    padding: 4px 4px 0 11px;
    margin: 0 -4px 0 -4px;
    width: calc(100% + 8px);
    position: relative;
}

    .e-schedule .template-wrap.t-overdue,
    .e-schedule .template-wrap.t-ongoing,
    .e-schedule .template-wrap.t-future {
        padding-left: 16px;
    }

        .e-schedule .template-wrap.t-overdue:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 0.5rem;
            background: #cb5252;
            box-shadow: 0px 2px 2px 3px rgb(0 0 0 / 8%), 0px 3px 1px -2px rgb(0 0 0 / 7%), 0px 1px 5px 0px rgb(0 0 0 / 8%);
        }

        .e-schedule .template-wrap.t-ongoing:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 0.5rem;
            background: #c3a822;
            box-shadow: 0px 2px 2px 3px rgb(0 0 0 / 8%), 0px 3px 1px -2px rgb(0 0 0 / 7%), 0px 1px 5px 0px rgb(0 0 0 / 8%);
        }

        .e-schedule .template-wrap.t-future:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 0.5rem;
            background: #bb55b3;
            box-shadow: 0px 2px 2px 3px rgb(0 0 0 / 8%), 0px 3px 1px -2px rgb(0 0 0 / 7%), 0px 1px 5px 0px rgb(0 0 0 / 8%);
        }

    .e-schedule .template-wrap .task-info {
        width: calc(100% - 1.5rem);
    }

    .e-schedule .template-wrap .task-status-icon {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }

    .e-schedule .template-wrap .subject {
        font-size: 1rem;
        line-height: 1.24rem;
        font-weight: 700;
    }

    .e-schedule .template-wrap .output {
        width: 100%;
        align-self: stretch;
        flex: 1 1 auto;
    }

.e-schedule .e-schedule-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-right .e-toolbar-item .e-tbar-btn,
.e-schedule .e-vertical-view .e-all-day-appointment-wrapper .e-appointment {
    border-radius: 4px !important;
}

.e-schedule .e-vertical-view .e-day-wrapper .e-appointment {
    border-radius: 6px !important;
}

.e-schedule.e-device .e-schedule-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-right .e-toolbar-item .e-tbar-btn,
.e-schedule .e-schedule-toolbar .e-hor-nav,
.e-calendar .e-footer-container,
.e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-right {
    display: none;
}

.e-schedule.e-device .e-schedule-toolbar .e-toolbar-items.e-tbar-pos {
    position: absolute;
    left: 0;
    right: 0;
}

.e-toolbar .e-toolbar-item.e-date-range {
    position: absolute;
    right: 0;
}

.e-toolbar .e-toolbar-items.e-tbar-pos .e-toolbar-left {
    width: 100% !important;
}

.e-schedule-toolbar-container .e-header-popup {
    right: 0 !important;
    left: auto !important;
}

.e-toolbar .e-toolbar-item .e-tbar-btn {
    background: transparent !important;
}

    .e-toolbar .e-toolbar-item .e-tbar-btn .e-icons {
        color: #6c757d !important;
    }

.e-schedule .e-schedule-toolbar .e-toolbar-items .e-toolbar-item.e-date-range .e-tbar-btn .e-tbar-btn-text {
    color: #212529;
}

.e-schedule .e-vertical-view .e-day-wrapper .e-appointment .e-appointment-details {
    height: 100%;
}

.e-schedule .e-toolbar-item.e-overflow-show.e-add,
.e-schedule .e-toolbar-item.e-overflow-show.e-today,
.e-schedule .e-toolbar-item.e-separator.e-schedule-seperator,
.e-schedule .e-toolbar-item.e-views {
    display: none !important;
}

.e-toolbar.e-spacer-toolbar.e-pop-mode .e-toolbar-items {
    width: 100% !important;
}

/*#endregion */

/*#region Calendar Light */

.e-schedule .e-schedule-toolbar {
    box-shadow: none;
}

.e-schedule,
.e-schedule .e-month-view .e-date-header-wrap table td,
.e-schedule .e-month-agenda-view .e-date-header-wrap table td,
.e-toolbar,
.e-toolbar * {
    background: #ffffff !important;
    transition: all ease 0.4s;
}

.app-page > .body.has-modal .e-schedule,
.app-page > .body.has-modal .e-schedule .e-month-view .e-date-header-wrap table td,
.app-page > .body.has-modal .e-schedule .e-month-agenda-view .e-date-header-wrap table td,
.app-page > .body.has-modal .e-toolbar,
.app-page > .body.has-modal .e-toolbar * {
    background: #f2f2f6 !important;
}

.e-schedule .e-vertical-view {
    border-top: 1px solid #dee2e6;
}

    .e-schedule .e-vertical-view .e-content-wrap, .e-schedule .e-vertical-view .e-time-cells-wrap {
        height: calc(100dvh - 241.6px) !important;
    }

.e-schedule .e-month-view .e-content-wrap {
    height: calc(100dvh - 216px) !important;
    min-height: 168px !important;
}

.e-schedule .e-month-view .e-date-header-wrap table td, .e-schedule .e-month-agenda-view .e-date-header-wrap table td {
    border-width: 0 0 1px 0;
}

.e-schedule .e-month-agenda-view .e-appointment {
    border-radius: 4px !important;
    color: #fff !important;
    border-left: 0 !important;
    box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 5%), 0px 3px 1px -2px rgb(0 0 0 / 5%), 0px 1px 5px 0px rgb(0 0 0 / 10%);
}

.e-schedule .e-month-agenda-view .e-subject,
.e-schedule .e-month-agenda-view .e-date-time {
    color: #fff !important;
}

.e-schedule .e-month-agenda-view .e-agenda-item.e-month-agenda-view {
    padding: 4px 0 !important;
}

    .e-schedule .e-month-agenda-view .e-agenda-item.e-month-agenda-view:first-child {
        padding-top: 10px !important;
    }

    .e-schedule .e-month-agenda-view .e-agenda-item.e-month-agenda-view:last-child {
        padding-bottom: 10px !important;
    }

.e-schedule .e-control.e-toolbar.e-spacer-toolbar,
.e-schedule .e-control.e-toolbar.e-spacer-toolbar .e-toolbar-items {
    height: 54px !important;
}

.e-toolbar .e-toolbar-items:not(.e-tbar-pos):not(.e-toolbar-multirow) .e-toolbar-item:first-child {
    margin-left: 0px !important;
}

.e-schedule .e-schedule-toolbar .e-toolbar-items .e-tbar-btn.e-btn.e-tbtn-txt .e-icons.e-icon-right.e-btn-icon.e-icon-down-arrow {
    margin-top: 0px !important;
}

.e-toolbar .e-toolbar-item .e-tbar-btn {
    box-shadow: none !important;
}

    .e-toolbar .e-toolbar-item .e-tbar-btn:not(.e-tbtn-txt) .e-icons {
        padding: 0 16px;
    }

        .e-toolbar .e-toolbar-item .e-tbar-btn:not(.e-tbtn-txt) .e-icons.e-icon-prev {
            padding-left: 4px;
        }

        .e-toolbar .e-toolbar-item .e-tbar-btn:not(.e-tbtn-txt) .e-icons.e-icon-next {
            padding-right: 4px;
        }

@media (min-width: 992px) {
    .e-schedule .e-month-view .e-content-wrap {
        height: calc(100dvh - 216px) !important;
        min-height: 168px !important;
    }
}

/*#endregion */

/*#region Calendar Dark */

@media (prefers-color-scheme: dark) {
    .e-schedule .e-schedule-toolbar {
        box-shadow: none;
        /*border-bottom: 1px solid #252525;*/
    }

    .e-schedule .e-month-view .e-work-cells, .e-schedule .e-month-agenda-view .e-work-cells {
        background: #131313 !important;
        border-color: #252525 !important;
    }

    .e-schedule .e-month-view .e-work-days, .e-schedule .e-month-agenda-view .e-work-days,
    .e-schedule .e-vertical-view .e-work-hours,
    .e-schedule .e-vertical-view .e-work-cells,
    .e-calendar, .e-bigger.e-small .e-calendar {
        background: #000000 !important;
    }

    .e-schedule .e-month-view .e-other-month, .e-schedule .e-month-agenda-view .e-other-month,
    .e-schedule .e-month-view .e-more-indicator,
    .e-schedule .e-schedule-toolbar .e-toolbar-items .e-toolbar-item.e-date-range .e-tbar-btn .e-tbar-btn-text {
        color: #e9e9ea !important;
    }

    .e-schedule .e-month-view .e-work-cells, .e-schedule .e-month-agenda-view .e-work-cells,
    .e-calendar .e-content span, .e-bigger.e-small .e-calendar .e-content span,
    .e-calendar .e-header .e-title, .e-bigger.e-small .e-calendar .e-header .e-title {
        color: #b7b7b7;
    }

    .e-schedule .e-month-view .e-date-header-wrap table td, .e-schedule .e-month-agenda-view .e-date-header-wrap table td {
        color: #585f67;
    }

    .e-schedule,
    .e-schedule .e-month-view .e-date-header-wrap table td,
    .e-schedule .e-month-agenda-view .e-date-header-wrap table td,
    .e-toolbar,
    .e-toolbar * {
        background: #131313 !important;
        border-color: #252525 !important;
        transition: all ease 0.4s;
    }


        .e-schedule .e-vertical-view {
            border-top: none;
        }

            .e-schedule .e-vertical-view .e-work-hours,
            .e-schedule .e-vertical-view .e-work-cells {
                border-color: #252525 !important;
            }

            .e-schedule .e-vertical-view .e-time-cells-wrap table td,
            .e-schedule .e-vertical-view .e-date-header-wrap table tbody td,
            .e-schedule .e-vertical-view .e-left-indent-wrap table tbody td {
                background: #131313 !important;
                border-color: #252525 !important;
            }

            .e-schedule .e-vertical-view .e-date-header-wrap *:not(.template-wrap):not(.e-appointment-details):not(.e-appointment),
            .e-schedule .e-vertical-view .e-left-indent * {
                border-bottom: none !important;
            }

            .e-schedule .e-vertical-view .e-date-header-wrap table tbody td,
            .e-schedule .e-vertical-view .e-left-indent-wrap table tbody td {
                border-top: 1px solid #252525 !important;
            }

            .e-schedule .e-vertical-view .e-day-wrapper .e-appointment,
            .e-schedule .e-month-view .e-appointment {
                border: 1px solid #575757;
            }

        .e-schedule .e-year-view .e-calendar-wrapper .e-work-cells.e-disable-dates {
            background: #000000 !important;
            opacity: 0.4;
        }

        .e-schedule .e-header-calendar {
            border: 1px solid #252525;
        }

    .e-calendar .e-content td.e-disabled,
    .e-bigger.e-small .e-calendar .e-content td.e-disabled {
        opacity: 0.6;
    }

    .search-panel .form-control {
        background: #2a2b2d;
    }
}

/*#endregion */

.jq-toast-single {
    background: #ffffffd4;
    color: inherit;
    background-image: none;
    padding: 10px 30px 10px 15px !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px;
}

@media (prefers-color-scheme: dark) {
    .app-page > .body .profile {
        background: #131313;
        transition: all ease 0.4s;
    }

        .app-page > .body .profile .top-actions {
            border-color: #131313;
        }

    .app-page > .body.has-modal .calendar-page .top-actions,
    .app-page > .body.has-modal .calendar-page .search-panel,
    .app-page > .body.has-modal .calendar-page .list-container ul,
    .app-page > .body.has-modal .profile .top-actions,
    .app-page > .body.has-modal .profile .profile-page,
    .app-page > .body.has-modal .e-schedule,
    .app-page > .body.has-modal .e-schedule .e-month-view .e-date-header-wrap table td,
    .app-page > .body.has-modal .e-schedule .e-month-agenda-view .e-date-header-wrap table td,
    .app-page > .body.has-modal .e-toolbar,
    .app-page > .body.has-modal .e-toolbar *,
    .app-page > .body.has-modal .profile {
        background: #1c1c1e !important;
        border-color: #1c1c1e;
    }

    .jq-toast-single {
        background: #393939d4;
        color: #e9e9ea !important;
    }
}
