/* Estilos para avatares y placeholders */

.user-avatar,
.comment-avatar,
.profile-avatar,
.mobile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-primary, #e5e7eb);
}

.user-avatar-placeholder,
.comment-avatar-placeholder,
.avatar-placeholder,
.mobile-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    border: 2px solid var(--border-primary, #e5e7eb);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    min-width: 40px;
    min-height: 40px;
}

/* Variantes de tamaño */
.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.avatar-lg {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.avatar-xl {
    width: 80px;
    height: 80px;
    font-size: 32px;
}

/* Colores alternativos para diferentes usuarios */
.avatar-placeholder:nth-child(3n+1) {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.avatar-placeholder:nth-child(3n+2) {
    background: linear-gradient(135deg, #10b981, #059669);
}

.avatar-placeholder:nth-child(3n+3) {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Hover effects */
.avatar-placeholder:hover,
.user-avatar-placeholder:hover,
.comment-avatar-placeholder:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Para comentarios específicamente */
.comment-avatar-placeholder {
    width: 36px;
    height: 36px;
    font-size: 12px;
    min-width: 36px;
    min-height: 36px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
}

/* Para el perfil principal */
.profile-avatar-placeholder {
    width: 45px;
    height: 45px;
    font-size: 18px;
}

/* Para móvil */
.mobile-avatar-placeholder {
    width: 35px;
    height: 35px;
    font-size: 14px;
}

/* Para réplicas de comentarios */
.reply-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-primary, #e5e7eb);
}

.reply-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    border: 2px solid var(--border-primary, #e5e7eb);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    min-width: 32px;
    min-height: 32px;
} 