/**
 * @file
 * FlowDrop Toolbar Styles.
 *
 * Provides styling for the FlowDrop toolbar icon and tray.
 */

/* Toolbar icon for FlowDrop */
.toolbar-icon-flowdrop::before {
  /* Using a workflow/flow icon character - can be replaced with custom icon */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23565656'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
  background-size: 16px 16px;
}

/* Active state */
.toolbar-icon-flowdrop.is-active::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230066cc'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

/* Tray styling */
.toolbar-tray-flowdrop .toolbar-menu {
  padding: 0.5rem 0;
}

.toolbar-tray-flowdrop .toolbar-menu a {
  padding: 0.5rem 1rem;
  display: block;
  color: #333;
  text-decoration: none;
}

.toolbar-tray-flowdrop .toolbar-menu a:hover,
.toolbar-tray-flowdrop .toolbar-menu a:focus {
  background-color: #f5f5f5;
  color: #0066cc;
}

/* Horizontal orientation */
.toolbar-horizontal .toolbar-tray-flowdrop .toolbar-menu {
  display: flex;
  flex-wrap: wrap;
}

.toolbar-horizontal .toolbar-tray-flowdrop .toolbar-menu li {
  list-style: none;
}

