/* Updated FAB Menu Panel - Fixed on screen */
.fab-menu-wrapper {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem; /* Adjusted to sit at the bottom since no toggle below it */
  z-index: 40;
}

#fab-pill-mob {
  position: fixed;
  bottom: 40px;
  width: 50px;
  height: 50px;
  background-color: #3B5BDB;
  border: 1px solid #3B5BDB;
  text-align: center;
  right: 20px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

.visible {
  visibility: visible;
}

.fab-menu-panel {
  width: 180px;
  background: rgba(30, 41, 59, 0.95);
  border: 2px solid #7297F045;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  color: white;
  transition: all 0.3s ease;
}

/* Header - Smaller font */
.fab-menu-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding-bottom: 8px;
  color: #f8fafc;
}

/* Divider Line */
.fab-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

/* Section Container */
.fab-menu-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Section Title - Smaller font */
.fab-menu-section-title {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 2px 0 4px 0;
  text-transform: capitalize;
}

/* Individual Option Button */
.fab-item {
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
  cursor: pointer;
  border-radius: 6px;
  width: 100%;
  text-align: left;
  transition: background 0.2s;
}

.fab-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Circular Icon Wrapper - Scaled down */
.fab-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fab-icon svg {
  width: 18px;
  height: 18px;
}

/* Design-specific Inner Ring */
.fab-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* Colored States */
.item-green {
  background: #66bb6a;
}
.item-cyan {
  background: #26c6da;
}
.item-yellow {
  background: #ffca28;
}
.item-grey {
  background: #78909c;
}

/* Label Text - Smaller font */
.fab-label {
  font-size: 0.9rem;
  color: #f1f5f9;
  font-weight: 500;
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
  .fab-menu-wrapper {
    right: 1rem;
    bottom: 1rem;
  }

  #fab-pill-mob {
    visibility: visible;
  }

  .fab-menu-panel {
    position: absolute;
    width: 160px;
    padding: 10px;
    right: 0;
    bottom: 4.5rem;
    display: none;
  }

  .fab-menu-panel.visible {
    display: block;
  }

  .fab-label {
    font-size: 0.8rem;
  }
  .fab-icon {
    width: 30px;
    height: 30px;
  }
  .fab-icon svg {
    width: 14px;
    height: 14px;
  }
}
