@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

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;
    }

:root {
    --rz-grid-cell-padding: 6px 10px;
    --rz-grid-cell-padding: 6px 10px;
}

.rz-grid-table thead th {
    background: #eef1f5;
    font-weight: 600;
}

.rz-toolbar {
    padding: 0.5rem 0;
}

.wb.header {
    font-weight: 600;
    color: #444;
}

.wb-subtotal {
    font-weight: 600;
}

.row-header td {
    font-weight: 600;
    background: #f8f9fa;
}

.row-subtotal td {
    font-weight: 700;
    border-top: 2px solid #dee2e6;
}

.cell-strong {
    font-weight: 700;
}

/* Footer total styles */
.total-label {
    margin-right: .5rem;
    font-weight: 700;
}

.total-amount {
    font-weight: 800;
    font-size: 1.15rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    align-items: center;
    gap: 12px 16px;
    margin: 6px 0;
}

    .form-grid label {
        font-weight: 600;
        line-height: 1.2;
    }

    .form-grid .actions {
        grid-column: 2 / 3;
    }

@media (max-width: 520px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

        .form-grid .actions {
            grid-column: 1 / -1;
        }
}
