/* דף המועדפים */
.favorites-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.favorites-header {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.favorites-header h1 {
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.back-home {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-home:hover {
    background: white;
    color: #d4af37;
    text-decoration: none;
}

.favorites-content {
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.favorite-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.favorite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.favorite-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.favorite-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.favorite-image .no-image {
    color: #6c757d;
    font-size: 14px;
    text-align: center;
}

.favorite-content {
    padding: 20px;
}

.favorite-title {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.favorite-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.favorite-title a:hover {
    color: #d4af37;
}

.favorite-artist {
    color: #6c757d;
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.favorite-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.view-artwork {
    background: #d4af37;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.view-artwork:hover {
    background: #b8941f;
    color: white;
    text-decoration: none;
}

.remove-favorite {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
}

.remove-favorite:hover {
    background: #c82333;
}

.remove-favorite:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.no-favorites {
    text-align: center;
    padding: 60px 20px;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
}

.empty-state h2 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 1.5rem;
}

.empty-state p {
    color: #6c757d;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.empty-state .button {
    background: #d4af37;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.empty-state .button:hover {
    background: #b8941f;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: #6c757d;
    margin: 0;
    font-size: 1.1rem;
}

/* הודעות */
.favorite-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease;
}

.favorite-notification.success {
    background: #28a745;
}

.favorite-notification.error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* רספונסיביות */
@media (max-width: 768px) {
    .favorites-header h1 {
        font-size: 2rem;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .favorite-actions {
        flex-direction: column;
    }
    
    .favorite-notification {
        right: 10px;
        left: 10px;
        text-align: center;
    }
} 