@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    /*background: url(../images/white-gradient-background.jpg) no-repeat center center fixed;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    height: 100%;
    font-family: Calibri, sans-serif;
}

.col-form-label {
    display: none;
}

.xaf-alert-message {
    white-space: pre-line !important;
}

.dxbl-tabs {
    min-height: 30px !important;
}

/*.xaf-nav-link {*/
/*    color: black;*/
/*    font-weight: bold;*/
/*}*/

/*.modal-content {*/
/*    background: url(../images/white-gradient-background.jpg) no-repeat center center fixed;*/
/*    !* Add the blur effect *!*/
/*    !*filter: blur(8px);*!*/
/*    !*-webkit-filter: blur(8px);*!*/

/*    opacity: 1.0;*/
/*    !*-webkit-transition: background 1.5s linear;*!*/
/*    !*-moz-transition: background 1.5s linear;*!*/
/*    !*-o-transition: background 1.5s linear;*!*/
/*    !*transition: background 1.5s linear;*!*/
/*}*/

/*.card {*/
/*    background-color: rgba(255, 255, 255, .9) !important;*/
/*}*/

app {
    display: block;
    height: 100%;
}

.header-logo {
    display: none;
}

.about-info::before {
    content: '';
    display: block;
    width: 160px;
    height: 45px;
    margin-bottom: 8px;
    background-color: currentColor;
    -webkit-mask: url('../images/gepha.svg') no-repeat left center;
    mask: url('../images/gepha.svg') no-repeat left center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.dxbl-grid-header-content {
    text-wrap: wrap;
    max-height: 50px;
    line-height: 1.2;
}

.root-table {
    height: calc(100vh - 130px) !important;
}

.dxbs-popup.modal-dialog {
    /*max-width: 90% !important*/
}

/*.border {*/
/*    white-space: pre-line !important;*/
/*}*/

/*button {*/
/*    background-color: #4353FF !important;*/
/*}*/

/*.form-control[readonly]:not([disabled]).dx-reset-readonly-style {*/
/*    background-color: rgb(255, 255, 255);*/
/*}*/

.btn-secondary {
    border-color: #fe7109;
}

.loading-image {
    width: 112px !important;
    height: 112px !important;
    padding: 0px !important;
    object-fit: contain;
    margin: auto;
    display: block;
    background-color: transparent !important;
    position: relative;
    top: -0px;
    left: 0px;
}


.loading-image-wrapper {
    background-color: transparent !important;
}

#loadingBackground {
    background-color: transparent !important;
}

.bg-primary {
    --bs-bg-opacity: 0 !important;
}

.border-primary {
    border-color: lightgray !important;
}

/*.form-check-input:checked {*/
/*    background-color: #D97800;*/
/*    border-color: #D97800;*/
/*}*/

/* DevExpress popup customizations - responsive popup dialogs */
.dx-overlay-content.dx-popup-normal.dx-popup-draggable.dx-resizable {
    width: 60vw !important;
    height: 60vh !important;
}

/* Query Editor customization */
.dxrd-create-query-page-editor.dxrd-create-query-page-editor-border.dxd-border-secondary.dx-editquery-editor {
    height: 450px !important;
    /*max-height: 70%;*/
}

/* Master-Detail Splitter - Override bottom pane minimum height constraint */
.xaf-masterdetail-detailview {
    min-height: 50px !important;
    transition: height 0.3s ease-in-out, min-height 0.3s ease-in-out;
}

/* Collapsible Master-Detail Splitter - Collapse button styling */
.xaf-masterdetail-splitter {
    position: relative;
}

.xaf-collapse-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 10;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.xaf-collapse-button:hover {
    background-color: #e0e0e0;
    border-color: #999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.xaf-collapse-button:active {
    background-color: #d0d0d0;
}

.xaf-masterdetail-collapsed {
    transition: flex 0.3s ease-in-out;
}
/* Copy tooltip for ListView text cells - full text + copy button anchored at the pointer. See js/text-tooltip.js */
.xaf-text-tooltip {
    position: fixed;
    display: none;
    align-items: center;
    gap: 3px;
    padding: 1px 3px;
    background-color: rgba(45, 45, 48, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    color: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 0.75rem;
    line-height: 1.3;
    z-index: 20000;
}

.xaf-text-tooltip.visible {
    display: flex;
}

.xaf-text-tooltip-text {
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 40vh;
    overflow-y: auto;
}

.xaf-text-tooltip-copy {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    color: #cfcfcf;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.xaf-text-tooltip-copy:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.xaf-text-tooltip-copy.copied {
    color: #5dd879;
    border-color: #5dd879;
}
