.lfg-tabs {
  width: 100%;
}

.lfg-tab-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.lfg-tab {
  background: #F4C845;
  border: 4px solid #F4C845;
  border-radius: 60px;
  padding: 12px 24px;
  font-weight: 600;
  color: #16233a;
  box-shadow: 2px 4px 0px 0px #000;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.lfg-tab:hover {
  background: #F4C845;
  border: 4px solid #F4C845;
  box-shadow: 2px 4px 0px 0px #000;
  transform: translateY(-2px);
}

.lfg-tab.active {
  background: #F4C845;
  color: #16233a;
  border: 4px solid #F4C845;
  box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.38) inset, 6px 4px 4px 0px #000;
  transform: translateY(-1px);
}

.lfg-tab:active {
  background: #F4C845;
  border: 4px solid #F4C845;
  box-shadow: none;
  transform: translateY(0);
}

.lfg-tab i,
.lfg-tab svg {
  transition: all 0.3s ease;
}

.lfg-tab-icon-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lfg-tab-icon-vertical i,
.lfg-tab-icon-vertical svg {
  margin-bottom: 4px;
}

.lfg-tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.lfg-tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.lfg-tab-contents {
  position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
  .lfg-tab-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .lfg-tab {
    width: 100%;
    justify-content: center;
  }
}

/* Vertical Layout */
.lfg-tab-buttons[style*="flex-direction: column"] {
  flex-direction: column !important;
}

.lfg-tab-buttons[style*="flex-direction: column"] .lfg-tab {
  width: 100%;
  justify-content: flex-start;
}

/* Icon positioning for vertical layout */
.lfg-tab-buttons[style*="flex-direction: column"] .lfg-tab-icon-vertical {
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
}

.lfg-tab-buttons[style*="flex-direction: column"] .lfg-tab-icon-vertical i,
.lfg-tab-buttons[style*="flex-direction: column"] .lfg-tab-icon-vertical svg {
  margin-bottom: 0;
  margin-right: 8px;
}

/* Focus states for accessibility */
.lfg-tab:focus {
  outline: 2px solid #F4C845;
  outline-offset: 2px;
}

/* Loading state */
.lfg-tab-content.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Animation for tab switching */
@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lfg-tab-content.active {
  animation: tabFadeIn 0.3s ease-out;
}
