body {
  font-family: sans-serif;
  background-color: #f4f6f9;
  color: #333;
}

form {
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 400px;
}
input,
select {
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  background-color: white;
}
input:focus,
select:focus {
  border-color: #28a745;
  outline: none;
}
button {
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  border: none;
  font-weight: bold;
  transition: background 0.2s;
}
button[type="submit"] {
  background-color: #28a745;
  color: white;
  width: 100%;
  margin-top: 10px;
}
button[type="submit"]:hover {
  background-color: #218838;
}
.btn-delete {
  background-color: #dc3545;
  color: white;
}
.btn-delete:hover {
  background-color: #bd2130;
}
ul {
  list-style-type: none;
  padding: 0;
  max-width: 600px;
}
li {
  background: white;
  padding: 12px 15px;
  margin-bottom: 8px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===================== Вкладки ===================== */

.worker-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e5e5e5;
  overflow-x: auto;
}

.worker-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 10px 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  border-bottom: 3px solid transparent;
  transition: 0.2s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #28a745;
}

.tab-btn.active {
  color: #28a745;
  border-bottom-color: #28a745;
}

.tab-content {
  display: none;
  animation: fade 0.2s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
