/* smart-share-ai-buttons.css */
/* Barre flottante de partage */
.ssab-wrapper {
  position: relative;
}
.ssab-buttons {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  transition: left .3s, right .3s;
}

/* Position selon options */
.ssab-position-left .ssab-buttons  { left: 0; }
.ssab-position-right .ssab-buttons { right: 0; }

/* Boutons */
.ssab-button {
  display: flex;
  align-items: center;
  margin: 6px;
  padding: 8px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.ssab-button:hover {
  background: #f5f5f5;
  transform: translateX(3px);
}

/* Icônes */
.ssab-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Label texte */
.ssab-label {
  margin-left: 8px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

/* Masquer texte/icône selon options */
.ssab-wrapper[data-show-text="0"] .ssab-label { display: none; }
.ssab-wrapper[data-show-icon="0"] .ssab-button svg { display: none; }

/* Masquer sur mobile */
@media(max-width:767px) {
  .ssab-buttons { display: none; }
}
