.payroll-employees-page .filters-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.payroll-employees-page .filters-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.payroll-employees-page .filters-row.second-row {
  justify-content: flex-end;
  align-items: flex-start;
}

.payroll-employees-page .filters-row.second-row .filter-search {
  flex: 0 0 auto;
  min-width: 160px;
  max-width: 200px;
}

.payroll-employees-page .filters-row.second-row .clear-filters-btn {
  flex-shrink: 0;
  margin-left: 8px;
}

.payroll-employees-page .filters-section .date-input-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

.payroll-employees-page .filters-section .date-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

.payroll-employees-page .filters-section .date-input {
  padding: 10px 16px;
  border: none;
  border-radius: 30px;
  background-color: white;
  box-shadow: 0 0 0 2px #f4f4f4;
  font-size: 14px;
  color: #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 42px;
  box-sizing: border-box;
}

.payroll-employees-page .filters-section .date-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #fcd200;
}

.payroll-employees-page .filters-section .date-input:hover {
  box-shadow: 0 0 0 2px #e6e6e6;
}

.payroll-employees-page .filters-section .filter-select {
  flex: 0 0 auto;
  min-width: 160px;
}

@media (max-width: 768px) {
  .payroll-employees-page .filters-section {
    padding: 12px;
    border-radius: 12px;
    gap: 10px;
  }

  .payroll-employees-page .filters-row {
    flex-direction: column;
    gap: 10px;
  }

  .payroll-employees-page .filters-row.second-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .payroll-employees-page .filters-section .date-input-group {
    min-width: auto;
    width: 100%;
    flex-direction: column;
    gap: 4px;
  }

  .payroll-employees-page .filters-section .filter-select {
    min-width: 100%;
  }

  .payroll-employees-page .filters-row.second-row .filter-search {
    min-width: 100%;
    max-width: 100%;
  }

  .payroll-employees-page .filters-row.second-row .clear-filters-btn {
    width: 100%;
    align-self: stretch;
    margin-top: 8px;
  }
}