html, body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f5f6fa;
}

.loading-screen {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #6c757d;
}

#blazor-error-ui {
    background: #ffe9e9;
    border-top: 1px solid #f5c2c7;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .1);
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.page-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
    padding: 1.5rem;
}

.auth-wrapper {
    max-width: 420px;
    margin: 4rem auto;
}

.priority-Low { background-color: #6c757d; }
.priority-Medium { background-color: #0d6efd; }
.priority-High { background-color: #fd7e14; }
.priority-Critical { background-color: #dc3545; }

.task-completed td {
    text-decoration: line-through;
    color: #9aa0a6;
}

.overdue {
    color: #dc3545;
    font-weight: 600;
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1080;
}
