@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,700);

:root {
    --bs-primary: #739AB3;
    --bs-danger: #8d1b3d;
}

/* Layout setup for scroll handling*/
body, html {
    background: #ededed;
    height: 100svh;
    width: 100dvw;
    font-family: 'Roboto', sans-serif;
    overflow-y: hidden;
    overflow-x: auto;
}

.e-content-animation .e-splitter.e-splitter-horizontal {
    max-height: calc(100dvh - 60px);

    overflow: scroll;
}

/* ACTOR CI SPECIFIC BOOTSTRAP OVERRIDES */

.actionbar {
    position: sticky;
    top: 0px;
    z-index: 1;
    background: whitesmoke;
}

.e-toolbar .e-toolbar-item:not(.e-separator):not(.e-spacer) {
    /*background: whitesmoke;*/
}

.e-toolbar {
    box-shadow: 0px 4px 10px 0px #80808024;
}

.btn {
    border-radius: 0 !important;
}

.e-toolbar.actor-nav {
    min-height: 58px;
    box-shadow: 0px 0px 4px black;
    background: #f2f2f2;
    border: 0;
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Reset some basic elements to ensure consistency across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic typography settings */
html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Responsive typography and layout */
html {
    font-size: 100%; /* Sets base font size */
}

#wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.module {
    display: flex;
    transition: all 1s;
    padding: 8px
}

.module-description, .module-actions {
    width: 50%;
    max-height: 150px;
    padding: 0 8px;
    overflow: hidden !important;
}

.expanded-False .module-description, .expanded-False .module-actions {
    width: 0px !important;
    height: 0px !important;
    display: none;
}

.index-heading {
    text-align: center;
    background: #34363c;
    color: white;
    padding: 2px 0px;
}

.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap, .e-static-pane {
    background: white;
}

.actions-list {
    display: flex;
    transition: all 1s ease;
    overflow: hidden;
    flex-wrap: wrap;

    & > div {
        flex-basis: calc(50% - 10px); /* assuming you want a little gap between the items */
        margin-bottom: 10px; /* optional: if you want space between rows */
    }

}


.ocm-indicator-grid {
    border: 0 !important;

    .e-gridheader, .e-rowcell {
        border: 0 !important;
    }

}

.round-dot {
    margin-top: 10px;
    height: 10px;
    width: 10px;
    max-height: 10px;
    max-width: 10px;
    border-radius: 50%;
    display: inline-block;
}


.decision-table {
    & tr td {
        vertical-align: top !important;
        font-size: 12px;
        line-height: 1.3;
        position: relative;
        padding-bottom: 50px;
    }

    & .table {
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 0;

        & td {
            padding: 8px 4px;
        }

    }
}

.no-click {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 20;
    cursor: progress;
}

.cursor-help {
    cursor: help;
}

/* GENERAL SYNCFUSION BOOTSTRAP OVERIDES */

.e-btn.e-flat:hover, .e-css.e-btn.e-flat:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--bs-danger);
}

.e-btn.e-flat, .e-css.e-btn.e-flat {
    background: transparent;
    border-color: var(--bs-primary);
    box-shadow: none;
    color: var(--bs-primary);
}

.flex-fill {
    flex: 1;
}

.e-accordion {
    border: 1px solid lightgrey;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .1);
    border-radius: 0;
}

.e-accordion .e-acrdn-item {
    text-align: left;
    color: whitesmoke;
    border-radius: 0;
    background-color: var(--bs-primary);
}

.e-accordion .e-acrdn-item.e-select:last-child {
    border-radius: 0;
}

.e-accordion .e-acrdn-item.e-select > .e-acrdn-header {
    background: var(--bs-primary) !important;
    justify-content: center;
}

.e-accordion .e-acrdn-item .e-acrdn-header {
    border-radius: 0;
}

.e-accordion .e-acrdn-item .e-acrdn-header .e-toggle-icon .e-icons, .e-accordion .e-acrdn-item .e-acrdn-header .e-acrdn-header-content {
    color: whitesmoke !important;
}

.e-accordion .e-acrdn-item .e-acrdn-header:hover {
    background: #336893 !important;
}

.e-accordion .e-acrdn-item.e-select.e-active > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-select.e-item-focus > .e-acrdn-header {
    background-color: var(--bs-danger) !important;
    border-radius: 0;
}

.e-accordion .e-acrdn-item.e-select.e-active > .e-acrdn-header .e-acrdn-header-content,
.e-accordion .e-acrdn-item.e-select.e-item-focus > .e-acrdn-header .e-acrdn-header-content {
    color: white !important;
}

.blazored-toast-body .blazored-toast-header h5 {
    font-size: 16px;
}
g.e-user-handle[data-name="Save"] > * {
    cursor: pointer !important; /*  坐 */
}

/* Custom scrollbar styles for OREST analysis pages */
.custom-scrollbar::-webkit-scrollbar {
    width: 12px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Firefox scrollbar styling */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}
