/* Base button style shared by both favorite and unfavorite */
/*.lfb-round-btn {
  /*border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 20px;
  color: white;
  padding: 6px;
}*/

/* Floating favorite button */
.lfb-btn {
    /* parent-button styling footer-round-button - in citygameseattle theme buttons.css */
  /*composes: footer-round-button;*/
  background-color: #e6f2ff;
  padding: 6px; 

  /* Floating at bottom center */
  left: 50%;
  transform: translateX(-50%);
}

.lfb-btn:hover {
  /*background-color: #005fcc;*/
  background-color: #cce6ff;
}
.lfb-btn:active {
  /*background-color: #004f75; */
  background-color: #b3d9ff;
}

/* Active state (favorited) */
.lfb-btn.active {
/*  background-color: #ff3b30;*/
  background-color: #ffe4e1;
  color: white;
}
.lfb-btn.active:hover {
  /*background-color: #d32f2f; /* or use #cc2c2c for even darker */
  background-color: #ffccc7;  
}

/* Show only on mobile */
/*@media (min-width: 768px) {
  .lfb-btn {
    display: none;
  }
}*/

/* special alignment for map marker popup ****/
/* Override favorite button styles when inside a popup */
.popup-favorite .lfb-btn {
  position: static;
  margin-top: 5px;
  transform: none;
  display: inline-block;
}

/* Inline unfavorite button — same shape and style as active fav */
.lfb-unfav-btn {
  /*composes: lfb-round-btn;*/
  position: absolute;
  bottom: 8px;
  right: 8px;
  /*background-color: #ff3b30;*/
  background: #f0f0f0;
  z-index: 10;
}

.lfb-unfav-btn:hover {
  /*background-color: #cc2b25;*/
  background: #ddd;
}

/**************** FAVORITES LIST ***************/
  #lfb-favorites-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .lfb-post {
    display: flex;
    align-items: flex-start;
    border: 1px solid #ddd;
    padding: 0.75rem;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    border-radius: 8px;
    background: #fafafa;
    gap: 0.75rem;
  }
  
  .lfb-post img.lfb-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
  }
  
  .lfb-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .lfb-post h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    line-height: 1.2;
  }
  
  .lfb-post p {
    margin: 0;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.3;
  }