.page-logo {
    padding: 0 1rem;
}

.title-dark {
    background-color: #e3dfdf;
}

/*Set select2 initial size stop 30 stop avoid rendering larger */
select.form-control[size],
select.form-control[multiple] {
    height: 30px;
}

.slimScrollBar {
    width: 15px !important
}

.input-group>.input-group-append>.btn {
    border: 1px solid #c1c0c0;
}

.input-group-text {
    border: 1px solid #c1c0c0;
}

.form-control {
    border: 1px solid #c1c0c0;
}

.form-group {
    margin-bottom: .7rem;
}

.form-group:last-child,
.form-group:only-child {
    margin-bottom: .7rem;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border: 1px solid #c1c0c0;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 400px;
    min-height: 400px;
    overflow-y: auto;
}

.panel {
    border: 1px solid rgb(0 0 0 / 22%);
}

.card-light {
    background-color: #ededed;
}

.card-light>.card-header {
    background-color: #e1e1e1 !important;
}

.card-header {
    background-color: #e5ebf4;
    color: #4679cc;
}

/* Data Tables */
/* Default no wrap and need to enable wrapping at the individual table cell level */
.dataTable th,
.dataTable td {
    white-space: nowrap;
}

.table-row-sel {
    border: none;
    margin: auto;
    width: 100% !important;
    min-width: 25px;
    height: auto !important;
}

.table-row-sel:hover {
    background-color: #adadad;
    border: none;
    color: blue;
}

/*Special style to handle responsive icon when menu icon is in the first column*/
.dtr-control {
    display: inline-flex;
}

/* Modern Plus/Minus Control Icons */
table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    background-color: #667eea !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3) !important;
    content: '+' !important;
    color: #fff !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 3px !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Reset triangle borders */
    border-top-width: 0 !important;
    border-left-width: 0 !important;
    border-bottom-width: 0 !important;
    border-right-width: 0 !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.dtr-expanded>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr.dtr-expanded>th.dtr-control:before {
    background-color: #5a67d8 !important;
    content: '-' !important;
}

table.dataTable.table-hover>tbody>tr:hover>*,
table.dataTable.display>tbody>tr:hover>* {
    box-shadow: inset 0 0 0 9999px #e1e1e1;
    box-shadow: inset 0 0 0 9999px #e1e1e1;
}

table.dataTable.table-hover>tbody>tr.selected:hover>*,
table.dataTable.display>tbody>tr.selected:hover>* {
    box-shadow: inset 0 0 0 9999px #e1e1e1 !important;
    box-shadow: inset 0 0 0 9999px #e1e1e1 !important;
}

.table-hover tbody tr:hover {
    -webkit-box-shadow: none;
    z-index: 1;
}

.table-biz tbody tr:hover button.table-row-sel {
    background-color: #c1c0c0;
}

.table-biz {
    border-collapse: revert;
    border-block-width: thin;
    border-spacing: 0;
}

#DataTables_Table_0_info {
    display: none;
    /*Globally disabled but can enable at the page*/
}

.dt-button-down-arrow {
    display: none;
}

.dt-search>label {
    display: none;
}

.dt-search {
    margin-right: 5px;
}

.dt-input {
    margin-right: 5px !important;
}

table.dataTable thead tr>.dtfc-fixed-start,
table.dataTable thead tr>.dtfc-fixed-end,
table.dataTable tfoot tr>.dtfc-fixed-start,
table.dataTable tfoot tr>.dtfc-fixed-end {
    background-color: #f1eeee;
    /*Fixed column BG color set back to the row color*/
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f1eeee;
    /*Fixed column BG color set back to the row color*/
}

/* Bootstrap Validation Summary Override */
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.page-footer {
    background-color: #d0d7e3;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.input-validation-error~.select2 .select2-selection {
    border: 1px solid red;
}

.subheader:not(:empty) {
    margin-bottom: 10px;
}

/* Bootstrap Validation Summary Override */
.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

.alert.validation-summary-errors {
    margin-bottom: 1rem;
}

.ref-link {
    cursor: pointer;
}

.col-0 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 4.166665%;
    flex: 0 0 4.166665%;
    max-width: 4.166665%;
    width: 4.166665%;
}

.col-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
    width: 8.33333%;
}

.col-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66666%;
    flex: 0 0 16.66666%;
    max-width: 16.66666%;
    width: 16.66666%;
}

table.DTFC_Cloned tr {
    background-color: transparent;
    margin-bottom: 0;
}

.dropdown-menu {
    border: 1px solid rgb(175 175 175 / 76%);
}

.popover {
    max-width: 900px;
}

/* Reference classes, no implementation */
.base,
.needs-validation,
.flex-start,
.text-faded,
.app-container-demo,
.lang-js,
.lang-csharp,
.has-tooltip,
.has-popover {}

/* Keeps analyzers happy */
.js-waves-off,
.js-waves-on,
.js-get-date,
.js-collapse,
.js-modal-settings,
.js-filter-message,
.js-buttons,
.js-icon-class,
.js-icon-copy,
.js-bg-color,
.js-bg-gradient,
.js-bg-gradient-demo,
.js-bg-target {}

/* Small word wrap correction */
section>ol>li {
    word-break: break-all;
}

code {
    border: 1px solid silver;
    padding: 0.03rem 0.2rem !important;
}

pre.prettyprint {
    border-radius: 0.2rem;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
}

.documentation h2 {
    color: var(--primary);
}

.documentation th:first-child,
.documentation th:nth-child(3) {
    width: 16%;
}

.documentation blockquote {
    margin-left: 1rem;
    padding: 1rem 1rem 0.01rem 1rem;
    font-weight: 400;
    border-radius: 0 4px 4px 0;
    background: #edf2f9;
    border-left: 3px solid var(--primary);
}

.documentation blockquote.info {
    background: #edf2f9;
    border-left: 3px solid var(--info);
}

.documentation blockquote.warning {
    background: #fff4db;
    border-left: 3px solid var(--warning);
}

.documentation blockquote.danger {
    background: #fadeeb;
    border-left: 3px solid var(--danger);
}

/* Enter custom CSS rules for your application here */

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: wait;
}

.se-pre-con::before {
    content: '';
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.se-pre-con::after {
    content: 'Loading...';
    position: absolute;
    top: calc(50% + 40px);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Enhanced wait cursor for the entire page when loading */
body.loading {
    cursor: wait !important;
}

body.loading * {
    cursor: wait !important;
}

.dd {
    float: left;
    width: 100%;
}

.dd-handle {
    height: auto;
}

.pull-right {
    float: right !Important;
}


.center {
    position: absolute;
    height: 50px;
    width: 50px;
    top: calc(50% - 50px/2);
    left: calc(50% - 50px/2);
}

.table-print {
    width: 100%;
    margin-bottom: 2px;
    margin-top: 2px;
}


/* Wizard pages*/
.pager li>button,
.pager li>span {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #ddd;
    border-radius: 15px;
}

.pager li>input,
.pager li>span {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #ddd;
    border-radius: 15px;
}

.pager li>input,
li>button,
.pager li>span {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #ddd;
    border-radius: 15px;
}

.pager .next>input,
.next>button,
.pager .next>span {
    float: right;
}

.pager li>input,
li>button,
.pager li>span {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #ddd;
    border-radius: 15px;
}

.pager .previous>input,
.previous>button,
.pager .previous>span {
    float: left;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #495057;
    background-color: #dbdbdb;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) #c5c3c3 rgba(0, 0, 0, 0.1);
}

.tab-content {
    border: 1px solid rgb(195 195 195);
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.2);
}

.nav-tabs .nav-link {
    border: 1px solid #bbbbbbba;
}

.nav-tabs .nav-link:hover {
    border: 1px solid #a99b9bba;
    border-bottom: 1px solid #c5afafba;
}

.nav-title {
    font-size: 12px;
    font-weight: 900;
}

/* List component */
.lov-list-item {
    display: flex;
    padding: 6px 5px;
    border-top: 1px solid #c4c4c4;
}

/*list item image wrapper*/
.lov-list-item .lov-list-item-image {
    flex-shrink: 0;
    height: 70px;
}

.lov-list-item .lov-list-item-image img {
    border-radius: 10%;
    width: 50px;
    height: 70px;
}

/*list item content*/
.lov-list-item .lov-item-content {
    flex-grow: 1;
    padding: 0 20px;
}

.lov-list-item h4 {
    margin: 0;
    font-size: 18px;
    margin-top: 5px;
    font-weight: 600;
    color: #747474;
}

.lov-list-item p {
    margin-top: 5px;
    margin-bottom: 0;
}

.lov-list-item small {
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: 0;
}

.lov-list-item>.lov-list-item-rhs {
    float: right;
    text-align: right;
    font-size: 12px;
}

.lov-list-item>.lov-list-item-rhs>small {
    font-size: 10px;
}

.lov-list-item .lov-sub-list-item-content {
    flex-grow: 1;
    padding: 0 5px;
}

.table thead tr {
    background-color: #f1eeee;
}

.circle {
    display: inline-block;
    border-radius: 50%;
}

.circle-inner {
    color: white;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    height: 40px;
    width: 40px;
    font-size: 20px;
}

.biz-editable {
    width: 600px !important;
}

.biz-editable-sm {
    width: 65px !important;
}

.editable-inline {
    float: inherit !important;
}

.bg-fusion-1 {
    background-color: #bdbdbd;
    color: white;
}

.bg-fusion-gradient-1 {
    background-image: linear-gradient(50deg, rgb(98 98 98 / 70%), transparent);
}

.bg-trans-return,
.bg-trans-creditnote {
    background-color: #ffc8e2 !important;
}

.bg-trans-issue,
.bg-trans-invoice {
    background-color: #c8e5fb !important;
}

.bg-trans-receive {
    background-color: #7afcef !important;
}

.bg-trans-recon-out {
    background-color: #ffefcd !important;
}

.bg-trans-recon-in {
    background-color: #e2d2f9 !important;
}

.semi-bold {
    font-weight: 900 !important;
}

.bg-credit-blocked {
    background-color: #ffc8e2 !important;
}

.bg-credit-warning {
    background-color: #ffe1a4 !important;
}

.bg-payment-pending {
    background-color: #c8e5fb !important;
}

.dl-horizontal dd {
    float: left;
    width: 70%;
    margin: 0;
    padding: 5px;
    border-top: 1px solid #999;
}

.dt {
    clear: left;
    float: left;
    width: 30%;
    margin: 0;
    padding: 5px;
    border-top: 1px solid #999;
    /*font-weight: bold;*/
    white-space: unset;
    background-color: #cccccc;
    color: black;
}

.list-group-item:hover {
    background-color: #eeeeee !important;
}

i.badge-lc-list {
    width: 100px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    color: #6b6b6b;
}

.badge-lc:after {
    content: "LC";
    position: absolute;
    background: rgb(175, 255, 196);
    height: 3rem;
    top: 0.5rem;
    right: 2.9rem;
    width: 3rem;
    text-align: center;
    line-height: 2.8rem;
    font-size: 0.9rem;
    border-radius: 10%;
    color: #ababab !important;
}


.badge-sblc:after {
    content: "SBLC";
    position: absolute;
    background: rgb(166, 214, 255);
    height: 3rem;
    top: 0.5rem;
    right: 2.9rem;
    width: 3rem;
    text-align: center;
    line-height: 2.8rem;
    font-size: 0.9rem;
    border-radius: 10%;
    color: #ababab !important;
}


.badge-bg:after {
    content: "BG";
    position: absolute;
    background: rgb(251, 251, 251);
    height: 3rem;
    top: 0.5rem;
    right: 2.9rem;
    width: 3rem;
    text-align: center;
    line-height: 2.8rem;
    font-size: 0.9rem;
    border-radius: 10%;
    color: #ababab !important;
}

.badge-pb:after {
    content: "PB";
    position: absolute;
    background: rgb(251, 251, 251);
    height: 3rem;
    top: 0.5rem;
    right: 2.9rem;
    width: 3rem;
    text-align: center;
    line-height: 2.8rem;
    font-size: 0.9rem;
    border-radius: 10%;
    color: #ababab !important;
}

.green-box,
.sky-box,
.gray-box,
.red-box {
    color: #000000;
    margin-top: 15px;
    padding: 10px;
}

.green-box {
    background-color: #E9F6F5;
    border: 1px solid #A9CAC6;
}

.sky-box {
    background-color: #F2F7FA;
    border: 1px solid #8FB5C0;
}

.gray-box {
    background-color: #F1F1F1;
    border: 1px solid #E4E4E4;
}

.red-box {
    background: #FFECEC;
    border: 1px solid #CD949A;
}

.info-box-content {
    margin-left: 60px;
}

.editable-container.editable-inline,
.editableform>.control-group,
.editable-input,
.editableform .form-control {
    width: 100% !important;
}

.editable-cancel {
    background-color: #f15a5a;
    color: #fff;
    border-color: #bd4949;
}

.editable-cancel:hover {
    background-color: #c54141;
    color: #fff;
    border-color: #631919;
}

.editable-buttons {
    display: block;
}

.editable-container.editable-inline,
.editableform>.control-group,
.editable-input,
.editableform .form-control,
.input-large {
    width: 100% !important;
}

.editableform div {
    width: -webkit-fill-available;
}

.input-xxs {
    height: auto;
    padding: 0px;
}

.bg-yellow {
    background-color: #9f9313 !important;
    color: white;
}

.bg-red {
    background-color: #ff6878 !important;
    color: white !important;
}

.bg-blue {
    background-color: #86adff !important;
    color: white !important;
}

.bg-green {
    background-color: #3a872f !important;
    color: white !important;
}

.bg-orange {
    background-color: #ffa365 !important;
    color: white !important;
}

.bg-black {
    background-color: #252424 !important;
    color: white !important;
}

.bg-purple {
    background-color: #a061ad !important;
    color: white !important;
}

.text-faded-sm {
    font-weight: 900;
    font-size: 10px;
    opacity: 0.5;
}

.text-faded {
    font-weight: 900;
    font-size: 12px;
    opacity: 0.5;
}

.light-form {
    background-color: #efffff;
}

a.badge {
    color: white;
}

span.badge {
    color: white;
}

.badge-default,
.label-default {
    background-color: #999 !important;
}

@media only screen and (max-width: 500px) {
    .wrap-table-cell {
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}


.editable-container.popover {
    width: 100%;
    /* without this rule popover does not stretch */
}

.editable-input>textarea,
input,
select {
    width: 100%;
    /* without this rule popover does not stretch */
}

.editable-input {
    margin-bottom: 5px;
}

.editable-buttons {
    margin-left: 2px;
}

.p-highlight:hover {
    background-color: #e7e7e7;
}

.progress {
    background-color: #dfdfdf;
}

input[type=submit] {
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.btn-success>input[type=submit] {
    background-color: #1dc9b7;
    color: white;
}

.btn-info>input[type=submit] {
    background-color: #2196F3;
    color: white;
}

.skill-level-high {
    color: black;
    background-color: RGB(161, 207, 114);
    font-size: 12px;
    font-weight: 200;
    display: inline-block;
    width: 100px;
}

.skill-level-medium {
    color: black;
    background-color: RGB(247, 188, 134);
    font-size: 12px;
    font-weight: 200;
    display: inline-block;
    width: 100px;
}

.skill-level-low {
    color: black;
    background-color: RGB(255, 176, 163);
    font-size: 12px;
    font-weight: 200;
    display: inline-block;
    width: 100px;
}

.skill-level-na {
    color: black;
    background-color: RGB(209, 207, 207);
    font-size: 12px;
    font-weight: 200;
    display: inline-block;
    width: 100px;
}

.highlight-constant {
    font-weight: bold;
    color: green;
}

.highlight-condition {
    font-weight: bold;
    color: #95229b;
}

.highlight-condition-prop {
    font-weight: bold;
    color: #eb36ff;
}

.badge-feedback {
    background-color: #6060ff;
}

.biz-search-dr-item {
    white-space: pre-wrap;
}

.biz-search-btn-block {
    margin: 0;
}

.biz-search-btn-block>* {
    margin: 0 0 0.35rem .175rem !important;
}

.biz-search-btn-block.biz-search-btn-block-no-mb>* {
    margin-bottom: 0 !important;
}

.biz-search-btn-block>* {
    margin: 0 0 0.35rem .175rem !important;
}

.biz-search-btn-block.biz-search-btn-block-no-mb>* {
    margin-bottom: 0 !important;
}

/* Datatable 2 */
#dt-print-buttons.dt-buttons {
    position: relative;
    float: right;
}

div.dt-buttons {
    position: relative;
    float: none;
}

.fild-text-promo {
    background-color: #b1cdb0 !important;
    border: 1px solid #a5bb9e !important;
}

.tooltip {
    pointer-events: none;
}

.editable-checkbox-container {
    text-align: center;
}

.table-cell-editable-checkbox {
    text-decoration: none !important;
    display: inline-block;
    /*width: 20px;
            height: 20px;*/
    border: 1px solid #ddd;
    text-align: center;
    line-height: 18px;
    color: #28a745;
    background: #fff;
    padding: 0;
}

/* ========================================
   Area Logo Circle Styles - Common CSS
   ======================================== */
.area-logo-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 40px !important;
    min-height: 40px !important;
}

.area-logo-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.6);
}

.area-logo-text {
    color: white !important;
    font-weight: bold !important;
    font-size: 12px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.area-logo-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.area-logo-circle:hover::before {
    opacity: 1;
}

/* Additional styles to ensure circular shape works in tables */
td .area-logo-circle {
    margin: 0 auto !important;
    flex-shrink: 0 !important;
}

/* Override any table cell styles that might interfere */
table td .area-logo-circle {
    display: inline-flex !important;
    vertical-align: middle !important;
}

/* Fix header icon cursor to show pointer (hand) on hover */
.header-icon {
    cursor: pointer !important;
}

.header-icon:hover {
    cursor: pointer !important;
}

/* Panel Header Override - Force white background and blue text */
.panel-hdr {
    background-color: #ffffff !important;
    color: #4679cc !important;
    background-image: none !important;
}

/* Hide dashboard auto-refresh icon on mobile screens */
@media (max-width: 767px) {
    .dashboard-auto-refresh-icon {
        display: none !important;
    }
}

/* Always show submenus on mobile screens */
@media (max-width: 991px) {
    .dropdown-multilevel > .dropdown-menu {
        display: block !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        border-left: 3px solid #667eea;
        background: #f8f9fa;
        margin: 0.25rem 0;
        padding: 0.5rem 0;
    }
    
    .dropdown-multilevel > .dropdown-item {
        font-weight: 600;
        color: #495057;
    }
    
    /* Ensure child menu items are clickable */
    .dropdown-multilevel > .dropdown-menu .dropdown-item {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 1001;
    }
}
/* Enhanced DataTable Responsive Styling - Two Column Layout */
.dtr-details {
    background: #ffffff;
    padding: 0 !important;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    margin: 0;
}

.dtr-details li {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    align-items: baseline;
    background: #fff;
}

.dtr-details li:nth-child(even) {
    background: #f8f9fa;
}

.dtr-details li:last-child {
    border-bottom: none;
}

.dtr-title {
    font-weight: 400 !important;
    color: #495057 !important;
    font-size: 0.9rem !important;
    text-align: left;
    white-space: nowrap;
}

.dtr-data {
    color: #212529 !important;
    font-size: 0.9rem !important;
    font-weight: 400;
    word-break: break-word;
}


/* Hide only the dropdown menu content in DataTable responsive mode, keep column */
table.dataTable.dtr-inline.collapsed .biz-dropdown-action {
    visibility: hidden !important;
}

