
/* Floating Toolbar */
.odt-floating-toolbar {
  position: absolute;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  z-index: 10000;
  min-width: 220px;
  animation: fadeIn 0.2s ease-out;
  overflow: hidden;
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.odt-floating-header {
  background: #f1f5f9;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  cursor: move;
}

.odt-drag-handle {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.odt-floating-actions {
  display: flex;
  gap: 4px;
}

.odt-btn-icon.small {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 2px 5px;
  font-size: 14px;
  border-radius: 4px;
  line-height: 1;
}

.odt-btn-icon.small:hover {
  background: #e2e8f0;
  color: #334155;
}

.odt-floating-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.odt-floating-body .odt-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.odt-floating-body .odt-input.compact {
  font-size: 13px;
  padding: 4px 6px;
  height: 28px;
}

.odt-floating-body .odt-btn.compact {
  padding: 4px;
  height: 28px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.odt-floating-body .odt-btn.compact svg {
  width: 14px;
  height: 14px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
