/* Beautiful Favorite Button */
.favorite-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 2px solid #ef4444;
    border-radius: 50px;
    background: transparent;
    color: #ef4444;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-decoration: none;
}

.favorite-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.favorite-btn:hover::before {
    width: 300px;
    height: 300px;
}

.favorite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.favorite-btn .heart-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

.favorite-btn:hover .heart-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Active state */
.favorite-btn.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.favorite-btn.active:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.favorite-btn.active::before {
    background: rgba(255, 255, 255, 0.1);
}

.favorite-btn.active .heart-icon {
    animation: heartbeat 0.6s ease-in-out;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
}

/* Not logged in state */
.favorite-btn.not-logged-in {
    border-color: #64748b;
    color: #64748b;
}

.favorite-btn.not-logged-in:hover {
    border-color: #94a3b8;
    color: #94a3b8;
}

/* Button text */
.favorite-btn .btn-text {
    position: relative;
    z-index: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .favorite-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .favorite-btn .btn-text {
        display: none;
    }
    
    .favorite-btn .heart-icon {
        font-size: 24px;
    }
}

/* Toast Notification */
#toast-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
    z-index: 10000;
    display: none;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    min-width: 280px;
}

#toast-notification.show {
    display: flex;
}

#toast-notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
}

#toast-notification .toast-icon {
    font-size: 24px;
}

#toast-notification .toast-message {
    flex: 1;
    font-weight: 500;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

