/* Status Indicators */
.status-indicators {
    display: flex;
    gap: 1.5rem;
    padding: 0 1.5rem;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.indicator-dot.perfect {
    background: #10b981;
}

.indicator-dot.issues {
    background: #ef4444;
}

.indicator-dot.missing-quickbooks {
    background: #ef4444;
}

.indicator-dot.quantity-mismatch {
    background: #f59e0b;
}

.indicator-dot.extra-quickbooks {
    background: #a855f7;
}

.indicator-label {
    font-size: 0.9rem;
    color: #64748b;
    white-space: nowrap;
}

.indicator-label span {
    font-weight: 600;
    color: #374151;
}

/* Status Toggles Header */
.status-toggles-header {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-toggle-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.status-toggle-header:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

/* Inactive state colors - white backgrounds with gray text like Load & Analyze button */
.status-toggle-header[data-status="perfect-match"]:not(.active) {
    background: white;
    border-color: #d1d5db;
    color: #6b7280;
}

.status-toggle-header[data-status="missing-quickbooks"]:not(.active) {
    background: white;
    border-color: #d1d5db;
    color: #6b7280;
}

.status-toggle-header[data-status="quantity-mismatch"]:not(.active) {
    background: white;
    border-color: #d1d5db;
    color: #6b7280;
}

.status-toggle-header[data-status="extra-quickbooks"]:not(.active) {
    background: white;
    border-color: #d1d5db;
    color: #6b7280;
}

/* Hover states for inactive buttons */
.status-toggle-header[data-status="perfect-match"]:not(.active):hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #6b7280;
}

.status-toggle-header[data-status="missing-quickbooks"]:not(.active):hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #6b7280;
}

.status-toggle-header[data-status="quantity-mismatch"]:not(.active):hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #6b7280;
}

.status-toggle-header[data-status="extra-quickbooks"]:not(.active):hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #6b7280;
}

/* Button icons */
.status-toggle-header::before {
    content: '';
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.status-toggle-header[data-status="perfect-match"]::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: normal;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    color: white;
    line-height: 1;
    text-align: center;
}

.status-toggle-header[data-status="missing-quickbooks"]::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: normal;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    color: white;
    line-height: 1;
    text-align: center;
}

.status-toggle-header[data-status="quantity-mismatch"]::before {
    content: '!';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: normal;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    color: white;
    line-height: 1;
    text-align: center;
}

.status-toggle-header[data-status="extra-quickbooks"]::before {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: normal;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    color: white;
    line-height: 1;
    text-align: center;
    position: relative;
    top: -1px;
}

/* Inactive state icon colors */
.status-toggle-header[data-status="perfect-match"]:not(.active)::before {
    background: #6b7280;
}

.status-toggle-header[data-status="missing-quickbooks"]:not(.active)::before {
    background: #6b7280;
}

.status-toggle-header[data-status="quantity-mismatch"]:not(.active)::before {
    background: #6b7280;
}

.status-toggle-header[data-status="extra-quickbooks"]:not(.active)::before {
    background: #6b7280;
}

/* Active state icon colors */
.status-toggle-header.active[data-status="perfect-match"]::before {
    background: #059669;
}

.status-toggle-header.active[data-status="missing-quickbooks"]::before {
    background: #dc2626;
}

.status-toggle-header.active[data-status="quantity-mismatch"]::before {
    background: #d97706;
}

.status-toggle-header.active[data-status="extra-quickbooks"]::before {
    background: #7c3aed;
}

.status-toggle-header.active[data-status="perfect-match"] {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #059669;
}

.status-toggle-header.active[data-status="missing-quickbooks"] {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #dc2626;
}

.status-toggle-header.active[data-status="quantity-mismatch"] {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #d97706;
}

.status-toggle-header.active[data-status="extra-quickbooks"] {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    color: #7c3aed;
}

/* Disabled button styles - same as inactive state */
.status-toggle-header.disabled {
    background: white !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.status-toggle-header.disabled::before {
    background: #6b7280 !important;
}

.status-toggle-header.disabled:hover {
    background: white !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
}