/* GDP ERP - Minimal Custom CSS */

/* Only include what Tailwind can't handle */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Alpine.js transitions */
[x-cloak] {
  display: none !important;
}

/* Task Management Styles */

/* Task Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-completed {
  background-color: #d1fae5;
  color: #065f46;
}

.status-needs_attention {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Task Cards */
.task-card {
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: box-shadow 0.2s ease-in-out;
}

.task-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Task Hierarchy Tree */
.task-tree {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.task-node {
  padding-left: 1rem;
  border-left: 2px solid #e5e7eb;
}

.task-node.level-0 {
  padding-left: 0;
  border-left: none;
  font-weight: 600;
}

.task-node.level-1 {
  padding-left: 1rem;
}

.task-node.level-2 {
  padding-left: 2rem;
  font-size: 0.875rem;
}

/* Tag Styles */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Stat Cards */
.stat-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  padding: 1rem;
}

/* Progress Bars */
.progress-bar {
  width: 100%;
  height: 0.5rem;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: #3b82f6;
  border-radius: 9999px;
  transition: width 0.3s ease-in-out;
}
