@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

*{
    font: 14px Segoe UI, sans-serif;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;

    border-radius: 0.375rem;
    border: 1px solid rgba(0,0,0,0.5);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: 0px !important;
    padding: 0.375rem 0.75rem;
    width: 100%
}

h1:focus {
    outline: none;
}
.modal-backdrop {
    z-index: 1055;
}
a, .btn-link {
    color: #0071c1;
}

.btn-outline-link {
    --bs-btn-border-color: #1861ac;
    --bs-btn-hover-border-color: #6c757d;
    --bs-btn-focus-shadow-rgb: 108,117,125;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.spinner {
    display: none; /* hide spinner by default */
    position: absolute;
    top: 50%; /* position in the center vertically */
    left: 50%; /* position in the center horizontally */
    transform: translate(-50%, -50%); /* center align */
    width: 50px; /* adjust size as needed */
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #F40C0C;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    z-index: 1000;
}
#image {
    position: relative;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Show spinner when canvas is loading */
#image.loading .spinner, #editImg.loading .spinner {
    display: block;
}

/* Hide canvas when spinner is showing */
#image.loading .canvas-container, #editImg.loading .canvas-container {
    display: none;
}
    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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."
    }

.bi {
    vertical-align: -.125em;
    pointer-events: none;
    fill: currentColor;
}

.dropdown-toggle {
    outline: 0;
}

.nav-flush .nav-link {
    border-radius: 0;
}

.dashboard-main-row {
    margin-bottom: 1rem !important;
}
.btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
}

    .btn-toggle:hover,
    .btn-toggle:focus {
        color: rgba(0, 0, 0, .85);
        background-color: #d2f4ea;
    }

    .btn-toggle::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }

    .btn-toggle[aria-expanded="true"] {
        color: rgba(0, 0, 0, .85);
    }

        .btn-toggle[aria-expanded="true"]::before {
            transform: rotate(90deg);
        }

.btn-toggle-nav a {
    display: inline-flex;
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    text-decoration: none;
}

    .btn-toggle-nav a:hover,
    .btn-toggle-nav a:focus {
        background-color: #d2f4ea;
    }

.scrollarea {
    overflow-y: auto;
}

.fw-semibold {
    font-weight: 600;
}

.lh-tight {
    line-height: 1.25;
}
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.documents-area-main {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.pl-icon {
    width: 24px;
    height: 24px;
}

.pl-icon-header {
    width: 32px !important;
    height: 32px !important;
}

.pl-icon-btn {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.dashboard-table {
    height: 70vh;
}

#imageActionBar {
    display: flex !important;
    background: #f8f9fa;
}

.list-group-item.fl {
    padding: 7px !important;
    border: transparent;
}

#sidebarg {
    grid-area: sidebar;
    border-radius: var(--main-radius);
    padding-top: var(--main-padding);
    width: 25%
}

.main-top-menu {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}
.pd12 {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
.pd8 {
    padding-left: 8px !important;
    padding-right: 8px !important;
}
.mx-15 {
    margin-right: 15rem !important;
    margin-left: 15rem !important;
}
.header-img {
    height: 42px;
    width: 42px;
}

.pl-icon.sm.pmx {
    margin-left: 0.2rem !important;
    margin-right: 0.2rem !important;
}

@media (max-width: 1440px) { 
    .acc-col-header {
        padding: 0 !important;
    }
    .documents-area-main {
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }
    .btn-icon span {
        display: none;
    }

    .pl-icon.sm {
        width: 16px;
        height: 16px;
    }

    .pl-icon.sm.pmx {
        margin-left: 0.1rem !important;
        margin-right: 0.1rem !important;
    }
    .pagination-sm-ml {
        --bs-pagination-padding-x: 0.5rem;
        --bs-pagination-padding-y: 0.25rem;
        --bs-pagination-font-size: 0.875rem;
        --bs-pagination-border-radius: 0.25rem;
    }
    .pagination-sm .page-link {
        user-select: none;
    }
    .main-top-menu {
        padding-top: 0.1rem !important;
        padding-bottom: 0.1rem !important;
    }
    .header-img {
        height: 38px;
        width: 38px;
    }
 
    .pl-icon-btn.sm {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }
    .list-group-item.fl {
        padding: 2px !important;
    }
    .routines-list * {
        font: 12px Segoe UI, sans-serif !important;
    }
    .dashboard-button-text small {
        font-size: 1rem;
    }
    .dashboard-table {
        height: 62vh;
    }
    .pl-icon-header {
        width: 24px !important;
        height: 24px !important;
    }
    #sidebarg {
        width: 27%;
    }
}
#WindowArea {
    height:100% !important;
}
@media (max-height: 900px){
    .right-bar-items-list{
        height: auto !important;
    }

}
@media (max-height: 600px) {
    .header-img {
        height: 32px;
        width: 32px;
    }
}

@media (max-width: 1280px) {
    .dashboard-main-row {
        margin-bottom: 0rem !important;
    }
}
@media (max-width: 1280px) and (min-width: 768px) {
    .ci-list-container {
        width: 26.66666667% !important;
    }

    .ci-item-container {
        width: 73.33333333% !important;
    }
    .pagination-sm-ml {
        --bs-pagination-padding-y: 0.2rem !important;
        --bs-pagination-font-size: 0.86rem !important;
        --bs-pagination-border-radius: 0.2rem !important;
    }
    #SurroundDiv {
        height: 93vh !important;
    }
    #nav-home {
        height: 84% !important;
    }
    #OtherDocModal {
        height: 500px !important;
    }
    .py-3 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;

    }
    .title{
        font : 1rem;
    }
    #sidebarg {
        padding: 0 !important;
    }
    #DocCountLabel {
        font-size: 11px !important;
        padding-top: 8px !important;
    }
    #ActionRoutineDiv {
        margin-top: 3px !important;
        padding: 0 !important;
    }
    #sideroutins {
        padding-top: 2px !important;
    }
    #RoutineTitle {
        font-size: 14px !important;
        padding: 0 !important;
    }
    #RoutineContainer {
        padding: 3px !important;
    }
    #OtherActionsTitle {
        padding-bottom: 5px !important;
        margin-top: 5px !important;
        font-size: 14px !important;
    }
    #OtherActionsTitle {
        padding: 3px !important;
    }
    #Country {
        min-width: 60px !important;
        width: 60px !important;
        font-size: 10px !important;
        margin-left: 0 !important;
    }
    .routineDivider {
        margin-top: 0 !important;
        padding: 0 !important;
    }
    .spinner-border-IR {
        width: 1rem !important;
        height: 1rem !important;
    }
    mainavr {
        padding: 0 !important;
    }


}
.card-body {
    padding: 5px !important;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

@media only screen and (max-width: 550px) {
    .containersupa {
        grid-template-columns: 1fr;
        grid-template-rows: 0.4fr 0.4fr 2.2fr 1.2fr 1.2fr 1.2fr 1fr;
        grid-template-areas:
            "sidebar"
            "main";
    }
}

.load-wraper {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: rgb(211,211,211);
    z-index: 44;
    overflow: hidden;
    border-radius: 5px;
}

.activity {
    position: absolute;
    left: -45%;
    height: 100%;
    width: 45%;
    background-image: linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
    background-image: -moz-linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
    background-image: -webkit-linear-gradient(to left, rgba(251,251,251, .05), rgba(251,251,251, .3), rgba(251,251,251, .6), rgba(251,251,251, .3), rgba(251,251,251, .05));
    animation: loading 1s infinite;
    z-index: 45;
}

@keyframes loading {
    0% {
        left: -45%;
    }

    100% {
        left: 100%;
    }
}

@keyframes skeleton-animation {
    0% {
        background-position: -450px 0;
    }

    100% {
        background-position: 450px 0;
    }
}

.line {
    background: #656871;
    border-radius: 10px;
    height: 13px;
    margin: 10px 0;
    overflow: hidden;
    position: relative;
}

.line-1 {
    width: calc(100% - 15%);
}

.line-3 {
    width: calc(100% - 40%);
}

.line::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to right, #656871 0%, #888b94 20%, #656871 40%, #656871 100%);
    background-repeat: no-repeat;
    background-size: 450px 400px;
    animation: skeleton-animation 1s linear infinite;
}

/**/

ul {
    list-style-type: none;
    padding: 0;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.task-manager {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0.3px 2.2px rgba(0, 0, 0, 0.011), 0 0.7px 5.3px rgba(0, 0, 0, 0.016), 0 1.3px 10px rgba(0, 0, 0, 0.02), 0 2.2px 17.9px rgba(0, 0, 0, 0.024), 0 4.2px 33.4px rgba(0, 0, 0, 0.029), 0 10px 80px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.left-bar {
    background-color: #f5f8ff;
    width: 230px;
    border-right: 1px solid #e3e7f7;
    position: relative;
}

.left-content {
    padding: 40px;
}

.item {
    color: #353536;
    margin-bottom: 14px;
    font-weight: 500;
}

    .item svg {
        width: 14px;
        height: 14px;
        color: currentcolor;
        margin-right: 10px;
    }

.category-list {
    margin-top: 50px;
}

    .category-list .item {
        color: #8e92a4;
    }

.actions {
    padding: 12px;
    display: flex;
    justify-content: space-between;
}

.circle {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background-color: #fe4d46;
    box-shadow: 14px 0 0 0 #fbc023, 28px 0 0 0 #7dd21f;
}

.circle-2 {
    border-radius: 50%;
    width: 4px;
    height: 4px;
    background-color: #d5d7e3;
    box-shadow: -6px 0 0 0 #d5d7e3, 6px 0 0 0 #d5d7e3;
}

.right-bar {
    width: 320px;
    border-left: 1px solid #e3e7f7;
    display: flex;
    flex-direction: column;
}

    .right-bar .header {
        font-size: 20px;
        color: #8e92a4;
        margin-left: 30px;
    }

.right-bar-items-list {
    height: 90vh;
    box-shadow: 0 2px 6px 0 rgba(136, 148, 171, 0.2), 0 24px 20px -24px rgba(71, 82, 107, 0.1);
    border-radius: 12px;
    overflow-y: auto;
    flex: 1;
}
.top-part {
    padding: 30px;
    align-self: flex-end;
}

    .top-part svg {
        width: 14px;
        height: 14px;
        color: #353536;
        margin-right: 14px;
    }

    .top-part .count {
        font-size: 12px;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        background-color: #623ce8;
        color: #fff;
        justify-content: center;
    }

.right-content {
    padding: 10px 40px;
    overflow-y: auto;
    flex: 1;
}

.task-box {
    position: relative;
    border-radius: 12px;
    width: 100%;
    margin: 20px 0;
    padding: 16px;
    cursor: pointer;
    box-shadow: 2px 2px 4px 0px #ebebeb;
}

    .task-box:hover {
        transform: scale(1.02);
    }

.time {
    margin-bottom: 6px;
    opacity: 0.4;
    font-size: 10px;
}

.task-name {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.6;
}

.yellow {
    background-color: #fff1d6;
}

.blue {
    background-color: #d3e6ff;
}

.red {
    background-color: #ffd9d9;
}

.green {
    background-color: #daffe5;
}

.more-button {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #8e92a4;
    box-shadow: 0 -4px 0 0 #8e92a4, 0 4px 0 0 #8e92a4;
    opacity: 0.4;
    right: 20px;
    top: 30px;
    cursor: pointer;
}

.members {
    display: flex;
    margin-top: 14px;
}

    .members img {
        border-radius: 50%;
        width: 30px;
        height: 30px;
        margin-right: 4px;
        object-fit: cover;
    }

.page-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 40px 20px 0 20px;
}

    .page-content .header {
        font-size: 26px;
        color: #353536;
        margin-top: 30px;
    }

.content-categories {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.nav-item {
    display: none;
}

.category {
    font-weight: 500;
    color: #8e92a4;
    border-bottom: 1px solid #ddd;
    transition: 0.4s ease-in;
    padding: 20px 30px;
    cursor: pointer;
}

#opt-1:checked + label, #opt-2:checked + label, #opt-3:checked + label, #opt-4:checked + label, #opt-5:checked + label, #opt-6:checked + label, #opt-7:checked + label {
    color: var(--CustButtonColor, #ff2323);
    border-bottom: 2px solid var(--CustButtonColor, #ff2323);
}

.task-item {
    display: none;
}

.tasks-wrapper {
    padding: 30px 0;
    flex: 1;
    overflow-y: auto;
    height: 100%;
    padding-right: 8px;
}

.task {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 16px;
    padding-left: 30px;
    color: #777982;
    font-size: 13px;
    font-weight: 500;
}

    .task:hover {
        transform: translatex(2px);
    }

    .task label {
        cursor: pointer;
    }

label .label-text {
    position: relative;
}

    label .label-text:before {
        content: '';
        position: absolute;
        width: 14px;
        height: 14px;
        border: 1px solid #ddd;
        border-radius: 2px;
        left: -24px;
        transition: 0.2s ease;
    }

.task-item:checked + label .label-text:before {
    background-color: #49beb7;
    border: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: center;
    border: 1px solid #49beb7;
}

.tag {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 20px;
}

    .tag.approved {
        background-color: #e0fbf6;
        color: #58c2a9;
    }

    .tag.progress {
        background-color: #ece7fe;
        color: var(--tag-color-text-two);
    }

    .tag.review {
        background-color: var(--tag-color-three);
        color: var(--tag-color-text-three);
    }

    .tag.waiting {
        background-color: var(--tag-color-four);
        color: var(--tag-color-text-four);
    }

.upcoming {
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

@media screen and (max-width: 900px) {
    .left-bar {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .task-manager {
        flex-direction: column;
        overflow-y: auto;
    }

    .right-bar, .page-content {
        width: 100%;
        display: block;
    }

    .tasks-wrapper {
        height: auto;
    }
}

@media screen and (max-width: 520px) {
    .page-content {
        padding: 40px 10px 0 10px;
    }

    .right-content {
        padding: 10px 16px;
    }

    .category {
        padding: 20px;
    }
}
.settings-divider {
    border-top: 1px solid #dadce0;
    padding: 10px 24px 10px
}

.settings-link-block {
    color: #3c4043;
    margin: 0 -24px
}

    .settings-link-block:hover {
        background-color: #f1f3f4
    }
    .settings-link-block:focus {
        background-color: #f1f3f4
    }

    .settings-link-block a {
        align-items: center;
        display: flex;
        justify-content: space-between;
        padding: 12px 24px;
        text-decoration: none
    }

.settings-link-block-text {
    color: #3c4043;
    cursor: pointer
}

.settings-block-svg-span {
    display: inline-block;
    fill: currentColor;
    height: 24px;
    line-height: 24px;
    position: relative;
    width: 24px
}

    .settings-block-svg-span svg {
        display: block;
        height: 100%;
        width: 100%
    }

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-span {
    visibility: hidden;
    position: absolute;
    width: 300px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    z-index: 1;
}

    .tooltip-span::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
    }

.tooltip-wrapper:hover span {
    visibility: visible;
}
.ci-preview-image {
    max-width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}
    .ci-preview-image.small-logo {
        max-width: 250px;
    }
    .ci-preview-image.no-image {
        display: none;
    }

.highlight-search-text {
    background-color: red;
    font-weight: bold;
}
.btn-danger {
    --bs-btn-bg: var(--CustButtonColor, #dc3545) !important;
    --bs-btn-border-color: var(--CustButtonColor, #dc3545) !important;
    --bs-btn-hover-bg: var(--CustButtonBorderColor, #bb2d3b) !important;
    --bs-btn-hover-border-color: var(--CustButtonBorderColor, #b02a37) !important;
    --bs-btn-focus-shadow-rgb: var(--CustButtonBorderColor, rgb(225, 83, 97)) !important;
    --bs-btn-active-bg: var(--CustButtonBorderColor, #b02a37) !important;
    --bs-btn-active-border-color: var(--CustButtonBorderColor, #a52834) !important;
    --bs-btn-disabled-bg: var(--CustButtonColor, #dc3545) !important;
    --bs-btn-disabled-border-color: var(--CustButtonColor, #dc3545) !important;
}

.list-group {
    --bs-list-group-active-bg: var(--CustButtonColor, #dc3545) !important;
    --bs-list-group-active-border-color: var(--CustButtonColor, #dc3545) !important;
}
.dataTable {
    outline: none;
}

.tooltip-table-container {
    position: relative;
    display: inline-block;
}

.tooltip-table-text {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-table-container:hover .tooltip-table-text {
    visibility: visible;
    opacity: 1;
}

.checkbox-wrapper {
    padding: 0 10px;
    margin-right: 10px !important;
    margin-left: 10px !important;
    position: relative;
    display: inline-block;
    width: 24px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.PLlist-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    background-color: #F40C0C; /* Red background (default state) */
    color: #ffffff; /* White text (default state) */
    text-decoration: none;
    border: 1px solid lightgrey;
}

    .PLlist-group-item:first-child {
        border-top-left-radius: inherit;
        border-top-right-radius: inherit;
    }

    .PLlist-group-item:last-child {
        border-bottom-right-radius: inherit;
        border-bottom-left-radius: inherit;
    }

    .PLlist-group-item:hover {
        background-color: #D30B0B !important;
        color: lightgrey;
        z-index: 1;
    }

    .PLlist-group-item:focus,
    .PLlist-group-item:active {
        background-color: #D30B0B !important;
        color: white !important;
        z-index: 2;
        outline: 0;
    }

    .PLlist-group-item.disabled,
    .PLlist-group-item:disabled {
        background-color: #B00A0A;
        color: #B00A0A;
        pointer-events: none;
    }

    .PLlist-group-item.active {
        z-index: 2;
        background-color: lightgrey !important;
        color: black;
    }

.p-6 {
    padding: 4rem !important;
}

.budget-dashboard {
    display: flex;
    min-height: 100vh;
}

.budget-sidebar {
    width: 280px;
    background: white;
    padding: 24px;
    border-right: 1px solid #e5e7eb;
    transition: transform 0.3s ease, width 0.3s ease;
    position: relative;
}

.budget-sidebar.open {
    position: relative;
}

.budget-sidebar.closed {
    width: 20px;
    padding: 10px;
    position: relative;
}
.budget-filter-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.budget-sidebar.closed .budget-filter-content {
    display: none;
}
.budget-toggle-filters {
    position: absolute;
    right: -12px;
    top: 24px;
    width: 24px;
    height: 24px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.2s ease;
}

    .budget-toggle-filters:hover {
        background: #f9fafb;
    }

    .budget-toggle-filters span {
        display: inline-block;
        transition: transform 0.3s ease;
    }

.budget-sidebar h2 {
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
    white-space: nowrap;
}

.budget-filter-group {
    margin-bottom: 24px;
}

    .budget-filter-group label {
        display: block;
        font-size: 0.875rem;
        font-weight: 500;
        color: #374151;
        margin-bottom: 8px;
    }

.budget-filter-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

    .budget-filter-input:focus {
        outline: none;
        border-color: #60a5fa;
        box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
    }

.budget-main-content {
    flex: 1;
    transition: margin-left 0.3s ease;
}

.budget-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.budget-card-header {
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.budget-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.budget-search-container {
    position: relative;
}

.budget-search-input {
    padding: 8px 16px 8px 40px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    width: 300px;
    transition: all 0.2s;
}

    .budget-search-input:focus {
        outline: none;
        border-color: #60a5fa;
        box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
    }

.budget-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.budget-table-container {
    overflow-x: auto;
    padding: 16px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    position: relative;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
}

    .budget-table th {
        text-align: left;
        padding: 12px 16px;
        font-size: 0.875rem;
        font-weight: bold;
        border-bottom: 2px solid #e5e7eb;
    }

    .budget-table td {
        min-width: 100px;
        width: 100px;
        padding: 14px;
        font-size: 0.875rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .budget-table tr:hover {
        background-color: #f9fafb;
        color: #212529 !important;
    }


#budgetDashboard td {
    min-width: 50px;
    width: 50px;
    padding: 12px;
    font-size: 0.875rem;
    border-bottom: 1px solid #e5e7eb;
}
.budget-amount {
    text-align: right;
    font-family: monospace;
    font-size: 0.9rem;
}

.budget-usage-cell {
/*    display: flex;*/
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.budget-progress-bar {
    display: flex;
    width: 100px;
    height: 12px;
    background-color: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.budget-progress-fill {
    height: 100%;
    background-color: #60a5fa;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.budget-progress-fill-left {
    height: 100%;
    background-color: #10b981;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.budget-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.budget-badge-yearly {
    background-color: #e0f2fe;
    color: #0369a1;
}

.budget-badge-monthly {
    background-color: #f1f5f9;
    color: #475569;
}

.budget-badge-quarterly {
    background-color: #ffedd5;
    color: #d97706;
}
.resizable-modal {
    position: relative;
    overflow: visible;
    cursor: nw-resize;
}

    .resizable-modal div[style*="cursor: nwse-resize"] {
        border-radius: 50%;
        background-color: lightblue; /* Make the handle more visible */
        border: 2px solid #000; /* Optional border for visibility */
    }

.modal-content-Error {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    width: 400px;
    position: relative;
    top: 5%;
}