@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');
@import url('bootstrap//bootstrap.min.css');
@import url('setup.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px 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;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.target-content-container {
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    padding: 10px;
}

.scrollable-grid {
    max-height: 600px;
    overflow-y: auto;
}

.scrollable-table {
    max-height: 700px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 5px;
    box-sizing: border-box;
}

.checkbox-align {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

    .checkbox-align .dx-checkbox {
        margin: 0;
    }

.checkbox-label {
    margin-right: 10px;
    width: 100px;
}

.d-flex.align-items-center {
    display: flex;
    align-items: center;
}


label {
    margin-bottom: 5px;
}

.form-control, .form-select {
    height: 35px;
    font-size: 14px;
}

.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-spacing {
    margin-bottom: 15px;
}

.custom-grid {
    margin-top: 20px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

    .custom-grid th, .custom-grid td {
        text-align: center;
        vertical-align: middle;
        padding: 8px;
    }


.data-grid {
    margin-top: 20px;
    border: 1px solid #ddd;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.row.mb-3 {
    display: flex;
    align-items: center;
}

    .row.mb-3 .col-md-4, .row.mb-3 .col-md-6 {
        display: flex;
        flex-direction: column;
    }

        .row.mb-3 .col-md-4 label, .row.mb-3 .col-md-6 label {
            margin-bottom: 5px;
        }

.font-weight-bold {
    font-weight: bold;
}

.custom-tabs {
    display: flex;
    gap: 20px;
}

    .custom-tabs .dx-tab {
        min-width: 150px;
        text-align: center;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 5px;
        background-color: #f9f9f9;
        border: 1px solid #ddd;
    }

        .custom-tabs .dx-tab:hover {
            background-color: #e6e6e6;
        }

        .custom-tabs .dx-tab.active {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
        }

.custom-drawer .target-content-container {
    margin-left: 10px;
}

.custom-drawer .menu-container {
    border-right: 1px solid #e0e0e0;
    height: 100%;
    padding: 0 10px;
    border-radius: 8px;
}

.custom-drawer .dx-accordion .dx-accordion-item {
    margin: 5px 0;
    font-size: 10px;
    font-weight: 500;
}

    .custom-drawer .dx-accordion .dx-accordion-item:hover {
        cursor: pointer;
    }

.custom-drawer .dxbl-group > .dxbl-group-header {
    background: #FFF !important;
}

    .custom-drawer .dxbl-group > .dxbl-group-header:hover {
        background: #EFEFEF !important;
    }

.sub-menu {
    padding-left: 15px;
    padding: 8px;
}

.sub-menu-item {
    font-size: 13px;
    font-weight: normal;
    margin: 3px 0;
    padding: 5px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

    .sub-menu-item:hover {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        cursor: pointer;
    }

.text-danger {
    color: red;
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    box-sizing: border-box;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.btn-purple {
    background-color: #9b59b6;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
}

    .btn-purple:hover {
        background-color: #8e44ad;
    }

.btn-blue {
    background-color: #03c6fc;
    color: white;
    border-radius: 5px;
}

.btn-danger {
    background-color: #dc3545 !important;
    color: white !important;
    border-radius: 5px;
}

.btn-dark {
    background-color: black;
    color: white;
}

.btn-warning {
    background-color: orange;
    color: white;
}

.btn-warning-light {
    background-color: yellow;
    color: black;
}

.btn-success {
    background-color: green;
    color: white;
}

.btn-light-green {
    background-color: lightgreen;
    color: black;
}

.main-menu-item .dxbl-menu-item button img,
.main-menu-item .dxbl-menu-item a img {
    height: 24px;
}

.dxbl-menu-bar ul.dxbl-menu-item-list {
    justify-content: right;
}

.tooltip-wrapper {
    display: flex;
}

.custom-tooltip {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    display: none;
    z-index: 10000;
    text-align: justify;
    line-height: 1.2;
}

.km-hour-rate {
    width: 507px;
}

.seat-area-rate {
    width: 906px;
}


.dxbl-menu-dropdown-item > img.dxbl-image[src$="reports.svg"] {
    width: 20px;
    height: 18px !important;
}


/* ICONS USED BY DEVXPRES PDFVIEWER */
/* Zoom In icon */
/*.dxd-icon-ReportViewer_Toolbar_ZoomIn {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="black" viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C8.01 14 6 11.99 6 9.5S8.01 5 10.5 5 15 7.01 15 9.5 12.99 14 10.5 14z"/></svg>');
    height: 28px !important;
    width: 28px !important;
}*/

/* Export/Download icon */
/*.dxd-icon-ReportViewer_Toolbar_ExportTo {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="black" viewBox="0 0 24 24"><path d="M5 20h14v-2H5v2zm7-18l-5 5h3v4h4v-4h3l-5-5z"/></svg>');
    height: 28px !important;
    width: 28px !important;
}

.dxd-icon-ReportViewer_Toolbar_Print {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="black" viewBox="0 0 24 24"><path d="M19 8H5c-1.1 0-2 .9-2 2v6h4v4h10v-4h4v-6c0-1.1-.9-2-2-2zM17 18H7v-5h10v5zm-5-9h2v2h-2V9zM17 3H7v3h10V3z"/></svg>');
    height: 28px !important;
    width: 28px !important;
}*/

.saving-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saving-spinner-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 200px;
}

.field-error {
    outline: 2px solid #dc3545 !important;
    border-radius: 3px;
}

.window-size {
    height: calc(100vh - 48px);
}

.content-size {
    height: calc(100% - 36px);
}

.schedule-button-padding {
    padding : 5px !important;
}

.schedule-save-autoscheduler-width{
    min-width: 75px;
}