/* Global Styles */
body {
    background-color: #f3f4f6;
    /* Lighter grey background for modern feel */
}

/* Card Improvements */
.card {
    border-radius: 0.75rem;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Custom Text Colors that might not be in Bootstrap default */
.text-primary {
    color: #3b82f6 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.text-muted {
    color: #6b7280 !important;
}

/* Custom Badge Colors (Soft backgrounds) */
.bg-indigo-soft {
    background-color: #e0e7ff;
}

.text-indigo {
    color: #4f46e5;
}

.bg-blue-soft {
    background-color: #dbeafe;
}

.text-blue {
    color: #2563eb;
}

.bg-warning-soft {
    background-color: #fef3c7;
}

.text-warning {
    color: #d97706 !important;
}

/* Darker warning for text */

/* Table Styles */
.table thead th {
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.table td {
    font-size: 0.875rem;
}

/* Status Colors (30% transparency / 0.7 opacity) */
.bg-status-new {
    background-color: rgba(108, 117, 125, 0.7) !important;
    /* Grey */
    color: #fff !important;
}

.bg-status-working {
    background-color: rgba(255, 193, 7, 0.7) !important;
    /* Yellow/Warning */
    color: #000 !important;
}

.bg-status-submitted {
    background-color: rgba(25, 135, 84, 0.7) !important;
    /* Green/Success */
    color: #fff !important;
}

.bg-status-lost {
    background-color: rgba(220, 53, 69, 0.7) !important;
    /* Red/Danger */
    color: #fff !important;
}

.bg-status-approved {
    background-color: rgba(13, 110, 253, 0.7) !important;
    /* Blue/Primary */
    color: #fff !important;
}

/* Fixed Height Table Container */
.table-fixed-height {
    max-height: 65vh;
    overflow-y: auto;
    position: relative; /* Context for sticky */
}

/* Sticky Header */
.table-fixed-height thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa; /* Match bg-light */
    box-shadow: 0 1px 2px rgba(0,0,0,0.1); /* Subtle shadow line */
}