html, body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f4f6f9;
    color: #334155;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #0f172a;
}

a, .btn-link {
    color: #2563eb;
}

.content {
    padding-top: 1.5rem;
}

/* Custom Radzen Styling to look more premium */
.rz-datatable, .rz-grid-table {
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.rz-grid-table thead th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-bottom: 2px solid #e2e8f0;
}

.rz-button.rz-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2) !important;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.rz-button.rz-primary:hover {
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3) !important;
    transform: translateY(-1px);
}

.rz-button {
    transition: all 0.2s ease;
}

.rz-badge {
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

#blazor-error-ui {
    background: #fef2f2;
    color: #991b1b;
    border-top: 2px solid #ef4444;
}

/* Forzar todos los popups y dialogos al 80% del tamano de la pantalla */
.rz-dialog {
    width: 80vw !important;
    height: 80vh !important;
    max-width: 80vw !important;
    max-height: 80vh !important;
    top: 10vh !important;
    left: 10vw !important;
    position: fixed !important;
}

.rz-dialog-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rz-dialog-content {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    max-height: calc(80vh - 90px) !important;
}