/* Wishlist Feature Styles */

/* Wishlist Button on Property Cards */
.wishlist-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wishlist-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wishlist-btn i {
    font-size: 1.3rem;
    color: #999;
    transition: all 0.3s ease;
}

.wishlist-btn:hover i {
    color: #e74a3b;
}

.wishlist-btn.active {
    background: #e74a3b;
}

.wishlist-btn.active i {
    color: white;
    animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.2);
    }
}

/* Wishlist Counter Badge */
.wishlist-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74a3b;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    display: none;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Navigation Wishlist Link */
.nav-item a[href="wishlist.php"] {
    position: relative;
}

/* Wishlist Notification */
.wishlist-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
}

.wishlist-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.wishlist-notification-success {
    border-left: 4px solid #1cc88a;
}

.wishlist-notification-success i {
    color: #1cc88a;
}

.wishlist-notification-warning {
    border-left: 4px solid #f6c23e;
}

.wishlist-notification-warning i {
    color: #f6c23e;
}

.wishlist-notification-info {
    border-left: 4px solid #36b9cc;
}

.wishlist-notification-info i {
    color: #36b9cc;
}

.wishlist-notification-danger {
    border-left: 4px solid #e74a3b;
}

.wishlist-notification-danger i {
    color: #e74a3b;
}

.wishlist-notification i {
    font-size: 1.2rem;
}

/* Wishlist Page Styles */
.wishlist-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    color: white;
    padding: 3rem 0;
}

.wishlist-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.wishlist-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.wishlist-stat i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.empty-wishlist {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.empty-wishlist i {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    opacity: 0.5;
}

.empty-wishlist h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Property Card Animations for Removal */
[data-property-id] {
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wishlist-notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .wishlist-btn {
        width: 40px;
        height: 40px;
    }
    
    .wishlist-btn i {
        font-size: 1.1rem;
    }
    
    .wishlist-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Integration with Property Cards */
.property-card {
    position: relative;
}

.property-image {
    position: relative;
}

/* Wishlist Button on Property Details Page */
.property-details-wishlist-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.property-details-wishlist-btn:hover {
    background: white;
    transform: scale(1.1);
}

.property-details-wishlist-btn i {
    font-size: 1.5rem;
    color: #999;
    transition: all 0.3s ease;
}

.property-details-wishlist-btn:hover i {
    color: #e74a3b;
}

.property-details-wishlist-btn.active {
    background: #e74a3b;
}

.property-details-wishlist-btn.active i {
    color: white;
}
