* {
    scrollbar-color: black white;
}

::-webkit-scrollbar {
    width: 12px !important;
}

::-webkit-scrollbar-track {
    background: white !important;
}

::-webkit-scrollbar-thumb {
    background: black !important;
}

:root {
    --rz-text-font-family: 'Montserrat', Arial, sans-serif !important;
}

html, body {
    font-family: 'Montserrat', Arial, sans-serif !important;
    background-color: white !important;
    color: black !important;
    margin: 0;
    padding: 0;
}

.rz-body {
    background: white !important;
    color: black !important;
    padding: 0 !important;
}

.rz-layout {
    background: white !important;
    color: black !important;
}

/* Blazor error UI styling */
#blazor-error-ui {
    color-scheme: light only;
    background: white;
    border: 2px solid black;
    bottom: 0;
    box-shadow: none;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-family: 'Montserrat', Arial, sans-serif !important;
    color: black;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    color: black;
}

#blazor-error-ui a.reload {
    color: black;
    font-weight: bold;
    text-decoration: underline;
}

#blazor-error-ui a.reload:hover {
    color: white;
    background-color: black;
}

.blazor-error-boundary {
    background: white;
    border: 1px solid black;
    padding: 1rem;
    color: black;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
    display: block;
    margin-top: 0.5rem;
    font-weight: bold;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: black;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    font-family: 'Montserrat', Arial, sans-serif !important;
    color: black;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

.validation-message {
    color: red;
    font-size: 0.9em;
}

@media(max-width:480px) {
    .rz-body{
        padding:0;
    }
}

.rz-calendar-view td .rz-state-default.rz-state-focused {
    background-color: white !important;
    color: black !important;
}

.rz-calendar-view td .rz-state-active.rz-state-focused {
    background-color: black !important;
    color: white !important;
}

.rz-calendar-view td .rz-state-active, .rz-calendar-view td .rz-state-active.rz-calendar-today {
    background-color: black !important;
    color: white !important;
}
