html,
body {
    height: 100%;
}

#blazor-error-ui {
    background-color: rgba(248, 249, 250, 0.8);
    bottom: 0;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 9998;
}

.form-signin-container {
    align-items: center;
    display: flex;
    height: 100%;
    padding-bottom: 40px;
    padding-top: 40px;
    width: 100%;
}

.form-signin {
    margin: auto;
    max-width: 450px;
    padding: 15px;
    width: 100%;
}

.form-signin .alert,
.form-signin .alert ul {
    margin: 0 !important;
}

.back-arrow {
    color: var(--bs-body-color);
    cursor: pointer;
    margin-right: 12px;
}

.small-container {
    max-width: 960px;
}

.loader-dimmer {
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    vertical-align: middle;
    width: 100%;
    z-index: 1000;
}

.loader-spinner {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

textarea {
    min-height: 134px !important;
}

.preventionProgramSheetDropZone {
    min-height: 200px;
}

.form-label {
    margin-bottom: -0.2rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.fs-14 {
    font-size: 14px;
}

.invisible-link {
    display: block;
    height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    width: 0;
}

.no-caret::after {
    display: none;
}

.dropdown-hover {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.list-group-item:hover .dropdown-hover,
.client-message:hover .dropdown-hover,
.dropdown-hover:hover {
    opacity: 1;
}

th {
    color: #6c757d !important;
    font-size: .875rem !important;
    font-weight: 500 !important;
}

.tooltip {
    --bs-tooltip-max-width: 500px !important;
    --bs-tooltip-padding-x: 0.75rem !important;
    --bs-tooltip-padding-y: 0.75rem !important;
}

.tooltip-inner {
    text-align: left !important;
}

.hx-grid-header-cell-container .hx-icon {
    align-self: start;
}

/* Override Havit CSS dark mode shadow to always use black shadow */
:root,
[data-bs-theme=light],
[data-bs-theme=dark] {
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075) !important;
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}