/* General Layout */
html, body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #f4f6f8;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    margin: 0;
    color: #3c4858;
}

a, .btn-link {
    color: #007bff;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

button {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

/* Styling for buttons */
.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #004085;
    }

/* Focus outline */
.btn:focus, .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

/* Main content styling */
.content {
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

/* Validation */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    font-size: 0.875rem;
}

/* Error UI */
#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;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background-color: #b32121;
    color: white;
    padding: 1rem;
    border-radius: 5px;
}

.loading-progress {
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto;
}

code {
    color: #c02d76;
    background-color: #f8f9fa;
    padding: 2px 4px;
    border-radius: 4px;
}
