* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  margin-bottom: 30px;
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

.stats {
  display: flex;
  gap: 30px;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 8px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-label {
  font-size: 12px;
  color: #666;
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
}

.actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.8;
}

.btn-primary {
  background: #222;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #222;
  border: 1px solid #ddd;
}

.filter-select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
}

.employee-list {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.employee-item {
  display: grid;
  grid-template-columns: 100px 1fr 150px 120px 120px 100px;
  gap: 15px;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  align-items: center;
  transition: background 0.2s;
}

.employee-item:hover {
  background: #f8f8f8;
}

.employee-item:last-child {
  border-bottom: none;
}

.employee-header {
  background: #f0f0f0;
  font-weight: 600;
  font-size: 12px;
  color: #666;
}

.employee-id {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
}

.employee-name {
  font-weight: 500;
}

.employee-dept {
  color: #666;
  font-size: 14px;
}

.status-badge {
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
  text-align: center;
  font-weight: 500;
}

.status-completed {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-pending {
  background: #fff3e0;
  color: #e65100;
}

.completion-date {
  font-size: 14px;
  color: #666;
}

.actions-cell {
  display: flex;
  gap: 8px;
}

.btn-small {
  padding: 5px 12px;
  font-size: 12px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #fff;
  margin: 50px auto;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  position: relative;
  animation: slideDown 0.3s;
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: 300;
  color: #999;
  cursor: pointer;
}

.close:hover {
  color: #222;
}

.modal-content h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Space Mono', monospace;
  margin: 15px 0;
}

@media (max-width: 768px) {
  .stats {
    flex-direction: column;
    gap: 15px;
  }

  .employee-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .employee-header {
    display: none;
  }

  .employee-item > div::before {
    content: attr(data-label);
    font-weight: 600;
    margin-right: 10px;
    color: #666;
    font-size: 12px;
  }

  .actions-cell {
    justify-content: flex-start;
  }
}