/* ============================================
   work_orders.css — 작업지시서 목록 전용 스타일
   원본: mia work-orders.html
   접두사: wo-
   ============================================ */

/* main override */
main:has(.wo-layout) {
  overflow: hidden !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- Main Layout --- */
.wo-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--background);
}

/* --- Toolbar --- */
.wo-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid var(--tint);
}

.wo-toolbar-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
}

.wo-toolbar-title i {
  margin-right: 6px;
}

.wo-stat-chips {
  display: flex;
  gap: 6px;
  margin-left: 12px;
}

.wo-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 600;
  border: 1px solid var(--tint);
  background: white;
}

.wo-search-area {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.wo-search-input {
  width: 200px;
  border: 1px solid var(--tint);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.75rem;
  color: var(--brand);
  outline: none;
  font-family: inherit;
}

/* --- Table Container --- */
.wo-table-container {
  flex: 1;
  padding: 12px 16px;
  overflow: hidden;
}

/* --- Progress Bar --- */
.wo-progress-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--bg-light);
  overflow: hidden;
}

.wo-progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s;
}
