.header-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-icon {
  width: 32px;
  height: 32px;
}

.user-actions {
  margin-left: auto;
}

.filter-bar {
  display: flex;
  gap: 10px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin: 15px 0;
}

.filter-input,
.filter-select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
}

.employee-add-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
}



.employee-table {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
}

.employee-table th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

th {
  background-color: #f5f7fa;
  color: black;
  font-weight: 600;
}

tr {
  transition: background-color 0.2s;
}

tr:hover {
  background-color: #f1f3f5;
}

.employee-row.employee-hidden {
  display: none;
}

.employee-edit-btn,
.employee-delete-btn {
  background-color: transparent;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85em;
  margin-right: 5px;
}


.employee-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.employee-modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.employee-modal-content h2 {
  margin: 0 0 15px;
  font-size: 1.5em;
  color: #333;
}

.employee-modal-content input,
.employee-modal-content select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
}

.employee-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.employee-modal-actions button {
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
}

.employee-modal-actions button[id="employee-save-btn"] {
  background-color: #007bff;
  color: white;
}


.employee-modal-actions button[id="employee-cancel-btn"] {
  background-color: #6c757d;
  color: white;
}

.employee-modal-actions button[id="employee-cancel-btn"]:hover {
  background-color: #5a6268;
}

/* Адаптивность */
@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
  }

  .filter-input,
  .filter-select,
  .employee-add-btn {
    width: 100%;
  }

  table {
    font-size: 0.85em;
  }

  th, td {
    padding: 8px;
  }
}
