html,
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

body {
    margin: 0;
}

a {
    text-decoration: none;
}

h1:focus {
    outline: none;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    color: #6c757d;
    margin-bottom: 0;
}

.stat-card {
    border: 0;
    box-shadow: 0 0.125rem 0.5rem rgba(33, 37, 41, 0.06);
}

.stat-card .stat-label {
    color: #6c757d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-card .stat-value {
    font-size: 1.9rem;
    font-weight: 600;
}

.table td,
.table th {
    vertical-align: middle;
}

.form-card,
.list-card {
    border: 0;
    box-shadow: 0 0.125rem 0.5rem rgba(33, 37, 41, 0.06);
}

.website-count-button {
    min-width: 2.5rem;
    padding: 0.15rem 0.55rem;
    font-weight: 600;
    line-height: 1.2;
}

.invoice-preview {
    white-space: pre-wrap;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
}

.valid.modified:not([type=checkbox]) {
    border-color: #198754;
}

.invalid {
    border-color: #dc3545;
}

.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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;
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #212529;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

@media (max-width: 767.98px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
