/* Tour Likes Widget Styling - Matches Cyborg Theme */

.tour-likes-widget {
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  text-align: center;
}

.like-button-wrapper {
  display: inline-block;
  text-align: center;
}

.like-button {
  background: transparent;
  border: 2px solid #666;
  color: #aaa;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.like-button:hover:not(:disabled) {
  border-color: #d9534f;
  color: #d9534f;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(217, 83, 79, 0.3);
}

.like-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.like-button.liked {
  background: #d9534f;
  border-color: #d9534f;
  color: white;
}

.like-button.liked .heart-icon {
  fill: white;
}

.heart-icon {
  width: 24px;
  height: 24px;
  fill: #666;
  transition: fill 0.3s ease, transform 0.3s ease;
}

.like-button:hover:not(:disabled) .heart-icon {
  fill: #d9534f;
  transform: scale(1.1);
}

.like-count {
  font-weight: bold;
  font-size: 18px;
  min-width: 20px;
  display: inline-block;
}

.like-text {
  margin-top: 10px;
  color: #888;
  font-size: 14px;
}

.like-action {
  font-style: italic;
}

/* Animation when liking */
@keyframes heart-burst {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.3);
  }
  40% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.1);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.like-button.liked-animation .heart-icon {
  animation: heart-burst 0.6s ease-out;
}

/* Ripple effect */
.like-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(217, 83, 79, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.like-button.liked-animation::before {
  width: 300px;
  height: 300px;
  opacity: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .tour-likes-widget {
    margin: 30px 0;
    padding: 15px 0;
  }
  
  .like-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .heart-icon {
    width: 20px;
    height: 20px;
  }
  
  .like-count {
    font-size: 16px;
  }
}

/* Dark mode compatibility */
@media (prefers-color-scheme: dark) {
  .tour-likes-widget {
    border-color: #555;
  }
  
  .like-button {
    border-color: #777;
    color: #bbb;
  }
  
  .heart-icon {
    fill: #777;
  }
  
  .like-text {
    color: #999;
  }
}