@import url('bootstrap-icons/font/bootstrap-icons.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    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;
    width: 100%;
    position: fixed !important;
    z-index: 200000 !important;
}

    #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;
}

.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%;
}

.required-caption:after {
    content: '*';
    color: red;
    padding-left: 0.25rem;
}

.mandatory {
    background-color: #F8D7DA !important;
}

.readonly {
    background-color: #B0B0B0 !important;
}

.mandatory-dark {
    background-color: #C9B0B3 !important;
}

.readonly-dark {
    background-color: #3A3A3A !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.grid-selection-readonly .dx-datagrid .dx-command-select {
    pointer-events: none;
    opacity: 0.6; /* Optional: visually indicate disabled */
}

.scrollable-div {
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.is-holiday {
    background-color: #b6e7a7 !important;
}

.grid-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.slider-wrapper {
    margin-bottom: -4rem !important; /* Activity log slider */
    padding-bottom: 0 !important;
    margin-top: 1rem !important;
}

.dxbl-grid {
    height: 100%;
}

.custom-font-size {
    font-size: 12px;
}

.duration-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.duration-dot {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    flex: 0 0 auto;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04) inset;
}

/* Default colors — adjust as needed */
.duration-dot.productive {
    background-color: #03dac5; 
}

.duration-dot.nonproductive {
    background-color: #893ff2;
}

.duration-dot.undefined {
    background-color: #666666;
}

.custom-legend .dxbl-checkbox-check-element {
    display: none !important;
}

.custom-legend .dxbl-checkbox-unchecked {
    opacity: 0.4;
    padding: 2px !important;
    margin: 0px !important;
}

.custom-legend .dxbl-checkbox-checked {
    padding: 2px !important;
    margin: 0px !important;
}

.custom-legend .dxbl-chart-legend-item {
    padding: 0px !important;
    margin: 0px !important;
}

.custom-legend .dxbl-chart-legend-items a {
    padding: 0px !important;
    margin: 0px !important;
}

.custom-legend {
    padding: 0px !important;
    margin: 0px !important;
}

.hide-combo-box-border {
    border: 1px solid transparent !important;
}

.hide-combo-box-border .dxbl-edit-btn-dropdown {
    border: 1px solid transparent !important;
}

.hide-combo-box-border .dxbl-text-edit-template {
    padding: 6px 0px 0px 0px !important;
    margin: 0px !important;
}

.hide-combo-box-border .dxbl-text-edit-input {
    padding: 0px !important;
    margin: 0px !important;
}

.custom-dropdown .dxbl-list-box-item-selected {
    background: transparent !important;
}

.hide-column-seperator-grid td {
    border-left: 1px solid transparent !important;
    border-right: 1px solid transparent !important;
}

.hide-column-seperator-grid th {
    border-left: 1px solid transparent !important;
    border-right: 1px solid transparent !important;
}

.custom-grid-font-size .dx-datagrid-table td,
.custom-grid-font-size .dx-datagrid-table span {
    font-size: 12px !important;
}