/**
 * CSS Sidebar PUBLIC
 * Fichier: assets/css/public-sidebar.css
 * Utilisé par: templates/public/sidebar.php
 */

/* ============================================
   SIDEBAR - STATISTIQUES
   ============================================ */

.sidebar-stats {
    background: #4A90E2;
    padding: 20px;
    margin-top: 60px;
    border-radius: 8px;
    color: white;
    text-align: center;
    border: 2px solid #B1ACAC;
    font-size: 14px;
    margin-bottom: 20px;
}

.stat-item {
    margin: 8px 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* ============================================
   SIDEBAR - BLOCS MEMBRES
   ============================================ */

.bloc-membres {
    border: 3px solid #E8B8E8;
    border-radius: 8px;
    background-color: #E8B8E8;
    overflow: hidden;
    margin-bottom: 15px;
}

.bloc-titre-rose {
    background-color: #E8B8E8;
    padding: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: white;
    margin: 0;
}

.membre-item {
    padding: 8px 10px 10px 10px;
    background: white;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
}

.membre-item:last-child {
    border-bottom: none;
}

.membre-status {
    font-size: 12px;
    color: green;
    font-weight: bold;
    margin-bottom: 5px;
}

.membre-info {
    flex: 1;
    text-align: left;
}

.membre-pseudo {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.membre-pseudo:hover {
    color: #E95A79;
    text-decoration: underline;
}

.membre-details {
    font-size: 11px;
    color: #666;
    line-height: 1.3;
    margin-top: 3px;
}

.membre-photo {
    width: 55px;
    height: 65px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #E8B8E8;
    transition: transform 0.2s;
}

.membre-photo:hover {
    transform: scale(1.05);
}

.membre-photo-clickable {
    cursor: pointer;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    #Loveanime_Cadre_right {
        width: 100%;
    }
    
    .sidebar-stats {
        margin-top: 20px;
    }
}
