/* Floating Controls Styles */
.fc-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10000;
}

.fc-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #374151; /* gray-700 */
  border: 1px solid #e5e7eb; /* gray-200 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.fc-btn:hover {
  transform: scale(1.05);
}

.fc-btn:active {
  transform: scale(0.95);
}

/* Dark mode styles */
[data-theme="dark"] .fc-btn,
.dark .fc-btn {
  background-color: #1e293b; /* slate-800 */
  color: #cbd5e1; /* slate-300 */
  border-color: #334155; /* slate-700 */
}

/* Language Button specific */
.fc-lang-btn {
  flex-direction: column;
  font-size: 10px;
  font-weight: 700;
}

.fc-lang-label {
  font-weight: 600;
  line-height: 1;
}

.fc-lang-label.active {
  color: #0b5d67;
}

[data-theme="dark"] .fc-lang-label.active,
.dark .fc-lang-label.active {
  color: #3cd2e2;
}

.fc-lang-label:not(.active) {
  color: #9ca3af; /* gray-400 */
}

.fc-lang-divider {
  height: 1px;
  width: 16px;
  background-color: #d1d5db; /* gray-300 */
  margin: 2px 0;
}

[data-theme="dark"] .fc-lang-divider,
.dark .fc-lang-divider {
  background-color: #475569; /* slate-600 */
}

/* Theme Button specific */
.fc-icon {
  width: 20px;
  height: 20px;
}

.fc-sun-icon {
  display: block;
}

.fc-moon-icon {
  display: none;
}

[data-theme="dark"] .fc-sun-icon,
.dark .fc-sun-icon {
  display: none;
}

[data-theme="dark"] .fc-moon-icon,
.dark .fc-moon-icon {
  display: block;
}

/* WhatsApp Float Button inside fc-panel */
.wa-float {
  background-color: #25D366 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 24px -4px rgba(37,211,102,0.55), 0 4px 8px rgba(0,0,0,0.12) !important;
  position: relative;
}

.wa-float:hover {
  background-color: #20ba5a !important;
  box-shadow: 0 14px 30px -4px rgba(37,211,102,0.65), 0 6px 10px rgba(0,0,0,0.15) !important;
}

.wa-float:active {
  transform: scale(0.95);
}

.wa-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.wa-float-label {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1e293b;
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

.wa-float-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid #1e293b;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.wa-float:hover .wa-float-label {
  opacity: 1;
}

@media (max-width: 600px) {
  .wa-float-label {
    display: none;
  }
}

