.expenses-dashboard {
  padding: 20px;
}

.dashboard-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #1b264f;
}

.expenses-summary {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.summary-card {
  flex: 1;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.1);
}

.summary-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-value {
  font-size: 32px;
  font-weight: 700;
}

.expenses-table-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.expenses-table {
  width: 100%;
  border-collapse: collapse;
}

.expenses-table thead {
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}

.expenses-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  user-select: none;
}

.expenses-table th:hover {
  background: #e9ecef;
}

.expenses-table th i {
  margin-left: 5px;
  font-size: 12px;
  opacity: 0.5;
}

.expenses-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background 0.2s;
}

.expenses-table tbody tr:hover {
  background: #f8f9fa;
}

.expenses-table td {
  padding: 15px;
  font-size: 14px;
  color: #495057;
}

.text-right {
  text-align: right !important;
}

.amount-cell {
  font-weight: 600;
  font-size: 15px;
  color: #f97316;
}

.expense-type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.type-parts {
  background: #dbeafe;
  color: #1e40af;
}

.type-mileage {
  background: #fef3c7;
  color: #92400e;
}

.type-tools {
  background: #f3e8ff;
  color: #6b21a8;
}

.type-equipment-hire {
  background: #ddd6fe;
  color: #5b21b6;
}

.type-subcontractor {
  background: #d1fae5;
  color: #065f46;
}

.type-permits-licenses {
  background: #fce7f3;
  color: #9f1239;
}

.type-other {
  background: #e5e7eb;
  color: #374151;
}

.related-job {
  font-size: 13px;
  color: #6b7280;
}

.no-job {
  color: #d1d5db;
  font-style: italic;
}

.actions-column {
  width: 100px;
  text-align: center;
}

.loading-message,
.error-message {
  text-align: center;
  padding: 60px 20px;
  font-size: 16px;
  color: #6b7280;
}

.error-message {
  color: #dc2626;
}

.loading-message i,
.error-message i {
  font-size: 24px;
  margin-right: 8px;
}

.no-expenses {
  text-align: center;
  padding: 80px 20px;
  color: #9ca3af;
}

.no-expenses .icon-large {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.no-expenses p {
  font-size: 18px;
  margin: 10px 0;
}

.no-expenses .hint {
  font-size: 14px;
  color: #d1d5db;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 12px;
}
