﻿.active_proche 
{
	color: #33CCCC !important;
}

.alert-success {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #33cccc;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-size: 16px;
    opacity: 0;
    animation: fadeInOut 1.5s ease forwards;
    z-index: 99999;
}
@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -20px); }
    10% { opacity: 1; transform: translate(-50%, 0); }
    70% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* === SKELETON LOADER === */
.skeleton-container {
    display: none; /* Masqué par défaut */
    flex-direction: row;
    gap: 20px;
    padding: 15px 0;
}
.skeleton-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    max-width: 420px !important;
    min-width: 320px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;flex-shrink: 0; 
    flex-direction: column;
    gap: 12px;
}
.skeleton-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-line {
    height: 12px;
    background: #e0e0e0;
    border-radius: 4px;
    animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-line.short { width: 30%; }
.skeleton-line.medium { width: 60%; }
.skeleton-line.long { width: 90%; }
.skeleton-img {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    background: #e0e0e0;
    animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
    0% { background-color: #e0e0e0; }
    50% { background-color: #f0f0f0; }
    100% { background-color: #e0e0e0; }
}

/* Images Lazy Loading avec transition */
.elikia-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
}
/* Style optionnel pendant le chargement */
.elikia-image:not(.chargé) {
    filter: blur(5px);
    opacity: 0.6;
}
.elikia-image.chargé {
    filter: blur(0);
    opacity: 1;
}

/* Bouton cœur */
.fa-heart { cursor:pointer; font-size:20px; color:#555; transition: transform 0.3s ease, color 0.3s ease; }
.fa-heart.active { color:#e74c3c; transform: scale(1.2); }
.fa-heart:hover { color:#e74c3c; transform: scale(1.1); }

@media screen and (max-width: 460px) 
{
    /* === SKELETON LOADER === */
.skeleton-container {
    display: none; /* Masqué par défaut */
    flex-direction: column;
    gap: 20px;
    padding: 15px 0;
}
.skeleton-card {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    margin-left : 5px !important;
    margin-right : 5px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.skeleton-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-line {
    height: 12px;
    background: #e0e0e0;
    border-radius: 4px;
    animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-line.short { width: 30%; }
.skeleton-line.medium { width: 60%; }
.skeleton-line.long { width: 90%; }
.skeleton-img {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    background: #e0e0e0;
    animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
    0% { background-color: #e0e0e0; }
    50% { background-color: #f0f0f0; }
    100% { background-color: #e0e0e0; }
}
  
}