/* Modern Loading Spinner */
.loading-progress {
    position: relative;
    display: block;
    width: 4rem;
    height: 4rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #e0e6ed;
    border-top: 4px solid #0071c1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: 500;
    color: #0071c1;
    inset: calc(20vh + 6rem) 0 auto 0.2rem;
    font-size: 1.1rem;
}

.loading-progress-text:after {
    content: "Send Invoice Loading...";
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Blazor 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 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;
}

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

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.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 .reload {
    color: #fff;
    background-color: #0071c1;
    border: 1px solid #0071c1;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    margin-right: 1rem;
}

#blazor-error-ui .reload:hover {
    background-color: #005a9e;
    border-color: #005a9e;
} 
