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

html, body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #F5F5F5;
    margin: 0;
    padding: 0;
}

a, .btn-link {
    color: #1565C0;
}

.btn-primary {
    color: #fff;
    background-color: #1565C0;
    border-color: #0D47A1;
}

.btn-primary:hover {
    background-color: #0D47A1;
    border-color: #0D47A1;
}

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

.invalid {
    outline: 1px solid #E53935;
}

.validation-message {
    color: #E53935;
    font-size: 0.85rem;
}

/* MudBlazor DataGrid improvements */
.mud-table-head th {
    font-weight: 600 !important;
    background-color: #F5F5F5 !important;
}

.mud-table-row:hover {
    background-color: #E3F2FD !important;
}

/* Drawer active link */
.mud-nav-link.active {
    background-color: #E3F2FD !important;
    border-right: 3px solid #1565C0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background: #BDBDBD;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9E9E9E;
}

/* Error UI */
#blazor-error-ui {
    background: #FFF3E0;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #E65100;
}

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