/* /css/components.css */
.tabButton {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem 0.5rem 0;
  cursor: pointer;
  border-radius: 4px;
}
.tabButton:hover {
  background: #0069d9;
}
.tabButton.active {
  background: #0056b3;
}
.tabContent {
  padding: 1rem 0;
}
.cards-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cards-sort, .cards-toggle {
  display: flex;
  align-items: center;
}
.cards-sort label {
  margin-right: 0.5rem;
}
.advanced-toggle {
  display: flex;
  align-items: center;
}
.advanced-toggle .tooltip {
  position: relative;
  display: inline-block;
  margin-right: 0.5rem;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 0.5rem;
  position: absolute;
  z-index: 2000;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
#eventCards > div {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
#eventCards > div:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.expand-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: #007bff;
  color: #fff;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
}
.card-desc {
  max-height: 3rem;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.card-desc.expanded {
  max-height: 100vh;
}
#popupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
#popupOverlay.active {
  display: flex;
}
#popupCard {
  background: white;
  padding: 2em;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  animation: scaleIn 0.3s;
  position: relative;
  max-height: 80vh;
  height: auto;
  overflow-y: auto;
  z-index: 2000;
}
#closePopup {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
#map {   
  height: 60vh;
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
  
#blogFeed {   
  height: 60vh;
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.fc-event {
  cursor: pointer;
  transition: transform 0.1s ease;
}
.fc-event:hover {
  transform: scale(1.03);
  z-index: 9999;
}

.fc-popover {
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.75rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 200px;
}
.fc-popover h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.fc-popover p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
}
.fc-popover a {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}