/**
 * Flatişler İstek Listesi - Styles
 * Professional wishlist plugin styles
 */

/* Wishlist Button */
.fil-wishlist-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
    line-height: 1;
}

.fil-wishlist-button:hover {
    transform: scale(1.1);
}

.fil-wishlist-button:focus {
    outline: none;
}

/* Heart Icon */
.fil-heart-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    color: #ccc;
}

.fil-wishlist-button:hover .fil-heart-icon {
    color: #ff0000;
}

.fil-wishlist-button.fil-active .fil-heart-icon {
    color: #ff0000;
    animation: heartBeat 0.6s ease;
}

/* Icon Positions */
.fil-wishlist-button.fil-icon-left {
    flex-direction: row;
}

.fil-wishlist-button.fil-icon-right {
    flex-direction: row-reverse;
}

/* Button Text */
.fil-wishlist-text {
    font-size: 13px;
    color: #333;
}

/* Single Product Page */
.fil-wishlist-single {
    margin: 10px 0;
    display: inline-block;
}

.fil-wishlist-single .fil-wishlist-button {
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 3px;
    background: #fff;
}

.fil-wishlist-single .fil-wishlist-button:hover {
    border-color: #ff0000;
    background: #fff5f5;
}

/* On Image Overlay */
.fil-wishlist-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
    pointer-events: none;
}

.fil-wishlist-overlay.fil-positioned {
    pointer-events: auto;
}

.fil-wishlist-overlay .fil-wishlist-button {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    pointer-events: auto;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* When text is shown, add class for rectangular style */
.fil-wishlist-overlay .fil-wishlist-button.fil-with-text {
    border-radius: 18px;
    width: auto;
    padding: 8px 12px;
    gap: 6px;
}

.fil-wishlist-overlay .fil-wishlist-button .fil-wishlist-text {
    font-size: 13px;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.fil-wishlist-overlay .fil-wishlist-button:hover {
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Wishlist Page/Shortcode */
.fil-wishlist-container {
    margin: 20px 0;
}

.fil-wishlist-empty {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 5px;
}

.fil-wishlist-empty p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
}

/* Remove button overlay on wishlist page */
.fil-remove-wishlist-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 999;
    pointer-events: auto;
}

.fil-remove-from-wishlist {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.fil-remove-from-wishlist:hover {
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transform: scale(1.1);
}

.fil-remove-from-wishlist .fil-heart-icon.fil-remove-heart {
    width: 20px;
    height: 20px;
    color: #f44336;
    transition: all 0.3s ease;
}

.fil-remove-from-wishlist:hover .fil-heart-icon.fil-remove-heart {
    color: #d32f2f;
}

.fil-wishlist-remove {
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.fil-wishlist-remove:hover {
    color: #ff0000;
}

/* Animation */
@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Notification Toast */
.fil-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    z-index: 9999;
    display: none;
    animation: slideUp 0.3s ease;
}

.fil-notification.fil-show {
    display: block;
}

.fil-notification.fil-success {
    background: #4caf50;
}

.fil-notification.fil-error {
    background: #f44336;
}

@keyframes slideUp {
    from {
        bottom: -50px;
        opacity: 0;
    }
    to {
        bottom: 20px;
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .fil-wishlist-overlay {
        top: 5px;
        right: 5px;
    }

    .fil-wishlist-overlay .fil-wishlist-button {
        width: 32px;
        height: 32px;
    }

    .fil-heart-icon {
        width: 18px;
        height: 18px;
    }
}