﻿html, body {
    height: 100%;
    background-color: #f4f7fc !important;
    /*    background: #f5f5f5 !important;
*/ /*background: linear-gradient(to right, #ffffff 10%, #f1f1f1 70%, #fafafa 85%, #ececec 95%);*/
}

app {
    display: block;
    height: 100%;
}

/*.header-logo {
    -webkit-mask: url('../images/CustomLogo.svg');
    mask: url('../images/CustomLogo.svg');*/
/* ... */
/*width: 180px;
    height: 24px;
}*/

.logon-template-header {
    background: #fff;
}

.header-logo {
    flex-shrink: 0;
    background: url('../images/plexus.png') no-repeat;
    cursor: pointer;
    /* -webkit-mask: url('../images/plexus.png');
    mask: url('../images/plexus.png');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;*/
    width: 180px;
    height: 32px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

[tooltip]:hover::after {
    content: attr(tooltip);
    position: absolute;
    background-color: antiquewhite;
    right: 0px;
    top: 0px;
    padding: 0px 5px;
    z-index: 10;
}

div[data-action-name="Filter"] .form-control:disabled, div[data-action-name="Filter"] .form-control[readonly] {
    background-color: white;
    opacity: 1;
}

.my-grid th, .dxbs-gridview tr, .main-content div:not(.card) > .row > .col-md-1:last-child, .main-content div:not(.card) > .row > .col-md-2:last-child, .main-content div:not(.card) > .row > .col-md-3:last-child, .main-content div:not(.card) > .row > .col-md-4:last-child, .main-content div:not(.card) > .row > .col-md-5:last-child, .main-content div:not(.card) > .row > .col-md-6:last-child, .main-content div:not(.card) > .row > .col-md-7:last-child, .main-content div:not(.card) > .row > .col-md-8:last-child, .main-content div:not(.card) > .row > .col-md-9:last-child, .main-content div:not(.card) > .row > .col-md-10:last-child, .main-content div:not(.card) > .row > .col-md-11:last-child {
    white-space: nowrap;
}

.dxbs-combobox input.dx-reset-readonly-style, .form-control:disabled, .form-control[readonly] {
    background-color: white;
    opacity: 1;
}

dxbl-modal > .dxbs-modal > .dxbs-popup.dxbs-popup-fixed-width {
    min-width: 80%;
    white-space: nowrap;
}

.dxbs-fl-group .card .card-header {
    background-color: #305874;
    color: white;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #305874;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    border-color: #305874;
    background-color: #305874;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: black;
    background-color: lightgrey;
    border-color: transparent transparent #adb5bd;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #305874;
    background-color: #305874;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.custom-checkbox .custom-control-input:not(:checked):not(:indeterminate):not(:disabled) ~ .custom-control-label::before, .custom-radio .custom-control-input:not(:checked):not(:indeterminate):not(:disabled) ~ .custom-control-label::before {
    background-color: gray;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #305874;
    border-color: #305874;
}

.dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: none;
}

.rebate-pool-show-edit .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.rebate-pool-show-edit .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}

.nav-preview-line .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.nav-preview-line .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}

.nav-preview-line .dxbs-editor-dropdown-button {
    display: none;
}

.invoices-lock .dxbs-editor-dropdown-button {
    display: none;
}

.invoices-lock .btn-secondary {
    display: block;
}

.invoices-lock .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1) {
    display: block;
}

.invoices .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1) {
    display: block;
}

.commission .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.commission .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}

.credit-note .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.credit-note .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}

.dividends .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.dividends .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}

.payment-allocation-header .dxbs-editor-dropdown-button ~ button:nth-child(2n + 1),
.payment-allocation-header .dxbs-editor-dropdown-button ~ button:nth-child(2n + 2) {
    display: block;
}
/*.btn-primary, .btn-primary:hover, .btn-primary:visited, .btn-primary:active, .btn-primary:focus {
    color: #fff;
    background-color: #305874;
    border-color: #305874;
}*/
/*.btn-primary:hover {
        color: #fff;
        background-color: cornflowerblue;
        border-color: cornflowerblue;
}*/
.hiddenButtons .dxbs-editor-dropdown-button ~ button {
    display: none;
}

.case-stage-totals {
    overflow: scroll;
    max-height: 670px;
}

.case-stage-totals-luboils {
    overflow: scroll;
    max-height: 740px;
}

.case-stage-totals-supplier-offers {
    overflow: scroll;
    max-height: 900px;
}

.case-stage-totals-customer-quotations-luboils {
    overflow: scroll;
    max-height: 840px;
}

.case-stage-totals-customer-quotations-spareparts {
    overflow: scroll;
    max-height: 915px;
}

.case-stage-totals-customer-acknowledgement {
    overflow: scroll;
    max-height: 740px;
}

.case-stage-totals-customer-order-spareparts {
    overflow: scroll;
    max-height: 1130px;
}

.case-stage-totals-customer-order-luboils {
    overflow: scroll;
    max-height: 890px;
}

.case-stage-totals-customer-invoices {
    overflow: scroll;
    max-height: 820px;
}

.case-information {
    overflow: scroll;
    max-height: 925px;
}

.case-stage-totals-supplier-invoices {
    overflow: scroll;
    max-height: 890px;
}

.case-stage-totals-supplier-orders {
    overflow: scroll;
    max-height: 900px;
}

.supplier-orders-commission-case, .supplier-offers-commission-case {
    margin-top: 0px;
}

.case-stage-totals-request-for-readiness {
    overflow: scroll;
    max-height: 850px;
}

.case-stage-totals-request-for-delivery-instructions {
    overflow: scroll;
    max-height: 850px;
}

.case-inquiries-information {
    overflow: scroll;
    max-height: 440px;
    height: 100%;
}

.xaf-grid-item-icon {
    visibility: hidden;
}
/*[data-action-name="Invoice Status"], [data-action-name="Posting"], [data-action-name="Others"], [data-action-name="Commission Status"] {
    background: #edf2f8 !important;
    color: black !important;
    cursor: none !important;
    font-weight: 500;
    width: 100%;
    padding: 0.2rem 2rem !important;
    pointer-events: none;
}*/

/*[data-action-name="Invoice Actions"], [data-action-name="Commission Actions"] {
    pointer-events: none;
}*/
/*.table-bordered td, .table-bordered th {
    width: 100%;
}*/
/*
.xaf-item-totals::after {
    content: attr(tooltip);
    position: absolute;
    content: url('../images/menu.png');
    background-color: inherit;
    right: 10px;
    width: 40px;
    top: 0px;
    padding: 12px 10px;
    z-index: 10;
    cursor: pointer;
}*/
/*.dxbs-fl-group.dxbs-fl-gd.col-md-3 {
    width: 100px;
    height: 100px;
    background-color: blue;
    outline: none;
    cursor: pointer;
}

    .dxbs-fl-group.dxbs-fl-gd.col-md-3:focus {
        width: 200px;
        height: 200px;
    }*/
/*.dxbs-fl-group.dxbs-fl-gd.col-md-3:hover {
    max-width: 50px;
}*/


.xaf-alert-message {
    white-space: pre-line !important;
}


/*sidebar*/

.sidebar {
    background: #edf2f8;
}

/*div[class *="sidebar"] {
    background: #edf2f8;
}*/

nav > ul {
    color: #212529;
    font-weight: 500;
    font-size: 15px;
}

    nav > ul > li > ul > li {
        color: #212529;
        font-weight: 400;
        font-size: 14px;
    }

.dxbs-tree > ul.nav ul.nav {
    margin: 0.1em 0 0.2em 1.3em !important;
}

nav > ul > li > ul > li > ul > li {
    color: #212529;
    font-weight: 300;
    font-size: 13px;
}


/*header*/

.header {
    background-color: white;
}


/*scrollbar*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


/*.btn-secondary*/ /*, .btn-secondary*/ /*{
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0.5em !important;
}*/

.disabled, .dxbs-dropdown-toggle {
    color: black !important;
}

    .disabled:hover {
        color: black !important;
        cursor: not-allowed;
    }

/*input {
    border-radius: 0.5em !important;
    box-shadow: 0 0 2px #305874 !important;
    border: 0px !important;
}

    input:focus {
        box-shadow: 0 0 8px #568cb3 !important;
        border: 0px !important;
    }
*/
th {
    background: #305874;
    color: white;
}

.dxbs-select-cell {
    background: #ffffff;
}

/**For the info panel/*/
.inforPanelCase {
    height: 570px;
    overflow-x: scroll;
    overflow-y: scroll;
}

/**For the info panel/*/
.inforPanelCaseSP {
    height: 900px;
    overflow-x: scroll;
    overflow-y: scroll;
    position: sticky;
}

.dxbs-grid-header-row {
    background-color: #305874;
}

.xaf-validation-message-container > .dxbs-checkbox {
    background-color: transparent !important;
}

.xaf-view-caption-lg {
    font-size: 17px;
}

.bg-primary {
    background-color: #305874 !important;
}

.dropdown-item:active {
    background-color: #305874;
}

.nav-tabs .nav-link.active:before {
    border-bottom-color: #305874;
}

/*.bg-primary:hover{
    color: black !important;
}*/

.file-manager-wrapper {
    height: 700px;
}

    .file-manager-wrapper .file-manager {
    }

    .file-manager-wrapper .file-viewer-content {
        overflow: auto;
        width: 900px;
    }

    .file-manager-wrapper .file-component-content {
        overflow: auto;
        width: 950px;
    }

/* File Manager Drawer */
.dx-filemanager-container.dx-widget .dx-drawer-panel-content.dx-drawer-panel-content-initial {
    display: none;
}

/* Changes for merge*/
.ms-auto {
    margin-left: auto !important;
}

.dxbl-fl .dxbl-fl-group > .dxbl-group > .dxbl-group-header:not(.dxbl-fl-group-header-tmpl) {
    font-weight: bold !important;
    background-color: #e8f4f8 !important;
}

.provisional-gp {
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    background-color: yellow;
}

.case-feedback {
    font-size: 15px;
    text-align: left;
    color: darkblue;
    font-weight: bold;
}

.currencies-unmatched-message {
    margin-top: 10px;
}

    .currencies-unmatched-message .dxbl-fl-ctrl-nc .dxbl-text-edit-input {
        text-align: center;
        font-size: 15px;
        color: white;
        font-weight: bold;
        background-color: dodgerblue !important;
        border-radius: 0px !important;
        border: 1px solid transparent;
    }


.automation-msg {
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    background-color: cornflowerblue;
    color: white;
}


.validation-failed {
    border-style: solid;
    border-color: #E8939A;
    border-width: 2px;
    border-radius: 10px;
}

    .validation-failed::after {
        content: url('../images/alert.svg');
        font-size: 22px;
        margin-right: 1px;
    }

.validation-success {
    border-style: solid;
    border-color: #87BD9B;
    border-width: 2px;
    border-radius: 10px;
}

    .validation-success::after {
        content: url('../images/ValidationValid.svg');
        font-size: 22px;
        margin-right: 1px;
    }

.automation-actions-container {
    position: sticky;
    z-index: 1000;
    top: 0px;
    background-color: #f4f7fc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding-bottom: 3px;
    padding-top: 4px;
    margin-left: 4px;
}

.btn-style {
    background-color: #007bff !important;
    color: white !important;
    border-radius: 10px;
    box-shadow: 0 1px 4px 0 #007bff !important;
    border: hidden;
}

    .btn-style:hover {
        background-color: #0b5ed7 !important;
        color: white !important;
    }

/*.already-process {
    background-color: blue;
}

.already-process2 {
    background-color: green;
}

.already-process3 {
    background-color: orange;
}
.already-process4{
    background-color: red;
}*/

.ui-state-highlight {
    background-color: rgba(var(--bs-primary-rgb), .3);
}

.ui-state-hover {
    background: rgba(var(--bs-primary-rgb), .3);
}

.ui-draggable-dragging {
    box-shadow: 0 2px 6px 0 rgb(0 0 0 / 12%);
}

.dxbl-grid .dxbl-grid-table > tbody > tr[data-visible-index] {
    cursor: pointer;
}

.ui-draggable-handle {
    z-index: 1000;
}

.dxbl-fl .dxbl-fl-item .dxbl-fl-ctrl-nc, .dxbl-fl .dxbl-fl-item .dxbl-fl-empty-caption + .dxbl-fl-ctrl {
    margin-top: 0px !important;
}

.mt-0 {
    margin-top: 0px;
}

.ai-results-field {
    margin-top: 0px;
}

    .ai-results-field .dxbl-fl-ctrl-nc .dxbl-text-edit-input {
        background-color: rgba(149, 179, 226) !important;
        border: none;
        color: white;
        font-weight: bold;
        border-radius: 0px !important;
        height: 20px;
    }

    .ai-results-field > .dxbl-fl-ctrl-nc > .dxbl-text-edit > .dxbl-btn.dxbl-edit-btn-clear {
        display: none;
    }

.ai-order-msg .dxbl-fl-ctrl-nc .dxbl-text-edit-input {
    background-color: yellowgreen !important;
    font-size: 16px;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 0px !important;
    height: 20px;
    text-align: center;
}

.ai-order-msg > .dxbl-fl-ctrl-nc > .dxbl-text-edit > .dxbl-btn.dxbl-edit-btn-clear {
    display: none;
}

.case-stage-items-sticky .dxbl-fl-ctrl .nested-frame .nested-content .grid-content .xaf-grid-batchedit-mode {
    max-height: 700px !important;
    position: sticky !important;
}

.settings-bar {
    position: absolute !important;
}

button[title = 'GenerateCase'], button[title = 'DeclineCase'], button[title = 'Generate Case'] {
    color: black;
}

.automation-quotation-items .dxbl-fl-ctrl-nc .nested-frame .nested-content .grid-content .xaf-grid-batchedit-mode {
    position: sticky;
    max-height: 700px;
}

}

.saf-grid .dxbl-grid-table .dxbl-grid-detail-cell {
    padding: 5px !important;
}

.receivable-row {
    background-color: limegreen !important;
    color: white !important;
}

.payable-row {
    background-color: red !important;
    color: white !important;
}

.confirm-accounts {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41);
    border-color: rgb(206, 212, 218);
    background-color: rgb(255,255,255);
}

.confirm-accounts-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/sale_item.svg");
    margin: 0 0 0 0;
}

.gp-history-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/gp_history_16px.svg");
    margin: 0 0 0 0;
}

.gp_history {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41);
    border-color: rgb(206, 212, 218);
    background-color: rgb(255,255,255);
}

    .gp_history:hover {
        color: none !important;
    }

.customer-exists {
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    background-color: yellow;
    font-weight: bold !important;
}

.restore-approval-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/restore.svg");
    margin: 0 0 0 0;
}

.new-dividend-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/Action_New.svg");
    margin: 0 0 0 0;
}

.view-dividend-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/vessel_properties_info.svg");
    margin: 0 0 0 0;
}

.restore-approval {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41);
    border-color: rgb(206, 212, 218);
    background-color: rgb(255,255,255);
}

    .restore-approval:hover {
        color: none !important;
    }


.feedback_icon {
    width: 24px;
    height: 24px;
    background-image: url("../images/icons/feedback.svg");
    margin: 0 0 0 0;
}

.feedback {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41) !important;
    border-color: rgb(206, 212, 218) !important;
    background-color: rgb(255,255,255);
}


.amountrecord-icon {
    width: 24px;
    height: 24px;
    background-image: url("../images/icons/amountrecord.svg");
    margin: 0 0 0 0;
}

.amountrecord {
    margin-bottom: 10px;
    width: 188px;
    color: rgb(33, 37, 41);
    border-color: rgb(206, 212, 218);
    background-color: rgb(255,255,255);
}


    .amountrecord:hover {
        color: none !important;
    }

.safename-textboxes .dxbl-text-edit {
    font-size: 12px !important;
    width: 70%;
}

.safename-textboxes .dxbl-text {
    font-size: 12px !important;
}

.card {
    box-shadow: 7px 7px 7px rgba(0, 0, 0, 0.1);
    border: 1px solid #a6bfe6;
}



.folder_up_icon {
    width: 20px !important;
    height: 24px !important;
    background-image: url("../images/icons/folder-up.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.folder_up {
    height: 30px;
    width: 40px;
    color: rgb(33, 37, 41) !important;
    border-color: #0099ff;
    !important;
    background-color: rgb(255,255,255);
}


.mooring_rope_icon {
    -webkit-mask: url("../images/icons/mooringrope.svg") no-repeat center;
    mask: url("../images/icons/mooringrope.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: #198754;
}

.mooring_rope {

    color: rgb(33, 37, 41) !important;
    border-color: #0099ff;
    !important;
    background-color: rgb(255,255,255);
}

.wire_rope_icon {
    -webkit-mask: url("../images/icons/wirerope.svg") no-repeat center;
    mask: url("../images/icons/wirerope.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: #ffc107;
}

.wire_rope {

    color: rgb(33, 37, 41) !important;
    border-color: #0099ff;
    !important;
    background-color: rgb(255,255,255);
}

.ladders_icon {
    -webkit-mask: url("../images/icons/ladders.svg") no-repeat center;
    mask: url("../images/icons/ladders.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: #0099ff;
}

.ladders {
    height: 30px;
    width: 40px;
    color:yellow;
    border-color: #0099ff; !important;
 
}

.aircompressor_icon {
    -webkit-mask: url("../images/icons/aircompressor.svg") no-repeat center;
    mask: url("../images/icons/aircompressor.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    background-color: #dc3545;
}

.aircompressor {
    height: 30px;
    width: 40px;
    color: rgb(33, 37, 41) !important;
    border-color: #0099ff;
    !important;
    background-color: rgb(255,255,255);
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-detail-cell {
    padding: 5px;
}

.in-stock-item {
    background-color: #7dc67d;
    color: black;
    font-weight: bold;
}

.out-stock-item {
    background-color: #dc3545;
    color: black;
    font-weight: bold;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    font-weight: bold;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    background-color: #0099ff;
    border-color: #0099ff;
    text-transform: uppercase;
}

    .action-btn:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
        background-color: #006ab3 !important;
        border-color: #006ab3 !important;
    }

@media screen and (max-width: 768px) {
    .action-toolbar {
        justify-content: center;
        gap: 0.5rem;
    }

    .action-btn {
        flex: 1 1 auto;
        justify-content: center;
        font-size: 0.8rem;
    }
}


.drop-area {
    flex: 1 1 100%;
    min-width: 300px;
}

.dx-preview-pane {
    flex: 1 1 100%;
    margin-top: 1rem;
}

.dx-preview-iframe {
    width: 100%;
    height: 500px;
    border: none;
}



.plexusTooltip {
    position: relative;
    display: inline-block;
}

    .plexusTooltip .plexusTooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 50%;
        margin-left: -60px;
    }


    .plexusTooltip:hover .plexusTooltiptext {
        visibility: visible;
    }


.vessel_properties_icon svg {
    width: 20px;
    height: 24px;
    color: green;
}

.vessel_properties_warning_icon svg {
    width: 20px;
    height: 24px;
    color: red;
}

.documentflagaction {
    margin-top: 42px;
}

.custom-md-combobox {
    min-width: 350px;
    max-width: 400px;
    border-radius: 12px !important;
    border: 1px solid #dee2e6 !important;
    padding: 6px 10px;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

    .custom-md-combobox:focus-within,
    .custom-md-combobox:hover {
        border-color: #4dabf7 !important;
        box-shadow: 0 0 0 3px rgba(77,171,247,0.25);
    }

.redesign-font-family {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

.custom-combobox {
    min-width: 240px;
    max-width: 320px;
    border-radius: 12px !important;
    border: 1px solid #dee2e6 !important;
    padding: 6px 10px;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

    .custom-combobox:focus-within,
    .custom-combobox:hover {
        border-color: #4dabf7 !important;
        box-shadow: 0 0 0 3px rgba(77,171,247,0.25);
    }


/*.card-header {
    background-color: #bacdec !important;
    font-weight: bold;
    font-size: 15px;
}

.card {
    box-shadow: 7px 7px 7px rgba(0, 0, 0, 0.1);
    border: 1px solid #a6bfe6;
}
*/

.vertical-align-label {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.customer-input {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dxbl-tabs.order-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .customer-order-tabs:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active {
    background: linear-gradient(90deg, #ddeddd, #bccfbc) !important;
    color: black !important;
    font-weight: bold;
    padding: 5px 30px;
}

    .dxbl-tabs.order-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .customer-order-tabs:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active > span {
        color: black !important;
    }


.customer-order-child-tabs > .dxbl-tabs-tablist {
    font-size: 0.9rem;
    margin-top: 2px;
}

    .customer-order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item {
        color: black;
    }

.dxbl-tabs.customer-order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active {
    color: black !important;
    background: linear-gradient(90deg, #ddeddd, #bccfbc);
    font-weight: bold;
    padding: 5px 30px;
    border: 1px solid #668e66;
    border-radius: 1px;
}

    .dxbl-tabs.customer-order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active > span {
        color: black !important;
    }

.customer-order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active::after {
    background: #668e66;
    padding: 2px !important;
}


.customer-order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-active > span {
    color: black;
}

.add-existing-popup {
    min-width: 70%;
    min-height: 500px;
}


.order-tabs {
    /* padding: 0.5rem 1rem; */
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

    .order-tabs > .dxbl-tabs-tablist {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6 !important;
        border-radius: 5px !important;
        letter-spacing: 1px;
        font-size: 1rem;
    }

        .order-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item {
            color: black;
        }

.dxbl-tabs.order-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active {
    background: #bacdec;
    color: black;
    font-weight: bold;
    padding: 5px 30px;
}

    .dxbl-tabs.order-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active > span {
        color: black !important;
    }

.order-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active::after {
    background-color: black !important;
    padding: 1px;
}


.order-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-active > span {
    color: white !important;
}


.order-child-tabs > .dxbl-tabs-tablist {
    font-size: 0.9rem;
    margin-top: 2px;
}

    .order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item {
        color: black;
    }

.dxbl-tabs.order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active {
    background-color: #bacdec;
    color: black;
    font-weight: bold;
    padding: 5px 30px;
    border: 1px solid #4277ca;
}

    .dxbl-tabs.order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active > span {
        color: black !important;
    }

.order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active::after {
    background-color: #4277ca !important;
    padding: 2px;
}


.order-child-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-active > span {
    color: white !important;
}

.no-left-border {
    border-left: none !important;
}

.icon-link-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .icon-link-card:hover {
        transform: translateY(-5px);
    }

.card {
    transition: all 0.3s ease;
}

.icon-link-card:hover .card {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.icon-link-card:hover .icon-box {
    transform: scale(1.1);
}

.icon-box i {
    font-size: 2rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.card-body {
    padding: 2rem 1.5rem;
}

  
::deep .text-primary .icon-box {
    background-color: rgba(13, 110, 253, 0.1);
}

::deep .text-success .icon-box {
    background-color: rgba(25, 135, 84, 0.1);
}

::deep .text-warning .icon-box {
    background-color: rgba(255, 193, 7, 0.1);
}

::deep .text-danger .icon-box {
    background-color: rgba(220, 53, 69, 0.1);
}

 @media (max-width: 768px) {
    .icon-box {
        width: 60px;
        height: 60px;
    }

        .icon-box i {
            font-size: 1.5rem;
        }

    .card-title {
        font-size: 1rem;
    }
}

/* .disabled-card { */
    /* pointer-events: none; */
    /* opacity: 0.6; */
    /* cursor: not-allowed; */
/* } */


/* MainLayout.razor.css */

.page {
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

/* Sidebar styles - Dark blue gradient */
.sidebar {
    width: 264px;
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

/* Sidebar Header with Logo */
.sidebar-header {
    padding: 1.25rem;
    background: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sidebar-header #logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .sidebar-header #logo img {
            max-width: 150px;
            max-height: 60px;
            object-fit: contain;
        }

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

    .sidebar-nav .nav {
        padding: 0;
        margin: 0;
    }

    .sidebar-nav .nav-item {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar-nav .nav-link {
        color: rgba(255, 255, 255, 0.9);
        padding: 1rem 1.25rem;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
        border: none;
        cursor: pointer;
        text-decoration: none;
        font-size: 0.9rem;
        background: transparent;
    }

        .sidebar-nav .nav-link:hover {
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }

        .sidebar-nav .nav-link.active {
            background: rgba(59, 130, 246, 0.3);
            color: white;
            font-weight: 500;
            border-left: 4px solid #60a5fa;
        }

        .sidebar-nav .nav-link i {
            margin-right: 0.75rem;
            font-size: 1rem;
            width: 20px;
            text-align: center;
            flex-shrink: 0;
        }

        .sidebar-nav .nav-link span {
            flex: 1;
        }

/* Back to Home button */
.sidebar-footer {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-back {
    width: 100%;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

    .btn-back:hover {
        background: rgba(0, 0, 0, 0.3);
        color: white;
    }

    .btn-back i {
        margin-right: 0.75rem;
        font-size: 1rem;
    }

/* Main content area */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
    background: #f3f4f6;
}


    /* Top row - Logo and centered text on same line */
    main .top-row {
        position: sticky;
        top: 0;
        z-index: 999;
        background: white;
        border-bottom: 1px solid #e5e7eb;
        padding: 0.75rem 1.5rem;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        main .top-row #logo {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

            main .top-row #logo img {
                width: 80px;
                height: 50px;
                object-fit: contain;
            }

        main .top-row .header-text {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            font-weight: 600;
            font-size: xx-large;
            white-space: nowrap;
        }

        main .top-row .spacer {
            width: 80px;
            flex-shrink: 0;
        }

    /* Content area */
    main .content {
        flex: 1;
        padding: 1.5rem;
    }

/* Scrollbar styling for sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

    .sidebar-nav::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        width: 240px;
    }

    main.with-sidebar {
        margin-left: 240px;
    }

    main .top-row .header-text {
        font-size: x-large;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        transform: translateX(-100%);
    }

        .sidebar.open {
            transform: translateX(0);
        }

    main.with-sidebar {
        margin-left: 0;
    }

    main .top-row .header-text {
        font-size: large;
    }

    /* Mobile toggle button */
    .sidebar-toggle {
        display: inline-block;
        background: none;
        border: none;
        color: #333;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }
}

@media (min-width: 769px) {
    .sidebar-toggle {
        display: none;
    }
}

/* Error UI styling */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 5px 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;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }



/* .side_menu_item { */
    /* pointer-events: none; */
    /* opacity: 0.6; */
    /* cursor: not-allowed; */
/* } */


.service-detail-page {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.service-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.service-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.service-header .lead {
    font-size: 1.25rem;
    margin-top: 1rem;
}

.service-content .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-content .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .feature-list li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #e9ecef;
        position: relative;
        padding-left: 1.5rem;
    }

        .feature-list li:last-child {
            border-bottom: none;
        }

        .feature-list li:before {
            content: "▸";
            position: absolute;
            left: 0;
            color: #3498db;
            font-weight: bold;
        }

.btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.25rem 0.5rem rgba(52, 152, 219, 0.3);
    }

/* Responsive */
@media (max-width: 768px) {
    .service-header h1 {
        font-size: 1.75rem;
    }

    .service-header .lead {
        font-size: 1rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

        .service-icon i {
            font-size: 2rem !important;
        }
}
