body {
    font-family: 'IBM Plex Sans', sans-serif !important;
}

::-webkit-scrollbar {
    width: 5px;
}


/* Track */

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #f5f5f5;
    border-radius: 5px;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #89b7e4;
    /* background: -webkit-gradient(linear,
                                         left bottom,
                                         left top,
                                         color-stop(0.44, rgb(122,153,217)),
                                         color-stop(0.72, rgb(73,125,189)),
                                         color-stop(0.86, rgb(28,58,148)));  */
    border-radius: 5px;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #89b7e4;
}

.badge {
    font: 100% !important;
}

.word-wrap {
    overflow-wrap: break-word !important;
    word-break: break-all !important;
}

.word-wrap p {
    margin: 0px !important;
    padding: 0px !important;
}

.text-nowrap {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

.peditor-height {
    height: 300px !important;
}

p-editor {
    height: 300px !important;
}

p-header {
    display: none !important;
}

.ui-editor-toolbar {
    display: none !important;
}

.ui-widget {
    border: 0px solid #c8c8c8 !important;
}

.ui-editor-container .ui-editor-content {
    border: 1px solid #f3f6f9 !important;
}

.ui-editor-container .ui-editor-content .ql-editor {
    background: #f3f6f9 !important;
}

.input-disabled {
    background: #e9ecef;
    padding: 5px;
    height: 33px;
    overflow: hidden;
    border: #ced4da 1px solid;
    border-radius: 3px;
    color: #838384;
    user-select: none;
}

.font-12 {
    font-size: 12px;
}

/* New Styles for Incident page top menu */

.skew-menu {
    text-align: center;
    margin: 0px !important;
}

.skew-menu ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: skew(-25deg);
}

.skew-menu ul li {
    background: #fff;
    float: left;
    border-right: 1px solid #eee;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    /* text-transform: uppercase; */
    color: #555;
    /* font-weight: bolder; */
    transition: all 0.3s linear;
}

.skew-menu ul li:first-child {
    border-radius: 7px 0 0 7px;
}

.skew-menu ul li:last-child {
    border-right: none;
    border-radius: 0 7px 7px 0;
}

.skew-menu ul li:hover {
    color: #213965 !important;
    background: #c9dbeb !important;
}

.skew-menu ul li.active {
    color: #213965;
    transform: skew(0deg);
    background: #c9dbeb !important;
}

.skew-menu ul li a.active {
    color: #213965;
    transform: skew(0deg);
}

.skew-menu ul li a.active div {
    transform: skew(25deg) !important;
}

.skew-menu ul li a {
    display: block;
    padding: 5px 10px;
    color: inherit;
    text-decoration: none;
    transform: skew(25deg);
}


/*
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff !important;
    background: #396495 !important;
    border-radius: inherit !important;
} */

.back-btn-right {
    position: absolute;
    right: 20px;
    top: 12px;
}


/*
th:first-child {
    position: sticky;
    left: 0px;
    background-color: #0f62fe !important;
    border-left: 1px solid #d9dada !important;
    border-bottom: 1px solid #d9dada !important;
}

td:first-child {
    position: sticky;
    left: 0px;
    background-color: #efefef !important;
    border-left: 1px solid #d9dada !important;
    border-bottom: 1px solid #d9dada !important;
}

th:last-child {
    position: sticky;
    left: 0px;
    background-color: #0f62fe !important;
    border-left: 1px solid #d9dada !important;
    border-bottom: 1px solid #d9dada !important;
}

td:last-child {
    position: sticky;
    left: 0px;
    background-color: #efefef !important;
    border-left: 1px solid #d9dada !important;
    border-bottom: 1px solid #d9dada !important;
} */

th.actions-sticky {
    position: sticky;
    right: 0px;
    background-color: #0f62fe !important;
    border-left: 1px solid #d9dada !important;
    border-bottom: 1px solid #d9dada !important;
    box-shadow: -3px 5px 12px -1px #aaaaaa;
}

td.actions-sticky {
    position: sticky;
    right: 0px;
    background-color: #efefef !important;
    border-left: 1px solid #d9dada !important;
    border-bottom: 1px solid #d9dada !important;
    box-shadow: -3px 5px 12px -1px #aaaaaa;
}


/*  New Styles Modal popup */

.custom-modalbox {
    position: absolute !important;
    right: 0px;
    bottom: 0px;
}

.custom-modalbox .mat-dialog-container {
    display: block;
    padding: 0px !important;
    border-radius: 4px;
    box-sizing: border-box;
    overflow: auto;
    outline: 0;
    width: 100%;
    height: 100%;
    min-height: inherit;
    max-height: inherit;
}

.custom-modalbox .cdk-overlay-pane {
    pointer-events: auto !important;
    position: absolute !important;
    right: 0px !important;
    bottom: 0px !important;
}

.custom-modalbox .modal-body {
    overflow: auto;
    min-height: 25vh;
    max-height: 78vh;
}

.vmodal-content {
    margin-top: 31px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(77, 101, 147, 0.25);
    border-radius: 9px;
    outline: 0;
}

.cdk-global-overlay-wrapper,
.cdk-overlay-container {
    pointer-events: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
    opacity: 1;
}

.cdk-overlay-dark-backdrop {
    background: rgba(0, 0, 0, 0.288);
}

.cdk-overlay-backdrop {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.cdk-global-overlay-wrapper {
    display: -webkit-box;
    display: flex;
    position: absolute;
    z-index: 1000;
}

.cdk-global-overlay-wrapper,
.cdk-overlay-container {
    pointer-events: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.custom-modalbox {
    position: absolute !important;
    right: 0px;
    bottom: 0px;
}

.cdk-overlay-pane {
    position: absolute;
    pointer-events: auto;
    box-sizing: border-box;
    z-index: 1000;
    display: -webkit-box;
    display: flex;
    max-width: 100%;
    max-height: 100%;
}

.mat-checkbox-inner-container {
    width: 13px !important;
    height: 13px !important;
}

.form-search-box2 {
    width: 95%;
    border: 1px solid #cacfe7;
    outline: 0;
    border-radius: 3px;
}

.form-search-box2,
.form-search-close-icon2,
.form-search-wrapper2 {
    position: relative;
    /* padding: 8px 4px; */
}

.form-search-wrapper2 {
    /* width: 250px; */
    float: left;
    /* margin: auto;
    margin-top: 6px; */
}

.form-search-box2:focus {
    /* box-shadow: 0 0 15px 5px #b0e0ee; */
    border: 1px solid #bebede;
}

.form-search-close-icon2 {
    border: 0px solid transparent;
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    outline: 0;
    cursor: pointer;
    position: static;
}

.form-search-close-icon2:after {
    content: "X";
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    /* background-color: #FA9595; */
    z-index: 1;
    right: 15px;
    top: -26px;
    bottom: 0;
    margin: auto;
    padding: 2px;
    border-radius: 3px;
    text-align: center;
    color: #7d7c7c;
    font-weight: bold;
    font-size: 12px;
    /* box-shadow: 0 0 2px #E50F0F; */
    cursor: pointer;
}

.form-search-box2:not(:valid)~.form-search-close-icon2 {
    display: none;
}

.ng-dropdown-panel {
    width: inherit !important;
    /*for other module styling*/
    background: #f2f5f8;
    border: #ddd 1px solid !important;
    left: 0px;
}

.ng-dropdown-panel .scroll-host {
    /* width: 102% !important; */
    padding: 0px !important;
    border: #737477 1px solid !important;
}

.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
    background: #f3f6f9 !important;
    padding-left: 10px;
}

.ng-dropdown-panel .ng-dropdown-panel-items .ng-option:hover {
    background: #3698fd !important;
    color: #fff !important;
}

.ng-dropdown-panel .ng-dropdown-panel-items .ng-option img {
    width: 22px !important;
    height: 22px !important;
    margin-right: 10px !important;
}

.aside-menu .menu-nav {
    padding: 0px 0 25px 0 !important;
}

.sys-screen-img-width {
    width: 90%;
}

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

b.ml-2.warning i {
    color: red !important
}

.ng-select.ng-select-opened .ng-select-container {
    z-index: unset !important;
}

.mat-tab-group {
    font-family: 'IBM Plex Sans', sans-serif !important;
}

/* .ui-editor-content.ql-container.ql-snow {
margin-bottom: 50px !important;
} */
bs-datepicker-container,
bs-daterangepicker-container {
    z-index: 9999 !important;
}

.modal-header .close {
    color: #000 !important;
}

.cursor-notallowed {
    cursor: not-allowed !important;
}

.cursor-allowed {
    cursor: pointer !important;
}

/* .table thead th,
.table thead td {
    padding: 0.95rem 0.95rem !important;
    font-weight: 600 !important;
    background: #f0f1f3 !important;
    border-right: 1px solid #e0e2e7 !important;
    border-bottom: 1px solid #e0e2e7 !important;
    color: #292d35 !important;
    font-size: 14px !important;
    line-height: 1.25rem !important;
} */

.mat-sort-header-arrow {
    color: #292d35 !important;
}

.table {
    border: 1px solid #e0e2e7 !important;
}

.draft-status {
    color: #808080 !important;
}

.open-status {
    color: #007BFF !important;
}

.submitted-status {
    color: #77c3ec !important;
}

.under-review-status {
    color: #FFA500 !important;
}

.changes-requested-status {
    color: #ffc107 !important;
}

.completed-status {
    color: #28A745 !important;
}

.in-progress-status {
    color: #800080 !important;
}

.draft-dot {
    background: #808080 !important;
}

.open-dot {
    background: #007BFF !important;
}

.submitted-dot {
    background: #77c3ec !important;
}

.under-review-dot {
    background: #FFA500 !important;
}

.changes-requested-dot {
    background: #ffc107 !important;
}

.completed-dot {
    background: #28A745 !important;
}

.in-progress-dot {
    background: #FFA500 !important;
}

.eventss-dot {
    background: #42526E !important;
}

.link-width {
    max-width: 200px;
    word-wrap: break-word;
}

.mat-tab-body-content {
    height: 100%;
    overflow: unset !important;
}

.mat-tab-body.mat-tab-body-active {
    overflow-y: unset !important;
}

.mat-select {
    font-family: unset !important;
}

.mat-option {
    font-family: unset !important;
}

.mat-button,
.mat-fab,
.mat-flat-button,
.mat-icon-button,
.mat-mini-fab,
.mat-raised-button,
.mat-stroked-button {
    font-family: 'IBM Plex Sans', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
}

.icon {
    font-size: 10px !important;
    padding: 2px !important;
}


.mat-form-field {
    font-family: 'IBM Plex Sans', sans-serif !important;
}

.toggle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.toggle-wrapper:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.toggle-label {
    color: black;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-buttons {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.toggle-btn {
    padding: 8px 14px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #0f62fe;
    min-width: 10px;
    background-color: #E1F0FF
}

.toggle-btn.active {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    background-color: #0f62fe !important;
    color: white;
}

.toggle-btn:not(.active) {
    opacity: 0.7;
    filter: brightness(0.8);
}