// Status badge pill styles
%badge-base {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-draft {
  @extend %badge-base;
  background-color: #e5e7eb;
  color: #374151;
}

.badge-pending {
  @extend %badge-base;
  background-color: #fef3c7;
  color: #92400e;
}

.badge-approved {
  @extend %badge-base;
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-paid {
  @extend %badge-base;
  background-color: #d1fae5;
  color: #065f46;
}

.badge-rejected {
  @extend %badge-base;
  background-color: #fee2e2;
  color: #991b1b;
}

.receipt-link {
  font-size: 0.8rem;
  margin-left: 4px;
  color: #1d4ed8;
  text-decoration: underline;
}

// Small "Approved/Rejected by X · date" note under the status badge.
.review-meta {
  margin-top: 4px;
  font-size: 0.7rem;
  line-height: 1.2;
  color: #6b7280;
}

.review-meta-reject {
  color: #b91c1c;
}

.review-reason {
  margin-top: 2px;
  font-style: italic;
  color: #991b1b;
}

// Save confirmation pill. z-index sits above the Kendo dialog overlay so it
// stays visible while the continuous-entry dialog remains open.
.save-toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 20000;
  padding: 0.7rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0fdf4;
  background: #16a34a;
  box-shadow: 0 12px 30px -12px rgba(22, 163, 74, 0.7);
}
