.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background-color: #198754; /* green button */
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.fab-sub {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.fab-sub.show {
  opacity: 1;
  pointer-events: auto;
}

/* Updated sub-buttons with label */
.fab-btn {
  display: flex;
  align-items: center;
  gap: 8px; /* space between icon and text */
  padding: 8px 12px;
  border-radius: 30px;
  background-color: #0d6efd; /* blue sub-buttons */
  color: white;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s, background 0.2s;
  white-space: nowrap; /* keep text in one line */
}

.fab-btn:hover {
  transform: scale(1.05);
  background-color: #0b5ed7;
}

.fab-btn i {
  font-size: 1.2rem; /* icon size */
}

/* Optional: add rotate effect to main FAB when open */
.fab-main.rotate {
  transform: rotate(45deg);
}
