@import url('dragdrop.css');

/* TODO Remove? https://mudblazor.com/getting-started/installation#manual-install-removing-references */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

.dot {
    flex-shrink: 0;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    display: inline-block;
}

/* region MudTable */
.mud-table-row-selected {
    background-color: #1E88E5 !important;
}

.mud-table-row-selected > td {
    color: white !important;
}

.mud-table-row-selected > td .mud-input {
    color: white !important;
}

/*endregion MudTable*/

.div-scroll {
    max-height: 70vh;
    overflow: scroll;
}

.div-scroll-small {
    max-height: 60vh;
    overflow: scroll;
}

.div-scroll-smaller {
    max-height: 50vh;
    overflow: scroll;
}

/* TODO Mudblazor has gap now */
.gap {
    gap: 1em;
}

.project-mud-paper {
    flex: 1;
    align-self: center;
    /* Cannot use blazor css isolation because that gets resolved at build time and we're using the DropZone's ItemWrapperClass property */
}