/* Toolbar flutuante */
.floating-toolbar {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: white;
  border-radius: 50px;
  padding: 8px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
  z-index: 1000;
}

.toolbar-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  background: #f1f1f1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  transition: all 0.2s ease;
}

.toolbar-button:hover {
  background-color: #f8f9fa;
  color: #0d6efd;
}

.toolbar-button.active {
  background-color: #0d6efd;
  color: #fff;
}

/* Tooltip */
.toolbar-button[data-tooltip] {
  position: relative;
}

.toolbar-button .material-icons {
  font-size: 18px;
  max-width: 18px;
  max-height: 18px;
}

.toolbar-button[data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  padding: 4px 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.toolbar-button[data-tooltip]:hover:before {
  opacity: 1;
  visibility: visible;
}

.toolbar-search {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 8px;
}

.toolbar-search input {
  padding: 6px 12px 6px 35px;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  font-size: 13px;
  width: 200px;
  transition: all 0.2s ease;
  background-color: #f8f9fa;
  position: relative;
  z-index: 1;
}

.toolbar-search input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.1);
  background-color: white;
  width: 250px;
}

.toolbar-search input::placeholder {
  color: #adb5bd;
}