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

───────────────────────────────────────────────────────────────── */
:root {
    --bv-burgundy: #722F37;
    --bv-burgundy-dark: #5e272d;
    --bv-burgundy-light: #8a3f47;
    --bv-slate: #5D7A8C;
    --bv-slate-dark: #4a6273;
    --bv-cream: #F4ECDC;
    --bv-cream-light: #FAF6EE;
    --bv-charcoal: #2D2A2E;
    --bv-gray-text: #4a5568;
    --bv-gray-border: #e2e8f0;
}


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

/* Prevent MudSelect hover from bleeding onto other list items */
.mud-popover .mud-list-item-clickable {
    isolation: isolate;
}

.mud-list-item-clickable:not(.mud-selected):hover {
    background-color: var(--mud-palette-action-hover) !important;
}

.mud-select-popover .mud-list-item:hover {
    background-color: var(--mud-palette-action-hover) !important;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

.chartCRN-icon {
    background: url('../images/chartcrn.svg') no-repeat center;
    width: 24px;
    height: 24px;
    display: inline-block;
}

/* MudTooltip popper renders in a global layer that sits below MudDialog by
   default. Bump it above the dialog's overlay so tooltips inside dialogs
   are visible. The MudBlazor dialog z-index is around 1300; tooltip
   popper defaults to ~1200. Setting tooltip to 1400 keeps it above
   dialogs without going so high it'd interfere with future Snackbar/Drawer. */
.mud-tooltip {
    z-index: 1400 !important;
}

.mud-popover-provider .mud-popover[role="tooltip"] {
    z-index: 1400 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Nav menu group headings (e.g. Reports): bold so they read as sections, not plain links */
.bv-nav-group > .mud-nav-link .mud-nav-link-text {
    font-weight: 600;
}
